Skip to Content
0
Former Member
Jul 08, 2015 at 03:27 PM

Adding a new partner in sales order using MV45AFZZ exit using t-code VA02.

1473 Views

Hi,

I am trying to add a new partner function at the header level through user exit provided in MV45AFZZ Include in subroutine USEREXIT_MOVE_FIELD_TO_VBAK . The code works perfectly for VA01. But it doesn't work for VA02.

Same logic gets triggered for both the t-codes.

In VA02 I can see the newly added partner on the screen, but when I click on save system gives message "No data was changed" and its not updated at database level either.

See screenshots below:

Partner tab in display mode of the order:

Opening the same tab in change mode using VA02

The one highlighted in yellow is the one added through the code written in user-exit.

After pressing save I get below message:

Once I go back in order I can't see the new partner function. I tried using UPD_VBAK = 'U'. But that didn't work either.

Please help if you have any solution for this. Correct answer or any kind of help will be definitely rewarded.


Thanks,

Aditya.

Attachments

Capture_3.JPG (36.4 kB)
Capture_1.JPG (33.3 kB)
Capture_2.JPG (35.0 kB)