Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Problems with BAPI_INB_DELIVERY_CHANGE

Former Member
0 Likes
1,731

Hi experts,

Do you know the meaning of this messsages??

I'm trying delete a item of a delivery.

Error in document 0180000144 item 000010 (quantity consistency check)

Conversion factors 0:0 are zero, not defined mathematically

I'm trying with:

HEADER_DATA-DELIV_NUMB = '0180000144'.

DELIVERY = '0180000144'.

ITEM_DATA-DELIV_NUM = '0180000144'.

ITEM_DATA-DELIV_ITEM = 0010

ITEM_CONTROL-DELIV_NUM = '0180000144'.

ITEM_CONTROL-DELIV_ITEM = 0010

ITEM_CONTROL-DEL_ITEM = 'X'.

Could you help us?

please

thank you

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,004

Hello,

These are the standard programs which are using this FM.

check this u will get any idea

LV50IU53 Include LV50LF15

LV50KU45 Include L0ORGF03

RBUS2015 Program for Object Type BUS2015: Shipping Notification

Hi experts,

Do you know the meaning of this messsages??

I'm trying delete a item of a delivery.

Error in document 0180000144 item 000010 (quantity consistency check)

Conversion factors 0:0 are zero, not defined mathematically

I'm trying with:

HEADER_DATA-DELIV_NUMB = '0180000144'.

DELIVERY = '0180000144'.

ITEM_DATA-DELIV_NUM = '0180000144'.

ITEM_DATA-DELIV_ITEM = 0010

ITEM_CONTROL-DELIV_NUM = '0180000144'.

ITEM_CONTROL-DELIV_ITEM = 0010

ITEM_CONTROL-DEL_ITEM = 'X'.

Could you help us?

please

thank you

4 REPLIES 4
Read only

Former Member
0 Likes
1,005

Hello,

These are the standard programs which are using this FM.

check this u will get any idea

LV50IU53 Include LV50LF15

LV50KU45 Include L0ORGF03

RBUS2015 Program for Object Type BUS2015: Shipping Notification

Read only

0 Likes
1,004

Hi,

Try to use WS_DELIVERY_UPDATE OR WS_DELIVERY_UPDATE_2 function modules or try to pass quantity as well in the bapi.

KR Jaideep,

Read only

Former Member
0 Likes
1,004

Change ITEM_CONTROL-DELIV_ITEM = 0010

ITEM_CONTROL-DELIV_ITEM = '0010'

Also for item_data.

And are u calling BAPI_TRANSACTION_COMMIT after that....??

Still not able 2 resolve set the debugger at the BAPI call and see what's happening.

Read only

Former Member
0 Likes
1,004

Hi,

When i tried in debigging it is going for Quantity check even if you have not check Qty Change flag. So to get rid of error you pass all the data specified in BAPI Documentation example for Quantity change, But instead of Qty Change flag check you go for Delete flag.

It will work.

Thanks,

Jyothi