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: 

Decimal Value of Pricing Condition

babu_kilari4
Active Contributor
0 Kudos
413

Hi All,

We have a requirement like Condition Value should have 3 or 6 decimal places.

But, the field KOMV-KWERT is suppporting only 2 decimals. Is there any way that we can get 3 or 6 decimals places for the condition value?

If you go to VOFM transaction->Formulas->Rounding Values, there you are having some routines.

But, we are unable to map it to the condition types. How to achieve this?

Any pointers on this would be highly appreciated.

Thanks in advance

Babu Kilari

1 ACCEPTED SOLUTION

Former Member
0 Kudos
137

Hi,

To have 3 or 6 decimal places ,you can define 1 seperate variable by defining,

data: var1 type p decimals 6.

And take the value pf the variable of type KOMV-KWERT in var1.

regards,

ajit.

4 REPLIES 4

Former Member
0 Kudos
137

Hi,

Declare a variable with type P decimals 3 or 6 and get the value to this.

Hope it helps!!

Regards,

Pavan

0 Kudos
137

Hi ,

I have the same requirement where do we need to declare this variable and how can we link this to Condition value . Please suggest.

Thanks in advance.

Former Member
0 Kudos
137

Declare a variable DATA: var(8) TYPE p DECIMAL 6.

Hope this solves your problem

Former Member
0 Kudos
138

Hi,

To have 3 or 6 decimal places ,you can define 1 seperate variable by defining,

data: var1 type p decimals 6.

And take the value pf the variable of type KOMV-KWERT in var1.

regards,

ajit.