Skip to Content

Sales Order User Exit update INCO1 & VSBED

Oct 25, 2016 at 08:38 PM


avatar image

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 ?




Thanks in advance

10 |10000 characters needed characters left characters exceeded
Former Member

Hi Srinivas: Maybe you can try add code to 'USEREXIT_SAVE_DOCUMENT_PREPARE', Like follows:

so.jpg (43.9 kB)
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Jignesh Mehta Oct 26, 2016 at 09:18 AM


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.


Jignesh Mehta

10 |10000 characters needed characters left characters exceeded
Jelena Perfiljeva
Oct 26, 2016 at 08:01 PM

Almost exactly the same question has been asked before:

If you simply google vbak-vsbed 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.

10 |10000 characters needed characters left characters exceeded