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_SALESDOCU_CREATEFROMDATA

Former Member
0 Likes
358

Hi all,

I am testing that BAPI to create return order (business object BUS2102). In order item, i pass required qty (REQ_QTY) = 180, then order created with qty 0.180, always divided by 1000.

I dont want to hard code the 1000 division in program, is there solution for that problem?

many thanks.

Alia

2 REPLIES 2
Read only

Former Member
0 Likes
301

You must multiple your qtys by 1000 (like it or not... that is the how the FM was built).

Read only

0 Likes
301

Yah you are true, just discover that the FM doesnt contain decimal places, can work now.

thanks alots