difference between the workarea and headerline.plz tell me
the answer
Answer Posted / jyo
Header Line
While adding or retrieving records to or from internal table
we have to keep the record temporarily.
The area where this record is kept is called as work area
for the internal table. The area must have the same
structure as that of internal table. An internal table
consists of a body and an optional header line.
Header line is a implicit work area for the internal table.
It depends on how the internal table is declared that the
itab will have the header line or not.
The header line is a field string with the same structure as
a row of the body, but it can only hold a single row.
e.g.
data: begin of itab occurs 10,
ab type c,
cd type i,
end of itab. " this table will have the header line.
Work Area
Work area is of the same structure like internal table
referred, it will also possess only one record, but this is
declared explicitly, to perform calculations and other
manipulations.
Work area is like a paper and pencil concept, where the
calculations and manipulations will be done and will be
erased after the execution.
e.g.
data: wa_itab like itab. " explicit work area for itab
data: itab1 like itab occurs 10. " table is without header line.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
PLEASE HELP ANYONE ON THIS ISSUE,is there any problem with this function module :RHPQ_T77BX_ADD_QUALIS_OF_DPLAN. IT IS TRIGGERING BEFORE COMPLETION OF THE DEVELOPMENT PLAN but it has to trigger after compltion of development plan..this issue raised in my project..so reply urgently..thanks in advance..
Which function modules can be used to transfer the data using bdc programming? : abap bdc
Can you show multiple alvs on a single screen?
What are conditional chain statement?
what is bapi,badi,bdc,ale idocs?
How to write a code in tab control? : abap bdc
What is the max no of match code id’s that can be defined for one match code object?
Can we make use of flow logic control key words in abap/4 and vice-versa?
Explain about the tables exists in a data dictionary and what are they? : abap data dictionary
Fallback class
What are the uses of the information in the data dictionary? : abap data dictionary
How do you send files to the legacy systems from SAP and vice versa? How does one know that the legacy files have come on to the SAP server you are working on?
What is buffering allowed but switched off?
Do we have to migrate all sapscript forms to smart forms?
What is direct input method ?