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 the different window types in sapscript?
Explain the difference between domain and data element? What are aggregate object?
What is page window?
What is buffering allowed but switched off?
I have 3 transactions,where the output of one transaction is input of another and output of 2nd transaction is input of 3rd transaction.i have one flat file with all data for the 3 transaction.if the 3rd transaction failed can we rollback the remaining 2 transactions or not.Is this possible in BDC,How/
How do you find the tables to report from when the user just tell you the transaction he uses? And all the underlying data is from SAP structures?
What is logical database? : abap hr
Define abap/4 layer?
There is 1 person but it’s displaying that this person cannot be booked. He is not available for the business event. Can you tell me where is it going wrong? What can be the reasons? : sap abap hr
What are the various events associated with screen programming?
What are the advantages of logical databases?
what are the critical issues u face in ur project?
What are the main uses of the primary key?
How do you do bdc for a table control? : abap bdc
How can we use multiple transactions by using bdc_insert? : abap bdc