cancel
Showing results for 
Search instead for 
Did you mean: 

Route determination while changing Incoterms in sales order (va02)

0 Kudos

Hi all,

I want to change the route value (VBAP-ROUTE) when Incoterms values are changes. I have used FM : SD_ROUTE_DETERMINATION in the USER Exit: MV45AFZZ

Write the code in FORM : USEREXIT_MOVE_FIELD_TO_VBKD and also added in

USEREXIT_SAVE_DOCUMENT_PREPARE. I have update XVBAP tables ROUTE field to change the value.

Value is correctly populating in edit mode but while saving the document the value of Route sets are previous one. logic is not working while saving the Sales order.

Please Help

Accepted Solutions (0)

Answers (1)

Answers (1)

remco77
Discoverer
0 Kudos

Hi Shweta,

How did you solve the issue?

Regards, Remco

Mohamed_Mukhtar
Active Contributor
0 Kudos

Hi,

update internal tables starting with YXXXX tables (example YVBAP) in change mode.

Regards