Skip to Content
Former Member
Mar 16, 2007 at 06:46 PM

Update was terminated when we do commit work twice in short time


Hi Experts,

i have one Data bas update problem. My requirement is to create contracts in CRM with new item category(suppose ZSFT) than what is determined(ZSRT). i am using CRM_ORDER_MAINTAIN FM to create contracts after that i am calling CRM_ORDER_SAVE to save transaction then COMMIT WORK key word to commit in data base. Since transaction is created with Determined item category(ZSRT) i am calling change transaction bapi BAPI_BUSPROCESSND_CHANGEMULTI to change item category after that BAPI_BUSPROCESSND_SAVE to save transaction and BAPI_TRANSACTION_COMMIT to commit the work. but second commit is not happening instead error message "Update was terminated" recieved from author "XXXX". when i created test program with BAPIs to change already created contracts to change item category it is working fine.

Any body has any clue.

Thanks in advance