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
Which function modules can be used to transfer the data using bdc programming? : abap bdc
Can a constructor be declared private? If yes then in which scenario?
What is the function of a domain?
What kind of deliverables you have on a day to day basis?
How do you find out who has transported a transport request?
Why do we use abstract class
How to split one Invoice into Multiple ( Step by Step)?
What is tcode se16. For what is it used. Explain briefly?
How is time management and payroll is integrated? : sap abap hr
what are the main technical differences between oracle and sap? it would be more helpful to me if get this answer...
what is sap scriptview ?
Why do we use types statement in abap programming?
How many tables are there in sap?
What are the two statements which are required in an abap program to output an icon using a write statement?
Define batch input session?