cancel
Showing results for 
Search instead for 
Did you mean: 

Condition Rounding rule

Former Member
0 Kudos

Hello All,

We have condition type where we required below rounding rule.

Condition value is 45.56 then value should be rounded in to 46.00 and if condition value is 45.45 then value should be rounded in to 45.00.

Amount gets rounded up to neared rupees if the fraction is more than 49 paise and rounded down if the fraction is less than 50 paise.

We have option in condition type where we can change the Rounding rule but in our scenario all three conditions being failed.

thanks & regards,

Ratish

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Dear Ratish,

As per standard you can't make these changes because in the respective Data Element KAWRT - Domain WERTV8 in decimal places are maintained 2 . Becasue of this reason Rounding Up and Rounding Down will work in decimal level.

To satisfy this requirement you need to co ordinate with ur ABAPer by giving your logic and create a new Routine as a Alternative calculation Type through VOFM and assign it to against respective condition type

Hope your issue may resolve.

Regards

Durga Sana

Former Member
0 Kudos

hi Durga,

Could you please provide me more details on routine which needs to be created for rounding the condition type with the help of ABAPer.

Thanks & Regards,

Ratish

Answers (2)

Answers (2)

Former Member
0 Kudos

Create a New routine with abaper at calculation type will work for your requirement .(also check the routine no 16 in the standard)

Kalyan

Former Member
0 Kudos

Hi ,

With the help of Functional module 'J_1I6_ROUND_TO_NEAREST_AMT' ,

we have rounded off the value in XKOMV-KWERT.

But the updated value is not showing in screen .

Kindly let us know what needs to be done so that final rounded value in XKOMV-KWERT displays in screen(va02--> condition tab )

Regards,

Ratish

jignesh_mehta3
Active Contributor
0 Kudos

Dear Friend,

In V/06 set the Rounding Rule to Commercial. This should suffice your requirement.

Also check the Currency Rounding Rule in OB90.

Hope this helps...

Thanks,

Jignesh Mehta

Former Member
0 Kudos

thanks for the reply jignesh............

I tried both options provided by you, but it did not work.

we dont want any paisa pending for condition value.

Thanks & Regards,

Ratish Patil

Former Member
0 Kudos

Please use the condition DIFF in your pricing procedure. This will adjust the rounding.

Rounding unit can be 20. T Code OB90 to maintain rounding units.

Hope thios helps

Regards

Sai