Skip to Content
0
Former Member
Aug 07, 2007 at 07:08 AM

creating collective deliveries with VL10A

152 Views

Hi All,

While creating collective deliveries from sales orders using VL10A, i am checking a condition which if fails should not allow to create the delivery and also should log the errors in V_SA.

I am using the subroutine MESSAGE_HANDLING to log the errors. But here is strange scenario, if i create the delivery with VL01n then the error message is issued and delivery stops but if i create the delivery using VL10a then the error log is created but still the delivery is getting created. Now, my requirement is that in VL10a such delivery should not be created at all and VL10a should continue with creating other deliveries in the backlog.

P.S - I am using the exit MV50AFZ1 and the user exit is 'save_document_prepare'

Regards,

N. Reddy

Message was edited by:

nageswara reddy bireddy