when do you need to create an internal table with header
line ?and with out a header line?
Answer Posted / mahender
in this question we can proceed like this.
with header line.
data:itab like lfa1 occurs o with header line.
itab:internal table body.
with out header line:
data:begin of fs,
field1 like lfa1-field1,
end of fs.
these are syntaxes for both...but if u want to extract all
the fields from predefined table or exhisting table.. very
complex to write all field names in internal table
declaration.so that time use with header line syntax.
fields are very few..go for with out header
line..performance wise with out header line is better.
| Is This Answer Correct ? | 7 Yes | 6 No |
Post New Answer View All Answers
How do you write transaction programs in sap?
Abstract class and interface, multiple inheritance, live example
What should be the approach for writing a bdc program? : abap bdc
What are two different ways to add fields to sap tables?
i have cleared my technical round and manager round in cts but they told me u will get a call with in couple of days now i dont know about my status
Explain the session method? : abap bdc
What are differences between at selection-screen and at selection-screen output?
Can we access static attribute from instance method
difference between Valuation type and valuation category?
What are the different types of views and their definition?
How to get that a secondary index is attached to a select query?
How do you set up background jobs in sap? What are the steps?
What are pool tables?
Explain the table, which contain the details of all the name of the programs and forms?
What are indexes? : sap abap data dictionary