You may encounter an error "V50R-E-051-Missing data in the BAPI interface: IT_ITEMS LFIMG VRKME,BAPI-E-001-No instance of object type OutboundDelivery has been created. External reference:" when creating delivery using BAPI BAPI_OUTB_DELIVERY_CREATE_SLS .
This is due to Delivery quantity value and Delivery quantity unit of measure is zero. This occurs when the delivery document has Batch Split.
Batch and Batch Split Update for Delivery Document
BAPI_OUTB_DELIVERY_CREATE_SLS is used to create delivery document without batch number.
BAPI_OUTB_DELIVERY_CHANGE can be used to update the Batch number and Batch Split to the existing Delivery Document.
BAPI_OUTB_DELIVERY_CREATE_SLS is used to create delivery document without batch number.
BAPI_OUTB_DELIVERY_CHANGE can be used to update the Batch number and Batch Split to the existing Delivery Document.