when do you need to create an internal table with header
line ?and with out a header line?
Answers were Sorted based on User's Feedback
Answer / siddharth samal
IF YOU CREATE WITH HEADER LINE THEN YOU NEED NOT HAVE TO
CREATE A WORK AREA EXPLICTLY.
IF YOU WANT TO CREATE A WORK AREA THEN TWITH HEADER LINE IS
NOT AT ALL REQUIRED.
CHOICE IS YOURS.
Is This Answer Correct ? | 15 Yes | 4 No |
Answer / 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 |
can any one can give me exectly the TABLES key word?
What are the field and chain statements?
What are the data types of the external layer?
what is partner profiles?
How are the date abd time field values stored in sap?
How to work on TCODE SE16?
what happens if i use commit in the bdc coding
Explain the advantages of abap query tool?
What does nw 7.4 sp 05/nw 7.5 sp 02 offers in abap?
will the messages in the call tr. Will be stored in the database?
what is view?different types of views?
What is the difference between Collect statement and Append Statement?
2 Answers Accenture, Deloitte, Maventic, TCS,