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 a filed occur in several field groups?
In interactive reporting, suppose i go to N'th list from basic list(primary data) & i wanna come back directly to basic list. So how can i achieve this without using ESC or back button?? Is it possible using set screen 0??
What is a persistent class?
What is the difference between occurs 1 and occurs 2
A field containing currency amounts (data type curr) must be assigned to a reference table and a reference field. Explain.? : abap data dictionary
What do you do with errors in BDC batch sessions?
In the user exits,how we can know that which field you are changing.Could any tell me what are the steps required
How to generate ABAP report ? requirement is like this... current Ratio and quick ratio and return on capital employed and debt equity ratio and employee turn over and gross profit ratio.. can u please prepare some function spec based on this requirement ..... can u send reply asap.
Is main window mandatory in smartforms?
what is OSS notes..what it contains?
I have two applications one is 'cov letter' and Purchase order.how will you process these forms in your driver program and tell me the sequence of the FM?
What are the value tables?