Skip to Content
0
Nov 10, 2020 at 07:50 PM

Sales order - Update dependent fields on plant change

69 Views

Hi,

I have a requirement to update the plant (VBAP-WERKS) on change of header assignment field (VBAK-ZUONR). I have written the logic to update the plant in USEREXIT_SOURCE_DETERMINATION, USEREXIT_CHECK_VBAP (MV45AFZB) and USEREXIT_MOVE_FIELD_TO_VBAP (MV45AFZZ).

Now the issue is, on change of plant other plant dependent fields like shipping point, route, etc are not getting automatically updated as per the new plant value.

Please let me know the logic to trigger the update of plant dependent fields.

Thanks in advance,

Sudhakaran