cancel
Showing results for 
Search instead for 
Did you mean: 

Problem in Rounding rule.

0 Kudos

Hai all SD gurus,

The profarma invoice have 20 line items with Excise tax codes.In the item level, the value of ECess JECS is calculated and rounded of to next value.So what happen is at last in the header condition tab, total value of Ecess is increased with Rs.2 i.e., Total base value is 53,113.80 , then BED is @ of 8 %4,249.10 and the Ecss is @ 2% is 87 instead of 85,the SECS

is @ 1% is 43.Here the problem is in ECESS calculation at the header level. How to correct this?.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

You can write a round off routine and attach to alt cal type column in pricing procedure.

Routine is given below which i used in my project to round off to the nearest amount.

CALL FUNCTION 'J_1I6_ROUND_TO_NEAREST_AMT'

EXPORTING

I_AMOUNT = xkomv-kwert

IMPORTING

E_AMOUNT = xkomv-kwert.

modify table xkomv transporting kwert.

xkwert = xkomv-kwert.

Reward points if useful.

Regards,

Anbu

Answers (2)

Answers (2)

liuchuancha
Explorer
0 Kudos

v\06 has the comprehension details.

Lakshmipathi
Active Contributor
0 Kudos

Appreciate your intention to help the community members but at the sametime, please see that you respond to a latest discussion and not an old one like this which has been created 12 years back

eduardo_hinojosa
Active Contributor
0 Kudos

Hi

Perhaps note 166952 'Rounding when distributing header conditions' helps you,

Regards,

Eduardo