cancel
Showing results for 
Search instead for 
Did you mean: 

Rounding condtion type decimals

Former Member
0 Kudos

HI ALL,

I have a requirement where for eg: Condition type PR00 is with 50.45 it should round off to 50.00

or if it is 50.95 also inthat case also it should round off to 50.00

i tried doing rounding rule in conditon type, it is only rounding the decimals

i dont want any decimals

Please let me knw if any one has the answer

Syed

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Create routine with rounding rule and assign it in pricing procedure for the condition.

Former Member
0 Kudos

Hi,

Can you please provide me more details, you mean to say i have to ask abaper to create a routine to round that condtion type and where i have to assign is it in requirement or in alt condtion.

i would be very helpful if you provide more details.

Thanks

syed

Answers (2)

Answers (2)

Former Member
0 Kudos

Hello,

In transaction V/06 there is a field under header 'Control data1' which can effect how the system rounds off condition values during pricing:

->> Rounding rule

The rule that determines how the system rounds off condition

values during pricing. The last digit will be rounded.

Example

o In the standard rounding rule '_', values are rounded off according

to business standards:

10.454 -> 10.45 DEM

10.455 -> 10.46 DEM

o In rounding rule 'A', values are always rounded up:

10.459 -> 10.46 DEM

10.451 -> 10.46 DEM

o In rounding rule 'B', values are always rounded down:

1045.9 -> 1045 LIT

1045.1 -> 1045 LIT

Please try using the rounding rule 'B' for your scenario.

I hope you find this information very helpful and hopefully it will solve your problem.

Regards,

Martina McElwain

SD - Forum Moderator

Former Member
0 Kudos

Hi,

I tried using the option B i dnt know y it is not rounding it off. can you please help me with more details.

Thanks

Syed

Former Member
0 Kudos

Create routine with rounding rule and assign it in pricing procedure for the condition.