2012 Jul 02 3:40 PM
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.
2012 Jul 02 4:12 PM
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