Skip to Content
1
May 26, 2020 at 05:44 AM

custom route determination for dangerous goods in Sales order

211 Views Last edit May 26, 2020 at 06:03 AM 2 rev

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