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

BAPI_SALESORDER_SIMULATE problem with output value

Former Member
0 Likes
552

Hi guys,

in ORDER_ITEMS_IN-REQ_QTY which is of type WMENGC, i passed value of 20.000 from lips-lfimg...

the output from bapi ORDER_ITEMS_OUT-REQ_QTY (TYPE KWMENG) IS 0.020...

why is this? what causes this? why the 20.000 becomes 0.020?

Thanks a lot!

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
462

Hi Friend,

I faced this kind of issue in BAPI_PO_CREATE1 and other BAPI. During debug i found that in some condition quanitty/net value is either multiplying 10 or dividing by 10.

So, i can suggest what ever quantity you are passing, just pass multiplying by 10. it will be fine.

Regards

Krishnendu

1 REPLY 1
Read only

Former Member
0 Likes
463

Hi Friend,

I faced this kind of issue in BAPI_PO_CREATE1 and other BAPI. During debug i found that in some condition quanitty/net value is either multiplying 10 or dividing by 10.

So, i can suggest what ever quantity you are passing, just pass multiplying by 10. it will be fine.

Regards

Krishnendu