cancel
Showing results for 
Search instead for 
Did you mean: 

Quantity change not taking place with BAPI_OUTB_DELIVERY_CHANGE

Former Member
0 Kudos

Hi All,

We are trying to change the delivery quantity for an outbound delivery with the bapi BAPI_OUTB_DELIVERY_CHANGE. I have set the following parameters :

delivery number

<b>item data</b> : deliv_numb

deliv_item

material

dlv_qty (with the required new quantity )

fact_unit_nom (value 1 )

fact_unit_denom( value 1)

<b> item control</b> : deliv_numb

deliv_item

chg_delqty ( value X )

I have written a program to call this BAPI after which i am calling BAPI_TRANSACTION_COMMIT

However the Bapi does not update the quantity in the delivery. It also does not return anything in the return table .

Am i missing any parameters or any procedure ? Is there a workaround to updating the quantity field in the outbound delivery ?

will be extremely thankful for any help forthcoming.

Amit

null

Accepted Solutions (0)

Answers (1)

Answers (1)

rmazzali
Active Contributor
0 Kudos

Hi,

in the <b>item control</b> structure you have to raise the flag for ALL the fields you are changing and/or setting in item data.

pls. reward points if helpful

Regards

Roberto