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
What is img? : sap abap hr
Can you create a table with fields not referring to data elements? : abap data dictionary
What is abap dictionary or data dictionary? What is the transaction to access abap dictionary? : abap data dictionary
what is the difference between Blocked ALV and interactive ALV?
What two statements are required in an abap program to output an icon using a write statement?
How many types of views are there ?
What is page window?
How you attach search help to data element? : sap abap data dictionary
While using extract datasets it is required to have a special workarea for interface. State true or false. : abap modularization
What is an abap data dictionary? : abap data dictionary
send coding to write a program to create customer quotation using BAPI 'BAPI_QUOTATION_CREATEFROMDATA2/BAPI_QUOTATION_CREATEFR OMDATA'
how to use the xk01 in realtime.can it apply the others. how it it will goes to first page and next page.
Define database layer?
What is synchronous update?
WHAT ARE THE MANDATORY FIELDS TO BE FILLED FROM TABLES BAPIITEMIN, BAPIPARTNR, BAPIITEMEX, BAPICUCFG, BAPICUINS, BAPICUPRT, AND BAPICUVAL IN BAPI 'BAPI_QUOTATION_CREATEFROMDATA