cancel
Showing results for 
Search instead for 
Did you mean: 

Runtime Error

Former Member
0 Kudos

When i try to post Commercial invoice to Accounting i am getting this error.

Runtime Errors SYNTAX_ERROR

Date and Time 01.11.2008 11:37:33

ShrtText

Syntax error in program "SAPLJ1I7 ".

What happened?

Error in ABAP application program.

The current ABAP program "SAPLJ1I4" had to be terminated because one of the

statements could not be executed.

This is probably due to an error in the ABAP program.

In program "SAPLJ1I7 ", the following syntax error occurred

in the Include "LJ1I7$58 " in line 5:

"A FUNCTION already exists with the name "J_1I7_USEREXIT_CALC_EXC_BASE""

"."

" "

" "

Author and last person to change the Include are:

Author "SAP "

Last changed by "SAP "

Error analysis

In program "SAPLJ1I7 ", the following syntax error occurred:

"A FUNCTION already exists with the name "J_1I7_USEREXIT_CALC_EXC_BASE""

"."

" "

" "

igger Location of Runtime Error

Program SAPLJ1I4

Include LJ1I4U34

Row 19

Module type (FUNCTION)

Module Name J_1I_VAT_TAX_ACCOUNT_DETRMINE

urce Code Extract

ne SourceCde

1 FUNCTION J_1I_VAT_TAX_ACCOUNT_DETRMINE.

2 *"----


3 ""Local Interface:

4 *" IMPORTING

5 *" REFERENCE(I_KOMK) TYPE KOMK

6 *" REFERENCE(I_KOMP) TYPE KOMP

7 *" REFERENCE(I_T030K) TYPE T030K

8 *" REFERENCE(I_SHKZG) TYPE SHKZG

9 *" REFERENCE(I_MWSKZ) TYPE MWSKZ OPTIONAL

10 *" CHANGING

11 *" REFERENCE(C_BSET_KONTH) TYPE SAKNR

12 *"----


13 DATA: ls_t001w TYPE t001w,

14 ls_j_1bbranch TYPE j_1bbranch-branch,

15 ls_j_1it030k type j_1it030k,

16 i_xkomo TYPE XKOMO_030.

17

18 *user exit to populate Business Place or Werks

>> CALL FUNCTION 'J_1I7_GET_BUSINESS_PLACE'

20 EXPORTING

21 I_KOMK = I_KOMK

22 I_KOMP = I_KOMP

23 I_T030K = I_T030K

24 I_SHKZG = I_SHKZG

25 I_MWSKZ = I_MWSKZ

26

27 CHANGING

28

29 ls_j_1bbranch = ls_j_1bbranch

30

31 EXCEPTIONS

32 OTHERS = 1.

33

34 if ls_j_1bbranch is initial.

35

36 *--> process India specific functionality only when the

37 *--> BRANCH could be detrmined via the PLANT

38 check not i_komp-werks is initial.

Regards,

Amol

Accepted Solutions (1)

Accepted Solutions (1)

Lakshmipathi
Active Contributor
0 Kudos

Dear Amol

It seems standard Function Module J_1I7_USEREXIT_CALC_EXC_BASE is applied to control the billing documents where if the excise value is zero or not flowing, accounting document / excise invoice should not be generated.

So ensure that in the said billing document, excise value is flowing.

thanks

G. Lakshmipathi

Answers (0)