Skip to Content
0
Former Member
Apr 15, 2011 at 03:49 PM

BAPI_TRANSACTION_COMMIT with WAIT = 'X' does not work. Any suggestions?

2136 Views

1) 'BAPI_PRODORD_CREATE'

2) CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'

EXPORTING

wait = 'X'.

3) BAPI_PRODORD_CHECK_MAT_AVAIL

Sometimes it works fine, other times the BAPI_PRODORD_CHECK_MAT_AVAIL passes an error that says the "Order does not exist."

I tried a "Wait up to 10 seconds". That makes the processing go extremely slow and even that doesn't make it work 100%.

Any suggestions?