Application Development 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: 

issue in creating sales order with ref contract(quantity)

Former Member
0 Kudos
116

hi friends,

I am creating sales order with reference contract using

"BAPI_SALESORDER_CREATEFROMDAT1"

my issue is with quantity field when i am entering quantity as 1 then it is taking as 0.001

i am also declaring its unit field too but there is no change.

in my program i am taking quantity as parameter.

field description is like this Order qty in sales units - 00009001 corresponds to 9.001

is there any chance of changing the quantity .

please help.

1 REPLY 1

Former Member
0 Kudos
55

There is another similar post...look at those comments. Consider the data types in use...in true numeric fields with decimals, the decimal is implied, so look at how you're sending and/or converting any value.... For instance, if I were sending data to a quantity field described as curr 15, decimals 3, I would expect that I needed to send 1.000 (or perhaps 1000, depending on my testing) in the input to get a quantity of 1.