‎2008 Oct 29 9:00 AM
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.
‎2008 Oct 29 9:06 AM
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@
‎2008 Oct 29 9:02 AM
Hi,
For that table control method is available in bdc method just check it out.,.,
Thanks,
Thiru. R
‎2008 Oct 29 9:06 AM
Hi
With the search term Table Control in BDC, search in SCN..you will get lot of results....
Regards,
Vishwa.
‎2008 Oct 29 9:06 AM
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@
‎2008 Oct 29 9:37 AM
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.