cancel
Showing results for 
Search instead for 
Did you mean: 

issue - Diff condition - Rounding Off

Former Member
0 Kudos

Guys,

Points will be given for all helpful answers.

I am not able to use condition DIFF, for rounding off in SD Pricing. Configuration of pricing procedure is done below way-

I have put the condition type DIFF, in a step above the step of total value. And have given Requirement Type- 13 , calculation type- 16, Base Type- 4.

This is somehow not triggering / working.

Any more setting required? Please suggest.

regards,

rahul asai

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

hi.

you can write a requiremnet and attache to the DIFF condition type.

srk

Former Member
0 Kudos

Where do i write the requirement for Diff?

pl explain.

regards,

rahul asai

Former Member
0 Kudos

hi,

you need an abapers help to write a routine(req / cal type / base value).You can go to VOFM transaction to write new routines. Also you would need an access key to be able create a new routine.

I thought more than a requirement an alternative calculation type can be created with all conditions you are looking forward to to the rounding. Like for Canada we round to the nearest one dollar, some countries a commercial rounding everything acheived with the same DIFF condition put with different checks in the alternative cal type. Please check your requirement once with an abaper.

regards

sadhu kishore

Answers (2)

Answers (2)

alex_zheng
Contributor
0 Kudos

Hi Rahul,

Please check whether you have maintained "Rounding Rules for Currencies" in table T001R for the company code you are using.

For the special condition type DIFF the condition value is chosen in that way that your T001R requirement is fulfilled.

For example, the total value of the document should be divisible by

0,05 CHF (5-Rappen-rounding in Switzerland).

The condition value is always chosen in that way that its absolute

value is as small as possible (only five different values for DIFF are

possible in case of "rounding to x.y5 or x.y0").

See the following examples (second line):

Total value before DIFF 6,70 6,71 6,72 6,73 6,74 CHF

Value of DIFF 0,00 0,01- 0,02- 0,02 0,01 CHF

Total value after DIFF 6,70 6,70 6,70 6,75 6,75 CHF

Formula '16' was delivered along with condition type DIFF to support

rounding unit rules that can be defined in T001R for company code /

currency combinations. Condition type DIFF was delivered to perform

rounding at the end of the pricing procedure with the total value.

formula '16', the system computes the rounded value and assigns the

difference to the condition type DIFF.

I hope this is helpful.

Regards,

Alex

Former Member
0 Kudos

Alex,

Points given to u.

I maintained the entries in "Rounding Rules for Currencies", still I am not getting the rounded value in my pricing procedure.

Pl suggest what more needs to be done.

regards,

rahul

Former Member
0 Kudos

Hi,

Please check in the condition type DIFF the rounding rule is updated like rounding up or down or commercial rounding.

thanks

Kuntla

Former Member
0 Kudos

Points given to u.

It is commercial. can u pl confirm how does it make any difference. What should it be ideally?

regards,

rahul asai