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
How can you find the field/data underlying a transaction?
What is the syntex used to call a screen as dialog box (pop up)?
why particularly lock object name starts with EZ OR EY?
What is the tcode to create indexes?
What are the different types of parameters?
What is the difference between a structure and an append structure?
Can we reuse a userexit?
What are the different types of view?
What is the difference between internal tables and extract datasets? : abap modularization
What are the page windows?
Explain what is an rdbms?
Is it possible to bring select option in module pool screens?
where are the passwords for ITS stores?
How to transfer the objects? Have to transferred any objects?
Explain read dataset in sap abap?