Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Update was terminated in VA01

Former Member
0 Kudos

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

1 ACCEPTED SOLUTION

kanishakgupta1
Contributor
0 Kudos

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

9 REPLIES 9

kanishakgupta1
Contributor
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

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

former_member555112
Active Contributor
0 Kudos

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

Former Member
0 Kudos

Hi ,

check SM13 for this.

Thanks

Rajeshwar

Former Member
0 Kudos

Hi guys, thanks for your comments.

Problem solved.

Former Member
0 Kudos

Hi ,

Can you please tell me ,How was the issue fixed ?

Thanks

Former Member
0 Kudos

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

Former Member
0 Kudos

Hello ,

I am also having the same issue now. Could you provide the solution which you have done?

Thanks,

Khasimsa.