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

bdcheaderand item

Former Member
0 Likes
456

hi experts,

i have one doubt on bdc's. if we want to transfer item data and header data ato a table .how can we transfer.can we use any special type of programming ? explaine details.

thanks in advance.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
434

no need...loop at table...

at new <key field>

populate header fields.

endat.

populate item details.

endloop.

So, for every new header, it fills only header data & then fills all the itm data & so..on

before that sort the internal table.

3 REPLIES 3
Read only

Former Member
0 Likes
435

no need...loop at table...

at new <key field>

populate header fields.

endat.

populate item details.

endloop.

So, for every new header, it fills only header data & then fills all the itm data & so..on

before that sort the internal table.

Read only

Former Member
0 Likes
434

hi,

handling of header and item data in bdc is a common requirement

if we have a 2 different flat files one for header and one for item

there should be a common field in both the files on order to match the records

for eg in header file the record of 100 is single record ,but in item file it may contain several item records of 100 records.

while programing in loop we have to see that for each header record we have to loop for items belonging to same header record.

regards

srinivas

Read only

Former Member
0 Likes
434

Hi,

loop at header.

populate BDC header data

loop at item where matnr = header-item.

populate BDC item data

endloop.

endloop.

REgards

amole