Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Error Message in Z-report when using BAPI_OUTB_DELIVERY_CHANGE: Document is incomplete: You cannot save the delivery


     I have created a Z-report which process all the saved deliveries. All those deliveries where quantity is not zero are saved successfully but if i want to save a delivery whose quantity is 0, the BAPI returns the message Document is incomplete: You cannot save the delivery. I am using VL01N t-code to create the delivery.

Below is the part of code i am using to save the delivery via Z-report.

l_del_no = wa_likp-vbeln.

wl_header-deliv_numb = l_del_no.
wl_header_chng-deliv_numb  = l_del_no.

header_data= wl_header
header_control = wl_header_chng
delivery  = l_del_no
return    = li_return.

I had tried to search content but didn't find anything specific with VL01N.

Please help me in finding the ways so that i can save the delivery with quantity 0.

Thanks in Advance.

Prakhar Singh Chandel

Not what you were looking for? View more on this topic or Ask a question