Avoiding delivery creation when items quantity are zero

Deliveries are created collectively using VL10

In the definition of delivery item category 0VLP, there is a field Check Quantity 0

Set the value to B or C

This will prevent delivery with zero lines from being created.
 

However, if you want to include zero quantity items but if they are all zero, you do not want to create the delivery then you have to used the user exit USEREXIT_SAVE_DOCUMENT_PREPARE.

SAP Books
SAP Basis, Functional and ABAP Programming Reference Books

Main Index
SAP Basis, ABAP Programming and Other IMG Stuff

All the site contents are Copyright © www.erpgreat.com and the content authors. All rights reserved.
All product names are trademarks of their respective companies.  The site www.erpgreat.com is in no way affiliated with SAP AG. 
Every effort is made to ensure the content integrity.  Information used on this site is at your own risk. 
 The content on this site may not be reproduced or redistributed without the express written permission of 
www.erpgreat.com or the content authors.