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

Impossible to park invoice with batch input

former_member474499
Participant
0 Likes
534

Hello,

When i want to park an invoice with more than 4 items using Batch input (Transaction FV60), the invoice is not created.

At first, i thought that it was a problem with pagination that's why i've added this code :

Loop AT it_items.

    ADD 1 TO l_nb.

    IF l_nb = 5.

      SUBTRACT 4 FROM l_nb.

      PERFORM f_bdc__dynpro      USING 'SAPMF05A'      '1100'.

      PERFORM f_bdc__field       USING 'BDC_OKCODE'   '=P+'.

    ENDIF.

-------------------------

Endloop.

But this solution didn't solve the issue.

Thanks for your replay.

Hello,

When i want to park an invoice with more than 4 items using Batch input (Transaction FV60), the invoice is not created.

At first, i thought that it was a problem with pagination that's why i've added this code :

Loop AT it_items.

    ADD 1 TO l_nb.

    IF l_nb = 5.

      SUBTRACT 4 FROM l_nb.

      PERFORM f_bdc__dynpro      USING 'SAPMF05A'      '1100'.

      PERFORM f_bdc__field       USING 'BDC_OKCODE'   '=P+'.

    ENDIF.

-------------------------

Endloop.

But this solution didn't solve the issue.

Thanks for your replay.

1 REPLY 1
Read only

Former Member
0 Likes
411

Hi,

I am assuming =P+ is for page down. Try the BDC with insert records button on the first line and enter data in reverse order. 

Regards,

Shravan