cancel
Showing results for 
Search instead for 
Did you mean: 

Surcharge on VAT is not calculating

Former Member
0 Kudos

Hi CIN Experts

When BED, Cess and SEcess values are changed in MIGO, then during MIRO, VAT is getting calculated correctly but Surcharge on VAT is not getting calculated on changed VAT. When I searched for the same in SDN, I got one user exit J_1I7_USEREXIT_PROCESS_TKOMV. But I do not know where and what code need to be written here. Please tell me if some one has written code for this.

Appreciate your quick response.

Thanks

Ravi

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Dear Mr.Ravi,

it is great u have solved this issue by userexit

in our client site have issue

our abaper is new can u help us how to maintain the same user exit

for calculatinf surcharge on vat

please help

with regards,

shrikant

Former Member
0 Kudos

Hi Shrikant

This is the code we used. Please award points if useful.

data : gc_vat type konv-KWERT.

loop at xkomv.

IF XKOMV-KSCHL = 'JVRD'.

gc_vat = XKOMV-KWERT.

ENDIF.

IF XKOMV-KSCHL = 'YVRD'.

*XKOMV-KWERT = gc_vat * XKOMV-KBETR / 1000.*

ENDIF.

IF XKOMV-KSCHL = 'JVRN'.

gc_vat = XKOMV-KWERT.

ENDIF.

IF XKOMV-KSCHL = 'YVRN'.

*XKOMV-KWERT = gc_vat * XKOMV-KBETR / 1000.*

ENDIF.

modify xkomv.

endloop.

Thanks

Ravi

Former Member
0 Kudos

Hi,

Using the user exist can be complicated.

There are some simpler ways to address the issue

1. Create a condition type for surcharge by copying the condition type of VAT

2. Modify the Tax procedure and introduce the type for surcharge in it

We have done it in similar way

and it is working fine.

Hope it well help you as well.

Award points if useful.

Regards,

Former Member
0 Kudos

Hi Niteen

We created YVRD for Surcharge and we are calculating it on VAT in TAXINN. The probelm here is if user manually changes BED, Cess and SEcess in MIGO, VAT is getting calculated on changed ED values but Surcharge is getting calculated on original ED values from PO. Surcharge should get calculated on VAT for changed ED values. Hope you understand this.

Please suggest me the way now.

Thanks

Ravi

Former Member
0 Kudos

Hi,

Make the new condition as dependent condition on the vat condition in the tax procedure. so that it will calculate on the exact posting values.

Former Member
0 Kudos

I am considering that surcharge is correctely calculated in PO

and u are facing this problem only when excise value are changed in MIGO

go to Tax on good movement -- india-- basic settings -- determination of excise duty -- cond base esxise determination -- Classify Condition Types

make the following entry

your tax procedure --- YVRD Surcharge condiotion type -- APSUR

TAXINN -- YVRD --- APSUR A/P ST Surcharge

this will solve your issue

Former Member
0 Kudos

Hi all

We resolved this issue by using the same user exit I mentioed in my question. Thanks for your time.

Thanks

Ravi

Former Member
0 Kudos

have u tried what i have sugested in my reply , i think ur issues will be solved just be that SPRO setting no need of user exit.

would like to get ur reply if u were able to solve ur issues with that SPRO setting or not