Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

header data and item data

Former Member
0 Likes
1,777

hello all,

i am a novice in ABAP. in tables can someone tell me what is header data, item data. how do u recognise the tables from their name? like someone told me that if the table name start with B the table is related to FICO and if it ends with K it is header data. can some one give me an in-depth explanation of how to identify these and what actually are these?

thanx in advance.

3 REPLIES 3
Read only

Former Member
0 Likes
1,080

For every doument, you will have a header table, which stores the common information for that document and then you will have item table, which will store the details of the individual lines of the document.

Example : Details of the customer who is purchasing will be stored at header level of the purchase order (EKKO). The details of the individual line items will be stored in the item details (EKPO)

Regarding the table details, the following document should help you.

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e944e133-0b01-0010-caa2-be2cb240...

Regards,

Ravi

Note - Please mark all the helpful answers

Read only

Former Member
0 Likes
1,080

HI,

While adding or retrieving records to / from internal table we have to keep the record temporarily.

The area where this record is kept is called as work area for the internal table. The area must have the same structure as that of internal table. An internal table consists of a body and an optional header line.

Header line is a implicit work area for the internal table. It depends on how the internal table is declared that the itab will have the header line or not.

e.g.

data: begin of itab occurs 10,

ab type c,

cd type i,

end of itab. " this table will have the header line.

data: wa_itab like itab. " explicit work area for itab

data: itab1 like itab occurs 10. " table is without header line.

The header line is a field string with the same structure as a row of the body, but it can only hold a single row.

It is a buffer used to hold each record before it is added or each record as it is retrieved from the internal table. It is the default work area for the internal table

1) The difference between

whih header line and with out heater line of internal table.

ex:-

a) Data : itab like mara occurs 0 with header line.

b) Data: itab like mara occurs 0.

-While adding or retrieving records to / from internal table we have to keep the record temporarily.

-The area where this record is kept is called as work area for the internal table.

-The area must have the same structure as that of internal table. An internal table consists of a body and an optional header line.

-Header line is a implicit work area for the internal table. It depends on how the internal table is declared that the itab will have the header line or not.

a) Data : itab like mara occurs 0 with header line.

table is with header line

b) Data: itab like mara occurs 0.

table is without header line

Regards,

Laxmi.

Read only

0 Likes
1,080

mam,

i need info of hewader data of the database tables . may be u mistook it for the header line of the internal table.

anyway thank you!