‎2009 Sep 08 7:42 AM
Hi,
When i change the MAD for any item in va02, the change is not getting reflected in VBAK.
For eg, if for an order i have 2 items, one has MAD - 02-09-2009 and one has MAD - 0109-2009... VBAK now has FMBDAT as 01-09-2009... If now both the items have MAD as 02-09-2009, the VBAK-FMBDAT still remains 01-09-2009.. Why so?
And is there any user exit or BADI where i can change this?
Regards,
Mayur
‎2009 Sep 08 7:46 AM
Hi,
vbak-fmbdat changes at header level.
check vbbe-mbdat
Edited by: Pankaj Singh on Sep 8, 2009 12:19 PM
‎2009 Sep 16 9:41 PM
Any response to this issue? Why is VBAK-FMBDAT not getting populated whereas VBEP-FMBDAT is when material availability date is changed in the sales order?
‎2009 Sep 17 7:18 AM
Hi,
Actually standard SAp does not allow the VBAK-FMBDAT field to get updated in the change mode (ie VA02). It allows VBAK-FMBDAT to get updated only in create mode (ie VA01). It uses a FM SD_MBDAT_DETERMINE to update vbak in create mode.
So, i copied this same fm in exit 'userexit_move_field_to_vbak'.. Now it is working.
Regards,
Mayur