10-24-2007 2:20 PM
MV45AFZB (USEREXIT_MOVE_FIELD_TO_VBAP) allows me to default Item category when I enter material. I have a requirement to <u><b>re-determine</b></u> item category if a user changes the Shipping point, however I see that when a user changes the shipping point the above <u><b>user-exit does not trigger</b></u>.
Question: Is there a way to somehow include a change in shipping point to trigger this user exit or alternatively is there another user exit / Badi that can achieve what I want?
Many Thanks,
// Sajay
10-24-2007 3:25 PM
When you change the shipping point on the item level, the following two user exits are triggered:
USEREXIT_MOVE_FIELD_TO_VBKD
USEREXIT_MOVE_FIELD_TO_VBAK
Hope that helps,
Michael
10-24-2007 3:25 PM
When you change the shipping point on the item level, the following two user exits are triggered:
USEREXIT_MOVE_FIELD_TO_VBKD
USEREXIT_MOVE_FIELD_TO_VBAK
Hope that helps,
Michael
10-26-2007 10:45 AM
Looks like the problem is the field VBAP-VSTEL element does not change immediately when you hit enter, it goes thru some standard SAP code and and the first time it enters the exits mentioned above by Michael, the value still remains to be the old value.
But off course my problem is not resolved by it does answer my question.
Thanks,
Sajay