2008 Apr 07 10:00 PM
Hi All,
I want to change the Item level Delivery Quantity in VL02N. I tried to use BAPi_OUTB_DELIVERY_CHANGE. But i did not succeed. I am passing the below parameters.
HEADER_DATA -
> Delivery Number
DELIVERY -
> Delivery Number
ITEM_DATA -
> DELIV_NUMB(Delivery Number), DELIV_ITEM(Item), MATERIAL(material), DLV_QTY(Qty what i need to update in VL02n), FACT_UNIT_NOM(as 1), FACT_UNIT_DENOM (as 1), SALES_UNIT(VRKME), BASE_UOM(MEINS)
ITEM_CONTROL -
> DELIV_NUMB(delivery Number), DELIV_ITEM(Item), CHG_DELQTY(as 'X')
im passing the above parameters to change the delivery quantity at item level . where as im not at all succeding to change the delivery qty.
Helpful answers will reward.
Thanks,
Srinivas.
Hi All,
I want to change the Item level Delivery Quantity in VL02N. I tried to use BAPi_OUTB_DELIVERY_CHANGE. But i did not succeed. I am passing the below parameters.
HEADER_DATA -
> Delivery Number
DELIVERY -
> Delivery Number
ITEM_DATA -
> DELIV_NUMB(Delivery Number), DELIV_ITEM(Item), MATERIAL(material), DLV_QTY(Qty what i need to update in VL02n), FACT_UNIT_NOM(as 1), FACT_UNIT_DENOM (as 1), SALES_UNIT(VRKME), BASE_UOM(MEINS)
ITEM_CONTROL -
> DELIV_NUMB(delivery Number), DELIV_ITEM(Item), CHG_DELQTY(as 'X')
im passing the above parameters to change the delivery quantity at item level . where as im not at all succeding to change the delivery qty.
Helpful answers will reward.
Thanks,
Srinivas.
2008 Apr 08 11:10 AM
Hi Srinivas,
After the call to FM BAPI_OUTB_DELIVERY_CHANGE, try to call the BAPI
BAPI_TRANSACTION_COMMIT for commiting the data to DB.
Hope this helps.
Thanks,
Balaji
2008 Apr 08 3:18 PM
Hi Srinivas,
If you want to change the quantity for a delivery, then following entries are required:
(1) In the header data of outbound delivery parameter (HEADER_DATA) - the delivery number (DELIV_NUMB)
(2) In parameter item data of outbound delivery (ITEM_DATA)
the delivery number (DELIV_NUMB), the delivery item (DELIV_ITEM), the delivery quantity in sales unit (DLV_QTY),
the actual delivery quantity in base UoM (DLV_QTY_IMUNIT), the sales unit (SALES_UNIT),
the ISO code for the sales unit (SALES_UNIT_ISO), the base unit of measure (BASE_UOM),
the ISO code for the base unit of measure (BASE_UOM_ISO)
(3) In the control of the outbound delivery at item level parameter (ITEM_CONTROL)
the delivery number (DELIV_NUMB), the delivery item (DELIV_ITEM), the Change Delivery Quantity indicator(CHG_DELQTY)
(4) If you do not make any further entries, the system copies the material number, plant, quantities as floating point numbers,
volumes, weights, and their units from the original outbound delivery document.
(5) After this DONOT forget to call the Function Module BAPI_TRANSACTION_COMMIT. The reason being that it is MANDATORY to call this FM after every BAPI Call so that the values get updated to the database otherwise they'll not.
Hope that this helps you out in updating the Outbound Delivery Quantity. Reward if useful.
Thanks and Regards,
Maddineni Bharath.
2009 May 29 9:28 PM
I have tried all the steps as mentioned by Maddineni Bharath but could not get the qunatity changed on delivery. Is there something more to this.
Also, I would like to know how to update Batch. I tries using the CHARG field on Item detail alongwith all the steps as mentioned gor change quantity but is not working.
Thx.
Anoop
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |