Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Material Availability date issue

Former Member
0 Likes
1,330

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

3 REPLIES 3
Read only

Former Member
0 Likes
772

Hi,

vbak-fmbdat changes at header level.

check vbbe-mbdat

Edited by: Pankaj Singh on Sep 8, 2009 12:19 PM

Read only

0 Likes
772

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?

Read only

0 Likes
772

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