cancel
Showing results for 
Search instead for 
Did you mean: 

Rounding off VAT and CST values

Former Member
0 Kudos

Dear All,

I have a requirement where in the value for CST should not be rounded off and the VAT value should be rounded off.

eg : 47.46 should get calculated for CST

47 should get calculated for VAT what needs to be done in the customising.

currently the rounding rule in these condition type is set as commercial,Company code setting has been maintined OB90 and the Alt tax classification has been maintained as 017 for both the condition types.What else needs to be done ? Kindly help.

Regards,

K.vivek

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi,

Check 013 in Requirement against the req cond type. the prog should be as follows,

  • Rounding rule according to T001R

form kobed_013.

sy-subrc = 4.

check: t001r-reinh ne 0.

sy-subrc = 0.

endform.

  • Prestep

form kobev_013.

sy-subrc = 4.

check: t001r-reinh ne 0.

sy-subrc = 0.

endform.

Alt calc type 017, for which the prog should be,

  • Round the amount according to T001R

form frm_kondi_wert_017.

check: rekursiv ne 'A'.

check: t001r-reinh ne 0.

xkwert = xkwert * ( 1000 / t001r-reinh ) / 1000 * t001r-reinh.

endform.

Rgs,

AK

Former Member
0 Kudos

HI,

I tried this is not working .FYI the Tax procedure i am using is TAXINJ procedure.Is there any routine with which i can control this.

Regards,

K.Vivek

Former Member
0 Kudos

hello,

Dear it's better to create alternative condition type & put the coding in that, after that assign that to condition type in pricing procedure..

take kwert from condition type & round off that to nearest value

reagards

amit agrawal

former_member206976
Active Contributor
0 Kudos

Hi,

This is enough, maintain 17Alt cal type and 13 requirement for which condition type you require rounding.

regards