Skip to Content

Sales Order User Exit update INCO1 & VSBED

Hi Team,

I am looking for a way through MV45AFZZ to update the Sales Order field VBAK-VSBED if VBKD-INCO1 has a certain value. This is required vice-versa too meaning, if VBKD-INCO1 has a value then a corresponding desired value in VBAK-VSBED.

It should work in VA01 & VA02.

The values are stored / read from a table.

I looked at the following MV45AFZZ_Move_fields but these do not touch both fields VSBED as well as INCO1.

Does anyone have any suggestions ?

MV45AFZZ_MOVE_FIELD_TO_VBAK_03

MV45AFZZ_MOVE_FIELD_TO_VBAK_09C

MV45AFZZ_MOVE_FIELD_TO_VBKD_05

Thanks in advance

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Oct 26, 2016 at 09:18 AM

    Hello,

    I would suggest you to explore inserting Custom Code in Include - MV45AFZB. We have some Customer specific developments done here and they are working fine.

    Thanks,

    Jignesh Mehta

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 26, 2016 at 08:01 PM

    Almost exactly the same question has been asked before: https://archive.sap.com/discussions/thread/392355

    If you simply google vbak-vsbed site:sap.com you'll find a few more posts. There seems to be no answer though and I'm afraid asking yet again won't help. I suspect that VSBED is not supposed to be changed in the user exits. Especially I would not recommend using SAVE_DOCUMENT... for this. This field is part of the route determination and if you just brutally force another value then the respective process change won't take place.

    Why do you need to do this exactly? Based on the specific business case, you might want to look for other alternatives.

    Add comment
    10|10000 characters needed characters exceeded