Skip to Content
0
Feb 21, 2005 at 04:33 PM

BAPI_OUTB_DELIVERY_CONFIRM_DEC

206 Views

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)