‎2010 Sep 20 6:53 PM
Hi ,
Iam using the FM, BAPI_IDENTIFICATION_ADD to update the records in BUT0ID table. here problem is when iam executing in background or with out debugging program is giving error 'Partner Number XXXX is locked by the user'. its igiving my user id only. when iam running in debugging mode program is working fine.
I have used DEQUE_ALL FM and i have used COMMIT WORK AND WAIT still progrma is giving the same error.
Please do the needful. Thanks.
‎2010 Sep 20 9:55 PM
Hi,
Have you tried using BAPI_TRANSACTION_COMMIT instead of the explicit COMMIT statement?
Regards, Andy
‎2010 Sep 20 9:55 PM
Hi,
Have you tried using BAPI_TRANSACTION_COMMIT instead of the explicit COMMIT statement?
Regards, Andy
‎2010 Sep 21 4:03 AM
Hi,
The issue is it is taking some time to update the database. We can't check the issue in debugging ( as we will be providing the SAP enough time to update ). You can use BAPI TRANSACTION COMMIT with wait = 'X'. If it still takes time, you can have
WAIT UP TO 3 seconds.
Hope it helps.
Sujay