‎2008 Nov 06 6:18 PM
Hey all
I am using bapi 'BAPI_REQUISITION_CHANGE' to change the the data in EBAN.
then on the successfull execution of the above bapi, i am using an sql query to change one customer field in eban.
the Bapi works fine but the sql query does not modify any data. although i am using commit work.
if i put a break-point after bapi then the sql works fine.
any ideas.??
Regards,
Tarun
‎2008 Nov 06 6:23 PM
‎2008 Nov 06 6:29 PM
‎2008 Nov 06 6:30 PM
no such thing as X seconds.
isnt the syntax 'COMMIT WORK AND WAIT'.
Regards
‎2008 Nov 06 6:31 PM
i dont need to use BAPI TRANSACTION COMMIT for PR Change Bapi.
after using sql i am using commit work and wait.
‎2008 Nov 06 6:55 PM
‎2008 Nov 06 6:57 PM
‎2008 Nov 06 7:00 PM
If you do not specify the addition AND WAIT, the program does not wait until the update work process has executed it (asynchronous updating). If you specify the addition AND WAIT, however, program processing after COMMIT WORK will not continue until the update work process has executed the high-priority update function modules (synchronous updating).
source: from sap Help
‎2008 Nov 06 7:31 PM
‎2009 May 02 2:08 PM
‎2008 Nov 06 6:29 PM
how are you committing the data? use commit = 'X' in BAPI_TRANSACTION_COMMIT call.