Dear Friends,
I have a business process in which i create a inbound delivery with reference to a scheduling agreement and it results in creation multiple deliveries which i do not want, I have mentioned the business process , kindly provide me the logic to avoid multiple deliveries.
1)VL31n-> inbound creation with reference to a scheduling agreement
2)In the delivery i have all the items that are in the SA but i select the items which i want and delete the rest of the items(say out of 10 items i want only 3 and rest i delete it).
3) Result-> multiple deliveries has been created due to the
delivery split due to different values in field INCO1 & INCO2.
The system loops through all the items in table EKPO for SA.
I need a logic to prevent multiple deliveries being created , the user exit is USEREXIT_SAVE_DOCUMENT_PREPARE
Regards
Gopi