I have written code in user exit EXIT_SAPMV45A_003 for TCode VA02 (Sales Order Change). The code is as given below:
LOOP at XVBAP.
If XVBAP-kwmeng = 100.
XVBAP-kwmeng = 99.
If XVBAP-ARKTX = 'Pumpe Stahlguss Etanorm 170-230'.
XVBAP-ARKTX = 'Changed'.
In debug mode I can see the changed values for Order Quantity (KWMENG) and description (ARKTX). However after the entire code is executed and when I enter the sales order, first I get a pop up "Express Document Update Was Terminated received from author XXXXX". And then when I hit enter, the values are not changed
The project in CMOD and the enhancement in SMOD are activated.
Any help would be appreciated.
Thanks in advance,