Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Excise Base amount not updated in J_1iexcdtl table -reg

Former Member
0 Kudos

Dear Gurus,

We have used SAP Ecc 5.0 Patch level 21. In patch level 20, SAP admit without delivery , can do commercial billing and excise billing in foreground. After batch update SAP not support excise invoice creation in foreground. It support only background. We have 2 senario. 1 is capex sales . ie. without material stock we have raise the comm.billing and excise billing. 2 is supplimentary billing. both the senario now getting effected because of no delivery. Asper SAP advise we have setting for background process excise invoice creation. Excise invoice created. but excise base amount not updated in j_1iexcdtl table. Using J_1I7_USEREXIT_CALC_EXC_BASE user exit we are trying to update the same. For single material it works fine. But more than one material for the first material's base amount is updated in all materials. for your reference i have mentioned the codding . SAP advise it is possible to update excise base amount. But not possible to do. pl.adivse if any correct or guide to solve it.

FUNCTION J_1I7_USEREXIT_CALC_EXC_BASE.

*"----


""Local Interface:

*" IMPORTING

*" VALUE(EXCITM_BASE) TYPE KOMV-KAWRT

*" VALUE(POSNR) TYPE VBRP-POSNR

*" EXPORTING

*" VALUE(EXCITM_BASE) TYPE KOMV-KAWRT

*" TABLES

*" KONV STRUCTURE KONV

*"----


*{ INSERT RDSK925285 1

TABLES : KONV.

data : W_INDEX LIKE SY-TABIX.

DATA :ITAB LIKE TABLE OF KONV WITH HEADER LINE.

DATA :ITAB1 LIKE TABLE OF KOmV WITH HEADER LINE.

ITAB1[] = KONV[].

DATA : BEGIN OF I_TAB OCCURS 0,

KAWRT LIKE KONV-KAWRT,

POSNR LIKE VBRP-POSNR,

END OF I_TAB.

LOOP AT ITAB1.

.

READ TABLE ITAB1 WITH KEY KSCHL = 'JMOD' KPOSN = ITAB1-KPOSN.

IF SY-SUBRC EQ 0.

EXCITM_BASE = ITAB1-KAWRT.

POSNR = ITAB1-KPOSN.

ENDIF.

ENDLOOP.

*} INSERT

ENDFUNCTION.

Thanks & Regards

R.Udayakumar

1 REPLY 1

Former Member
0 Kudos

solved with the same user exit