2005 Feb 21 4:33 PM
Hello,
I want to set the true quantity delivery automatically. I think to use the FM BAPI_OUTB_DELIVERY_CONFIRM_DEC. But, that does not work for me.
I set this data :
HEADER_DATA-DELIV_NUMB delivery number
HEADER_CONTROL-DELIV_NUMB delivery number
DELIVERY delivery number
ITEM_CONTROL-DELIV_NUMB delivery number
ITEM_CONTROL-DELIV_ITEM item of the delivery number
ITEM_CONTROL-CHG_DELQTY 'X'
ITEM_DATA-DELIV_NUMB delivery number
ITEM_DATA-DELIV_ITEM item of the delivery number
ITEM_DATA-DLV_QTY quantity I want to set
ITEM_DATA-FACT_UNIT_NOM factor 1
ITEM_DATA-FACT_UNIT_DENOM factor 1
ITEM_DATA-BATCH Batch
I have an error message VL 198.
When I debug I see, error is cause by the test 'if ls_quan_old-lfimg <> ls_quan_new-lfimg.'
Does anyone have already use this BAPI in this way ? Any suggest are welcome
Regards
Frédéric
(SAP 4.6C)
Hello,
I want to set the true quantity delivery automatically. I think to use the FM BAPI_OUTB_DELIVERY_CONFIRM_DEC. But, that does not work for me.
I set this data :
HEADER_DATA-DELIV_NUMB delivery number
HEADER_CONTROL-DELIV_NUMB delivery number
DELIVERY delivery number
ITEM_CONTROL-DELIV_NUMB delivery number
ITEM_CONTROL-DELIV_ITEM item of the delivery number
ITEM_CONTROL-CHG_DELQTY 'X'
ITEM_DATA-DELIV_NUMB delivery number
ITEM_DATA-DELIV_ITEM item of the delivery number
ITEM_DATA-DLV_QTY quantity I want to set
ITEM_DATA-FACT_UNIT_NOM factor 1
ITEM_DATA-FACT_UNIT_DENOM factor 1
ITEM_DATA-BATCH Batch
I have an error message VL 198.
When I debug I see, error is cause by the test 'if ls_quan_old-lfimg <> ls_quan_new-lfimg.'
Does anyone have already use this BAPI in this way ? Any suggest are welcome
Regards
Frédéric
(SAP 4.6C)
2005 Feb 22 7:43 PM
I checked message VL 198 and I remember that we encounter that message if the quantity you're delivering is more than the quantity of stock you have in your inventory.
I'm not using that particular BAPI but I'm using SD_DELIVERY_UPDATE_PICKING_1 to change the quantity, pick qty and even PGI. That's where I encounter the message.
Hope that helps.
2005 Feb 24 8:47 AM
Hello,
Thank for you reply Jonathan,
I have check the stock, but everything looks ok.
Why do you use standard function instead of the BAPI ? And could you please give me example code of you function (the info you put into this function).
Regards
Frédéric
2005 Feb 24 10:31 AM
I have found my problem,
the SD consultant play too much with SPRO ....
Frédéric
2007 Jan 15 7:00 PM
Did you get this working? I am sending the same data and am getting a message saying that my delivery is not picked. When I manually pick I am able to get it to post. I thought this bapi did both -- if not, how are you getting your deliveries picked?
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |