on 01-31-2020 11:15 AM
Hello gurus,
My requirement is to update every sales order item route VBAP-ROUTE on the save of the sales order :
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 !
If it's done manually :
How can I update schedule line dates programatically in the user exit USEREXIT_SAVE_DOCUMENT_PREPARE ?
PS: It's mandatory to do it on save.
Hello,
At the Client site I working, the Development for Re-determination of Route from a Z-table is placed in Program MV45AFZB,
May you can find one of the appropriate User Exits under MV45ZFZB and try.
Thanks,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Does it really have to be SAVE_DOCUMENT_PREPARE?
Probably the custom logic does not work as expected because by then scheduling is already done based on the information without any route?
I searched with criterion SAP route determination order exit and there is 0VRF0001, which seems to be a more appropriate option. Is there a particular reason why you cannot use 0VRF0001 instead of MV45AFZZ, SAVE_DOCUMENT_PREPARE?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
occoromomis in this case maybe it is safer to rethink the solution design (I understand that you are reluctant to do this, but still)... I am not sure if it is possible to trigger again scheduling at this point of document processing and if it is - how this would affect other areas depending on the data that was already determined.
You have not explained, in the first instance, as to why you have gone for user exit. What is the Business Requirement and what you tried to achieve with the standard configuration?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
7 | |
6 | |
3 | |
3 | |
3 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.