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 |
How do you delete duplicate records from internal table?
Can we create a data element without domain?
i have a requirement that design window in layout of smartforms but when we print smartforms window should not be printed?
What is BAPI ? & its used & functionality.
What are field groups?
Does SAP has a GUI screen painter or not? If yes what operating systems is it available on? What is the other type of screen painter called?
How do you write a function module in sap?
Suppose there is a secondary index on 4 non-key fields A,B,C & D. There are 3 select queries :- a) one on basis of A, B, C , D b) Second on basis of A, B, C c) Third on basis of D, C,B, A In which all situations , the above secondary index will be used?
What are the events in ABAP language?
what is the print program for smartforms .pls give me one example .
Is there any BAPI to retrieve list of customers and their sales areas i.e., Cust No, Distr Channel and Division for all the customers.
how many records are updated from a flatfile to sap database in one shot?