cancel
Showing results for 
Search instead for 
Did you mean: 
Subscribe

Recently, while working with BAPI_SALESORDER_CREATEFROMDAT2, I faced a strange issue.

Gauravvashishtha7_2-1757650455232.png

 

I was trying to create a sales order with a custom condition type ZGTC.

Here’s what I did:

  • In the BAPI input, I passed KBETR = 94.0000000000.

  • During debugging, I could clearly see that the value was stored as 94.0000000000.

Gauravvashishtha7_0-1757650346541.png

  • But after executing the BAPI and checking the order in VA02, the value appeared as 940.00!

    Gauravvashishtha7_1-1757650422104.png

    Why does the BAPI change my condition value from 94.00000000000 to 940.00?

View Entire Topic
Tomas_Buryanek
Product and Topic Expert
Product and Topic Expert
0 Likes

Hello,

try check SAP Note:

886532 - Pricing: Display and rounding of numbers

It might provide some explanation to this behavior.