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
If i wont like to change the standard print program where i copied standard script to customer namespace,in this case is it possible to retreive the data if u connect the script with standard program.if yes how?if no why? Is it possible to print the logo in first page only,where the form consists of 10 pages.How can u do this? How can u set a table format where it cosists of fields like cust no, custname, amount ...in a script? How do u know that the particular BADI is suitable for the existed report.How do u findout this?When do u opt for BADI OR USEREXIT?did functional people tell u to adopt BADI or USEREXIT? What is the difference between SY-INDEX & SY-TABIX ? I have a report with fields Status,time & date. the contents it consists are Status Time Date AAA 01:20:15 05-06-10 AAA 11:02:32 O3-06-10 AAA 23:11:00 05-06-10 AAA 09:14:46 05-06-10 HOW DO U WRITE A CODE TO DISLAY A ROW WHICH WAS RECENTLY EXECUTED?( for this question it should display AAA 23:11:00 05-06-10 AS Output)
Explain how to write a bdc - how do you go about it?
What is the different between abap and ooabap? Why do we use ooabap?
What is cts and what do you know about it? : abap hr
What is the length of function code at user-command?
What are the field and chain statements?
What is view proxy in abap?
What is the use of abap data dictionary? : abap data dictionary
What is open sql?
Hi every one ! You people are doing a great job here , Im going to attend Tata Technologies interivew on this sunday,Can anyone who has already attended this company interivew or other companies interivews in abap pls share ur experience with me and help me to get into job my id ushareddyabap@gmail.com. Thankyou verymcuh
What are the steps in a bdc session? : abap bdc
Mention the various databases integrities?
What is the difference between sy-tabix and sy-index? Where it is used?
What are the objects of the abap dictionary or what types of objects can be created in the abap dictionary? : abap data dictionary
How many tables are there in sap?