Skip to Content
Former Member
Jan 23, 2013 at 04:52 PM

Change number locked while changing Document + BAPI_DOCUMENT_CHANGE2


In my conversion program , i creating a document info record(DIR) using BAPI 'BAPI_DOCUMENT_CREATE2' and then change the DIR using BAPI

BAPI_DOCUMENT_CHANGE2. If i do for few records in the Fore ground it works find, when i execute for huge number of records in back ground it gives message 'Change number locked by WF-BATCH'.Could you please suggest any solution apart from using WAIT statement, as this is not recommended as there will be huge number of records.