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
ABAP : Classical reports events name
Explain get pernr concept when we use logical data base? : abap hr
Difference between stand alone CRM and back-end CRM
Is sap xi intended to replace ale?
What are the uses of table pool or table cluster.
How to convert normal function module to bapi?
What is a sequence of event-triggered in report?
What are the basic functions of database utility?
What is the different between abap and ooabap? Why do we use ooabap?
What is human resource information systems (chris)? : sap abap hr
How to get that a secondary index is attached to a select query?
What are the basic objects of the data dictionary?
How is conversion of data types done between abap/4 & external level?
What are the difference between pool tables and transparent tables?
Exception handling and how does it transfer from called method to calling method?