07-14-2009 1:30 PM
Hey friends.
I have a problem in transaction VA01. When saving the SalesOrder i get the popup :
Express document "Update was terminated" received from author "Gisli Elmarsson"
When checking transaction SM13 :
Update key 4A5C6A465435022EE1008000C21D546C
Client 011
User APP_GIBR
Date 14.07.2009 Time 13:56:18
Language DA
Account
Report SAPMV45A
Transaction VA01
Enqueue key 20090714135600443575000645lmqa2ci......................
Context :K:
Information (50) = VB_WITH_ENQUEUE, VB_ENQUEUES_RELEASED,
UD Ret. Code 9
Status Update was terminated
Update server lmqa2ci_QA2_45
UD Client lmqa2ci_QA2_45
Local time zone CET
Time Offset 1
Error details Class: MC Number: 601
MC 601: Object requested is currently locked by user APP_GIBR
There is no dump in the system.
I have been trying to debug to analyse the error, but i have difficulties geting the system to break at my breakpoints.
This error only occurs for certain material used, and seems to be linked to delivery item that is created.
Do you experts have any idea how I can continue the search, to find out the cause of this problem.
Thanks in advance and best regards Gisli
07-14-2009 1:39 PM
Hi Gisli,
I suppose u are using somewhere commit statement or BAPI_TRANSACTION_COMMIT which is not sheduled with the other commits which are performed by the SAP program.....Remove ur commit statements u have written and insted of them watever work for which u are using commit u can write that code in a update Function module.......which will be triggered only when other updates are biendg done...
Hope it may solve ur problem...
kanishak
07-14-2009 1:39 PM
Hi Gisli,
I suppose u are using somewhere commit statement or BAPI_TRANSACTION_COMMIT which is not sheduled with the other commits which are performed by the SAP program.....Remove ur commit statements u have written and insted of them watever work for which u are using commit u can write that code in a update Function module.......which will be triggered only when other updates are biendg done...
Hope it may solve ur problem...
kanishak
07-14-2009 1:43 PM
switch on system debugging and update debugging.
to do so, give /h in your ok-code box, press enter and now use the menu.
Settings -> update debuggin
Settings -> system debugging
07-14-2009 1:44 PM
Hi ,
Check if there is any Information message which is being popped up just before saving the sales Order .
Information Messages before saving any application documents causes these problems .
I presume somebody have coded something in the user exit .
Check and get back if issue not solved .
Thanks
Anil
07-14-2009 1:45 PM
Hi,
In SM13 it will give you the update FM in which the error occured.
Put a break point there and turn on update debugging and check where the dump occurs.
The possible reason is that in some user exit or badi; there is some FM called which is trying to update the same object say material number or sales order or delivery and the standard transaction is also doin the same resulting in a lock.
Regards,
Ankur Parab
07-14-2009 1:54 PM
07-27-2009 1:10 PM
11-30-2009 10:39 PM
07-25-2011 6:19 PM
Can you please tell me ,How was the issue fixed ? The Error is as follows:tcode sm31
Function Module MCV_STATISTICS_UPD_V1_ORDER
Status Update was terminated
Report RMCSS002
Row 2269
Error Details class m2 number 022
Error 4 updating info structure S002
08-17-2011 2:16 PM
Hello ,
I am also having the same issue now. Could you provide the solution which you have done?
Thanks,
Khasimsa.