2008 Mar 27 5:47 AM
hi,
I am using the BAPI BAPI_OUTB_DELIVERY_CHANGE to create the Batch Splits on a outbound delivery.
But when I am updating single batch the quantity is not getting populated.only the is batch is getting updated.
can someone tell me how we can solve this?
please help.its urgent.
hi,
I am using the BAPI BAPI_OUTB_DELIVERY_CHANGE to create the Batch Splits on a outbound delivery.
But when I am updating single batch the quantity is not getting populated.only the is batch is getting updated.
can someone tell me how we can solve this?
please help.its urgent.
2008 Apr 23 12:56 PM
Hi, try pass values like this.
**Main Item
DC2_ITEM_DATA-DELIV_NUMB = LIPS-VBELN."Delivery Number
DC2_ITEM_DATA-DELIV_ITEM = LIPS-POSNR."Item Number
DC2_ITEM_DATA-MATERIAL = LIPS-MATNR."Material Number of Main Item
* DC2_ITEM_DATA-HIERARITEM = ''.
* DC2_ITEM_DATA-DLV_QTY = ''.
DC2_ITEM_DATA-FACT_UNIT_NOM = 1.
DC2_ITEM_DATA-FACT_UNIT_DENOM = 1.
**Sub Item
DC2_ITEM_DATA-DELIV_NUMB = IT_DC2-DOCNUM."Delivery Number
DC2_ITEM_DATA-HIERARITEM = IT_DC2-ITEMNO."Delivery Main Item Number to be splitted
DC2_ITEM_DATA-USEHIERITM = 1.
DC2_ITEM_DATA-MATERIAL = IT_DC2-MATNR."Material Number of Main Item
DC2_ITEM_DATA-BATCH = IT_DC2-CHARG."Batch
DC2_ITEM_DATA-DLV_QTY = IT_DC2-MENGE."Quantity
DC2_ITEM_DATA-SALES_UNIT = IT_DC2-VRKME."UoM
DC2_ITEM_DATA-FACT_UNIT_NOM = 1.
DC2_ITEM_DATA-FACT_UNIT_DENOM = 1.
Thanks.
Legend.
Edited by: legend li on Apr 23, 2008 7:57 PM
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |