‎2008 Feb 14 9:08 PM
I am creating the sales document using the FM SD_SALESDOCUMENT_CREATE But if we pass net value 120 it creates as 1200. it is same for tax values also if tax is 10 it takes as 100. How can we solve this problem?
‎2008 Feb 15 3:58 AM
Hi!
This may be due to the currency that you are using. Eg. for JPY, since it has 0 decimal places, the system divides the amount with 100 and while displaying again multiplies with 100. So in this case we need to divide the amount by 100 while passing it to the FM. Though I am not sure of this, you can try this out. I remember facing similar issues.
Cheers!
‎2008 Mar 26 2:39 PM
I am creating the sales document using the FM SD_SALESDOCUMENT_CREATE But if we pass net value 120 it creates as 1200. it is same for tax values also if tax is 10 it takes as 100. How can we solve this problem?
Hi,
The condition values ( kbetr - % ) are stored in the database tables in a different format ( Multiplied by 10 ).
So, before sending the value to bapi divide it by 10.
wa_condition-cond_value = wa_condition-cond_value / 10.
The same issue happens when reading the details from KONV.
Regards,
Satish.