07-11-2008 1:32 PM
Hi,
I have created a sales order. I am changing the same order. I am adding few more items to this order and saving it. When I am saving this order, it says that the order has been saved. and when I am trying to view the same order again using VA02, I am getting a 'SAP office express info' popup saying 'Express document "Update was terminated" received from author "Paddu"'. and the description says 'Update was terminated'.
Error Info... V2 101: Error during update of Table VBAP
Can someone tell me why I am getting this error. and what is this error related to.
and when I again view the order in VA02, the changes I did were not saved. Con someone please tell me the reason for this. Thanks in advance.
Best Regards,
Paddu.
07-11-2008 2:10 PM
Hi Paddu,
you get the update error when somethings goes wrong in the update task, this happens after you press save. Going into VA02 again has nothing to do with it. You will get the update error too if you just wait en press enter a couple of times.
Without more info it is hard to tell what the problem is. There should be a dump that could give you a hint at what the problem is. Possible cause can be a user exit that tries to create an entry in a table that already exists.
Good luck,
Gert.
07-11-2008 3:06 PM
Hi Gert,
Thanks for your reply. Sorry for not providing the details.
I just found the update error details in SM13. Please find the details below.
**************************************************************
Function Module : RV_SALES_DOCUMENT_UPDATE
Status : Update was terminated
Report : LV45UF0V
Row : 175
Error details Class: V2 Number: 101
V2 101: Error during update of Table VBAP
***************************************************************
Could you please let me know if you find any reason for this error as it is very urgent. Once again I am very much thankful to your time. Tell me if you find any reason.
Thannks & Regards,
Paddu.
07-11-2008 3:24 PM
Hi,
The error that you get is triggered from a workflow. I think you are using the user exit USEREXIT_SAVE_DOCUMENT to change/add items to the sales order. Instead of usign the above exit write the code in USEREXIT_SAVE_DOCUMENT_PREPARE. Then probably you will not get this error as this is triggered at the time of saving the document where as USEREXIT_SAVE_DOCUMENT is triggered after the database commit.
Cheers
Snehi.