cancel
Showing results for 
Search instead for 
Did you mean: 

How to loop the records in bdc for header data?

Former Member
0 Kudos

Hi all,

I am using CJ01 txn code for bdc programming and in that i recorded the sequence and using the same in my program. The problem is with the header data, i am not able to divide header data and item data seperately. its completely taking into ine internal table and all records are updated in the same project id, where as there are n no of records with different line items. Any help?

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hello Nagesh,

If you see recording you will observe each Screen number and OK code is recorded in separate block sequence. Recorded each screen you can cross check from the STATUS option of that transaction. You can have separate files for header and item files. This way you have identified header and item fields from transaction and files. Now do the read files and loop at header data internal table and corresponding item data.

Thanks,

Nishikant

Former Member
0 Kudos

Hello Nagesh,

Can you please give more info how the files and internal tables used.

Thank you,

Nishikant.

Edited by: Nishikant Kumbhar on Dec 23, 2008 3:45 PM