Skip to Content
0
Former Member
May 26, 2009 at 09:01 AM

Excise Base amount is not updatinf in J_1IEXCDTL table

31 Views

Hi this is Lokesh,

Excise Base amount is not updatinf in J_1IEXCHDR table for this our sdn community has provided

J_1I7_USEREXIT_CALC_EXC_BASE this user exit.

I am not able to implement this user exit.

Can any body gives me some sample code to update that base value to J_1IEXCDTL table.

I am having doubt regarding this issue.

I also got same requirement to update that excise base amount in J_1IEXCDTL table

i have written code as

DATA : W_KONV TYPE KONV.

CLEAR W_KONV.

CLEAR KONV.

READ TABLE KONV INTO W_KONV WITH KEY KSCHL = 'JASS' KNTYP = 'H' KSTAT = 'X'.

IF SY-SUBRC = 0.

CLEAR W_KONV.

READ TABLE KONV INTO W_KONV WITH KEY KPOSN = POSNR

KSCHL = 'JEXP'.

IF SY-SUBRC = 0.

EXCITM_BASE = W_KONV-KAWRT.

ENDIF.

ENDIF.

But this code is working fine only the problem came like if 2 deliveries are going to make shipment and billing docs.

then for that two time JASS condition will come with different values.

But acording to my code only 1st one will take always because all given conditions are similar.

but doc condition(KNUMV) is different but for comparing that number i am not getting reffrence there.

If any one knows solution pls guide me.

Regards,

J.Lokesh