difference between the workarea and headerline.plz tell me
the answer
Answer Posted / rakesh akula
internal table with header line contains header and body.
any record which is to inserted into the internal table
body passes to header line first then it is appended or we
can say pushed to body of internal table. The header and
body has the same name.
Suppose we have a internal table having fields NAME, AGE.
and our internal table name is ITAB.
itab-name = 'Rakesh'.
itab-age = '26'.
Append itab to itab. (" appends headerline ITAB to Body IT")
or we can use :- append itab. (both the above code works
same).
whereas in workarea it also works similarly as a header
line.
only difference is that its a headerline which is declared
explicitly and it is not attached with an internal table .
to append the work area containining a singel record into
internal table without header line :-
wa-name = 'Rakesh'.
wa-age = '26'.
Append Wa to ITAB.
I suppose this information will clear doubts .
| Is This Answer Correct ? | 25 Yes | 0 No |
Post New Answer View All Answers
What is macro? : abap hr
10) How to get Item Header in Sales Order?
What are the different message types available in the abap/4 ?
Explain the difference between tables and structures?
What is synchronous update?
In se11 -->Tech. settings --> Data class. If I save table as Mater data OR Transaction data, what effect will it has for 'Storage' in Database after activation. or In Database how it will store in both the cases.
What are the types of data types in the sap abap?
Define infotype ? : abap hr
Explain the sequences of event block?
What is the difference between pnp and pnpce? : abap hr
Does the table can have multiple foreign keys?
When to use logical database?
What is alv programming in abap?
Specify the types of data dictionary objects.
Which infotype records can not be deleted ? : abap hr