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 |
Waht is "READ TABLE" command?? Whats the use of it?? Whats the syntax of the same?
what is the BAPI to get list of quotations for a customer? what is the BAPI to view the details of a quotation?
How you attach search help to data element? : sap abap data dictionary
What is the difference between open_form and close_form?
If u use US Database server? How can access the client?
What are the payroll related infotypes? : abap hr
1 must be expert in JAVA to learn SAP-ABAP?
How to transfer legacy data into base tables by scheduling a time frame using bdc?
Differentiate between ooabap and abap?
how can we validate select-option ,,for high and low value , without using internal table..
What is the significance of main window in a page, what are the types of the window?
What do you mean by pooled tables in sap abap? Also explain what do you mean by table pool? : abap data dictionary