Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

How do you write transaction programs in sap?

1011


Abstract class and interface, multiple inheritance, live example

1281


What should be the approach for writing a bdc program? : abap bdc

1059


What are two different ways to add fields to sap tables?

967


i have cleared my technical round and manager round in cts but they told me u will get a call with in couple of days now i dont know about my status

8940


Explain the session method? : abap bdc

1086


What are differences between at selection-screen and at selection-screen output?

1290


Can we access static attribute from instance method

1429


difference between Valuation type and valuation category?

2406


What are the different types of views and their definition?

1034


How to get that a secondary index is attached to a select query?

1303


How do you set up background jobs in sap? What are the steps?

946


What are pool tables?

1039


Explain the table, which contain the details of all the name of the programs and forms?

905


What are indexes? : sap abap data dictionary

1036