07-25-2011 4:17 PM
I want to prevent the creation of more than one delivery from a sales order during background processing using transaction VL10A
If an order has multiple delivery dates on it VL10a (or the clients version of it ZVL10a) is creating multiple deliveries one for each date
I want to prevent it from creating the second delivery and output an appropriate message to the collective log.
Within the save document prepare exit in MV50AFZ1 I can detect on the second item that there is already a delivery against the order by checking the header delivery status in XVBUK for the sales order.
I have looked at copy requirements but the data needed to detect this is not available at this point. XVBUK has not been updated.
Any advice gratefully recieved!!!!
07-26-2011 6:05 AM
Hi Tim,
Did you check with functional people for this.
Regards,
Madhu.
07-26-2011 12:42 PM
Hi
See Note 198137 - VL10: Customer-specific enhancements / user exits. You have this suggestion:
Use LV50R_VIEWG02 for a document list,
LV50R_VIEWG03 for an index list for orders, LV50R_VIEWG06 or
LV50R_VIEWG13 for an index list for purchase orders and
LV50R_VIEWG07 or LV50R_VIEWG12 for deliveries.You can suppress a
list line by returning cf_subrc <> 0.
I hope this helps you
Regards
Eduardo