Skip to Content

custom route determination for dangerous goods in Sales order

Hi experts,

we have to determine the route using the custom logic for which we have written it in userexit_save_document_prepare.

Although there is an exit EXIT_SAPL0VRF_001 for route determination, this is not triggered on adding a new line or on saving.

It is getting triggered when we change ship-to party details. Also i think this gets triggered when shipping point is available. but we are filling the shipping point in userexit_move_to_vbap. So at this point it is blank and not getting triggered.

These changes work fine for normal materials. But if the material is dangerous goods, it doesn't allow us to save the document. Can we use userexit_move_field_to vbap/vbep. But this is triggered only when we add a new line item.

Can you please suggest best method for this ?

Regards

Aditya

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on May 26, 2020 at 07:54 AM

    Hello,

    For one of our project we too have Custom Route Determination in Sales Orders at Item level.

    We have placed the Custom Code under FORM - USEREXIT_CHECK_VBKD in User Exit MV45AFZB.

    Thanks,

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.