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

FB01 BDC with multiple line items using call transaction method

Former Member
0 Likes
1,346

Hi every body.

I need to perform fb01 bdc using calltransaction method.Can any one let me know how to handle multiple line items in fb01.If possible please provide me the sample code for handling multiple line items in fb01 bdc using call transaction method.

Thanks in advance.

Kind Regards,

sami.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
986

Hi Sami,

Just repeat the item details in the excel or whatever you can run the BDC. Make your EXCEL as below

AAAA BBBB CCCC DDDD

1 as sd df

1 sd df gh

Here one will be my header data and all others will be my item data.

Logic that you have to under stand here is AAAA is a field of primary key where it wont be repeating again so once your first record is saved, again the loop starts but this time it will read only item details and store since header information (AAAA-1) is already stored.

Cheers!!

VEnk@

4 REPLIES 4
Read only

Former Member
0 Likes
986

Hi,

For that table control method is available in bdc method just check it out.,.,

Thanks,

Thiru. R

Read only

Former Member
0 Likes
986

Hi

With the search term Table Control in BDC, search in SCN..you will get lot of results....

Regards,

Vishwa.

Read only

Former Member
0 Likes
987

Hi Sami,

Just repeat the item details in the excel or whatever you can run the BDC. Make your EXCEL as below

AAAA BBBB CCCC DDDD

1 as sd df

1 sd df gh

Here one will be my header data and all others will be my item data.

Logic that you have to under stand here is AAAA is a field of primary key where it wont be repeating again so once your first record is saved, again the loop starts but this time it will read only item details and store since header information (AAAA-1) is already stored.

Cheers!!

VEnk@

Read only

0 Likes
986

Hi Venkat Reddy.

Thanks for quick turn around. Can you pls provide me the sample code for posting the multiple line items in case of fb01 bdc (call tranaction method).

Kind Regards,

sami.