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 are different data types in abap/4?
How do you set up background jobs in sap? What are the steps? What are the events driven batch jobs?
What is the process to enhance the Infotype
while implementing badi what are the tables u find??
Explain about sap fico testing and the tools used? : abap bdc
What is match code? : sap abap hr
What is meant by read lock? : sap abap data dictionary
What is a type-pool?
What are advantages and disadvantages of logical data base
What is the difference between data elements and domains? : abap data dictionary
How do you validate the selection criteria of a report? And how do you display initialvalues in a selection screen?
Work most on which module: name a few tables?
Where do you code the hide statement?
how to Implement a BADI in which it restricts the access when purchase order is created against contract using definition ME_PURCHDOC_POSTED. please tell me the answers if any one knows. thanks in advance. :ravikiran
What two statements are required in an abap program to output an icon using a written statement?