06-19-2008 6:15 AM
All stock transfer order updates, generating deliveries and picking and post good issues(PGI) are done via BDC processing. That is we have BDC for tcodes: me22, ye02 and vl02.
The issue is the deliveries are not picked and te PGI is completed. we have to use COMMIT WORK AND WAIT statement after every BDC processing.
There is a form ' insert-transaction using tcode '
This form calls BDC_OPEN GROUP, BDCINSERT and BDC_CLOSE_GROUP.
So we write this COMMIT AND WAIT statement after call transaction <tcode>( eg call transaction me22) every time or just after BDC_CLOSE _GROUP in the form.
06-19-2008 6:24 AM
Hi,
you the call of BDC inside a loop and set the COMMIT WORK AND WAIT for the endloop.
loop ...
bcd-processing.
COMMIT WORK AND WAIT
endloop
Regards
Nicole
06-19-2008 6:33 AM
Hi,
BDC session cannot lock any tables (WAIT is not needed and this will not solve your problem), we can accept if you are using any BAPI. There is something wrong in the code which is does not pick the deliveries?
Regards,
Prabhu Rajesh