cancel
Showing results for 
Search instead for 
Did you mean: 

round up

Former Member
0 Kudos

Hi SAP All

My requierment is round up the net valu how to config.

for ex:net value 10.09 to round up to 11and 10.01 to round up 10 like that how to config

round up profile in condintion type point is there but how to that activate

plz reply as soon as posible

thanks

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

ok

Former Member
0 Kudos

Hi, let me put it more in detail...

You can tackle this by using standard routine in your pricing procedure.

In the 'Caltype' column in pricing that is "Condition formula for alternative calculation type", you need to add routine number "17 Rounding as perT001R", before those excise conditions which you want rounded.

Additionally, in table T001R such rounding data should be maintained.

For this goto SPRO - SAP NetWeaver - General Settings - Currencies - Define rounding rules for currencies

here maintain: Co, Code + Currency = 100

This will solve your problem

Regards

Dhananjay

Former Member
0 Kudos

Hi

this setting all dun but not reflected.where the problem.

Former Member
0 Kudos

I think you want to round the net value of the document. If that is the requirement all the suggestions provided above will not help. They will help in rounding the condition value for the step of the pricing procedure wherever you have assigned routine 17. If you want to round the document value you have to use the condition type DIFF in the pricing procedure. Bear in mind that rounding of the net value will take into consideration the tax part also.

Regards,

GSL.

Former Member
0 Kudos

Hi

The rounding profile for one condition type for DIFF and i configure the round up,V/08 of i configure the req 13,Alt caltype 16,Alt base value 4 and ob90 of i configure the company code and currency to 100% taken,still i am not getting solution

plz help me this solution

Former Member
0 Kudos

If you are in the sale order then the value for DIFF condition type will not be populated in create mode. Please save the sale order and then view in change mode.

Regards,

GSL.

Lakshmipathi
Active Contributor
0 Kudos

Dear raju

Go to V/06, select that condition type and maintain A against the field Rounding Rule. Now go to V/08, select your pricing procedure and maintain Routine 16 in the Alt. Cal. Type

Additionally, goto SPRO - SAP NetWeaver - General Settings - Currencies - Define rounding rules for currencies here maintain: Company Code + Currency = 100

thanks

G. Lakshmipathi

Former Member
0 Kudos

Hi,

I think routine 17 should be used.

Only routine will work in accordance with the settings done in IMG in SAP netweaver & co code etc....

Please use routine 17.

Hope this helps you.

Regards,

Dhananjay

Former Member
0 Kudos

In the Pricing Procedure (V/08), apply routine 16 or 17 in Requirement. Either of one should ideally serve the purpose.

Alternatively make the necessary amendment in routine through Abaper and apply the same:

-


Include RV64A601

  • rounding rule for closest interger value

FORM FRM_KONDI_WERT_601.

  • data: da_xkwerx(15).

  • unpack xkwert to da_xkwerx.

*

  • move '00' to da_xkwerx+13.

*

*

*

  • pack da_xkwerx to xkwert.

data : lgort1 like lips-lgort .

data : d1(13) , d6(13) .

data : d2 type p decimals 2 .

data : d3 type p decimals 0 .

data : d4 type p decimals 2 .

data d5(2) .

data : d8(3) .

unpack xkwert to d1 .

d2 = d1 .

d3 = d2 .

unpack d3 to d6.

d5 = d6+11(2) .

if d5 >= 50 .

d8 = 100 - d5 .

d1 = d6 + d8 .

else .

d1 = d6 - d5 .

endif .

*pack d1 to xkwert .

select single lgort into lgort1 from lips where

vbeln = komp-vgbel and

posnr = komp-vgpos .

IF SY-SUBRC = 0 .

if lgort1 = 'JSTO'.

d1 = 0 .

pack d1 to xkwert.

else .

pack d1 to xkwert.

endif .

ELSE .

pack d1 to xkwert.

ENDIF .

-


Regards,

Rajesh Banka