Skip to Content
0

How to skip specific Delivery creation in VL10C and VL10BATCH

Apr 30, 2017 at 03:11 AM

57

avatar image

Hi,

I have a requirement to prevent Outbound Delivery creation (based on some conditions) in VL10C and VL10BATCH. In other words, while these transactions loop through the Sales Order Items and if the conditions are not satisified for any item , it should throw an error message. It should not create the Delivery and proceed to the next item.

I am using the BADI 'LE_SHP_DELIVERY_PROC' to throw the error message. (message type 'I' DISPLAY LIKE 'E' ) and then LEAVE PROGRAM .

It is not working properly .

If anyone has addressed a similar requirement, could you please let me know the right way?

Regards,

Sylendra.

10 |10000 characters needed characters left characters exceeded

Is there no way to prevent these documents from being selected in the first place?

0

Not possible, as the same sales order can have materials which satisfy the conditions also.

0
* Please Login or Register to Answer, Follow or Comment.

0 Answers