cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Update sales order item route on save

PraveenDasari
Discoverer
0 Kudos
145

Hello gurus,

My requirement is to update every sales order item route VBAP-ROUTE on the change in the header level :

PraveenDasari_0-1749719870441.png

 

I am using userexit USEREXIT_SAVE_DOCUMENT_PREPARE and I update table XVBAP[] (field ROUTE)

Everything is working fine but the schedule line dates are not updated !

PraveenDasari_1-1749719870442.png

 

If it's done manually :

PraveenDasari_2-1749719870443.png

 

PraveenDasari_3-1749719870443.png

 

How can I update schedule line dates programatically ?

Accepted Solutions (0)

Answers (1)

Answers (1)

Aukasz_SaBek
Active Participant
0 Kudos

Hi PraveenDasari,

please try make change in USEREXIT_MOVE_FIELD_TO_VBKD of userexit MV45AFZZ -> modify XVBAP data. 

Best regards, Łukasz