Former Member

### how to set a pricing condition type with 6 decimas ?

hello

I would like to set up a condition type in SD with 6 decimals

I already tried to use calculation type W but it is designed / allowed for only condition class D (tax) as said in oss note 2056663. My need is to apply the a percentage (with 6 decimals) to a value (with 2 decimals).

does anyone know how to do ?

10|10000 characters needed characters exceeded

Jan 09, 2018 at 11:42 AM

What you can play with that Calculation rule W is, set this to your discount condition type and parallelly, the statistical check box be checked in your pricing procedure. Have one more condition type with calculation type as A and condition record be 100% of the above condition type. Not sure on the outcome and hence, if you are trying, don't forget to update on the outcome. This might be the simplest approach; else, you need to add the required validations in VOFM routine.

10|10000 characters needed characters exceeded
• Jan 05, 2018 at 06:16 PM

The first thing that comes to mind is if you need the following: 2.012345% * 240.25 to have instead 2012.345% * 240.25 /1000, where the last part (the division) is done in a VOFM routine.

I know, it is ugly and it may produce additional challenges (e.g. in printforms and reporting), but if you cannot come up with anything better it is an option to consider.

10|10000 characters needed characters exceeded
• Former Member

It would work indeed, but I think the user would not be happy to record a % 2012,345% instead of 2,012345.

it is too bad the condition type W is only allowed for condition class D (tax)

I will try to use a statistical condition + a formula...

• Jan 06, 2018 at 05:11 PM

Hi ,

Is this a a legal requirement for any country ?

Regards

10|10000 characters needed characters exceeded
• Former Member

no this is not a legal requirement, but a very specific use of a certain business.

If I don't find any suitable solution, I will try to challenge them and ask them if they finally can't cope with decimals...