Skip to Content

Unable to update Delivery Quantity in batch split items in Outbound Delivery through BAPI

Hi all,

I have seen many questions related to changing Delivery Quantity in Outbound Delivery , which has batch split items. But as none of the solutions helped me, I am creating this new question.

I have created a new Delivery , which contains batch split items (ie. item 000010, which has 100 qty and has 900001 item with batch ABC ). I need to now update the subitem (item 900001) with 100 qty , so that item 000010 gets reduced to 0 qty.

Before calling the BAPI 'BAPI_OUTB_DELIVERY_CHANGE', I add the below code.

In Item level, I fill the DELIV_NUMB, DELIV_ITEM (000010), MATERIAL, DLV_QTY (value 0), UNIT_NOM(value 1), UNIT_DENOM(value 1). Then I fill the subitem (900001) with the above values , BATCH(value ABC) , HIERARITEM (Value 000010), USEHIERITM (Value 1), DLV_QTY (Value 100).

In Item control level for both items, I set CHG_DELQTY to 'X'. I am also filling Header and Header control

But when I call the BAPI, it is giving an error (VL 361) "Delivery quantity must be entered for the item".

Is there any parameter value I am missing while calling this BAPI ?



Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers