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

Posting multiple line item FB01 using BDC

DVetrivel
Explorer
0 Likes
1,807

Dear All,

I am trying to post document with multiple line item using BDC, Recording already done. i have issue with when loop line item it wont post multiple line item.

below is my recording.

Its quit urent can any one help to resolve this issue.

fb01-posting-with-multiple-line-item-usng-bdc.txt

Dear All,

I am trying to post document with multiple line item using BDC, Recording already done. i have issue with when loop line item it wont post multiple line item.

below is my recording.

Its quit urent can any one help to resolve this issue.

fb01-posting-with-multiple-line-item-usng-bdc.txt

3 REPLIES 3
Read only

Sandra_Rossi
Active Contributor
0 Likes
1,571

Run it screen by screen and tell us what the issue is...

Read only

DVetrivel
Explorer
0 Likes
1,571

sandra.rossi

Thanks for your response. since i am passing multiple value for posting document for single document using BDC recording i have issue with keep my header data as static and line item as dynamic while passing multiple line item in BDC data some where i am missing for posting key '50' one first line item. other line item looks good in session log. below is my code and screen error.

Thanks

Vetrivel

Read only

FredericGirod
Active Contributor
0 Likes
1,571

As far I remember BDC on FB01, you have to manage in your loop :

- The amount of the previous item (if there is a previous item)

- The next item with account.

So in one screen you have to manage two differents informations.

And what I mean in one screen, is do not validate the amont with BDC_OKCODE =ENTE if you do not have specify the next account

(and forget the BDC_CURSOR)