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_CREATEFROMDATA - Condition Value Multiplied by 10

Former Member
0 Likes
1,590

Hi,

I am using the BAPI BAPI_SALESORDER_CREATEFROMDATA. However, it is multiplying the condition value by 10. This value cannot be divided by 10 as it will cause rounding problems.

0.83 / 10 = 0.08

On the condition it becomes 0.80. So this is incorrect.

I also cannot use the BAPI BAPI_SALESORDER_CREATEFROMDAT1 as this is hardcoded for the business object BUS2032. The document I am creating is not of this business object.

Does anybody have a work around.

Hi,

I am using the BAPI BAPI_SALESORDER_CREATEFROMDATA. However, it is multiplying the condition value by 10. This value cannot be divided by 10 as it will cause rounding problems.

0.83 / 10 = 0.08

On the condition it becomes 0.80. So this is incorrect.

I also cannot use the BAPI BAPI_SALESORDER_CREATEFROMDAT1 as this is hardcoded for the business object BUS2032. The document I am creating is not of this business object.

Does anybody have a work around.

6 REPLIES 6
Read only

Former Member
0 Likes
1,092

The rounding issue you are having is likely also a rounding issue for online order entry.

We have the same problem in our business. We need to get 3 or 4 decimal precision in our pricing.

Our work around is to price per 100 kg.

Read only

0 Likes
1,092

I have fixed it myself.

Read only

0 Likes
1,092

Hi Martin,

I am having the same problem too.

May I know how you fix this problem?

Thank You!

Best Regards,

Chris

Read only

0 Likes
1,092

Hi Martin,

How did you fix this issue?

Regards,

Trim

Read only

0 Likes
1,092

Hello

any news on how to fix it ?

tks

Read only

Former Member
0 Likes
1,092

Refer this SAP Note :195142


you must maintain the Currency keys for the respective fields you populated the Currency values. else in the back end system multiply with 10 for all currency fields.