Skip to Content

Change Delivery priority for Stock Transport Order in BADI ME_PROCESS_PO_CUST

Oct 24, 2017 at 06:42 PM


avatar image

Hi All,

I have a requirement to pick the delivery priority(LPRIO) from a Z-table, for a Stock Transport Order, based on the Order Type of the STO. Now this delivery priority(for ex-03) appears on the Shipping tab of the STO. The user has the option of changing it if needed to for ex- 04. But the problem is when the user presses enter or save, the delivery priority field again gets picked from the Z- table and becomes 03, which is not correct.

I have implemented the logic for this in the METHOD PROCESS_ITEM of the BADI ME_PROCESS_PO_CUST using SET_SHIPPING_DATA.

Does anyone have any advice how not to get this field reset??



10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Dibyendu Patra Oct 25, 2017 at 01:15 PM

This is happening because system is calling the badi again when user press enter or save.

In coding, put some validation e.g. replace only during creation (only for creation transaction) or you may think something different.

10 |10000 characters needed characters left characters exceeded