Application Development and Automation 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: 
Read only

Abap run time error

Former Member
0 Likes
1,280

This error is related to WCM (Work clearance process)

Whule excecuting the change transaction , getting this error in development server.

Runtime Errors CALL_FUNCTION_NOT_FOUND

Except. CX_SY_DYN_CALL_ILLEGAL_FUNC

Short text

Function module "WCGW_OBJ_IWERK_GET" not found.

What happened?

The function module "WCGW_OBJ_IWERK_GET" is called,

but cannot be found in the library.

Error in the ABAP Application Program

The current ABAP program "SAPLWCFE" had to be terminated because it has

come across a statement that unfortunately cannot be executed.

Error analysis

An exception occurred that is explained in detail below.

The exception, which is assigned to class 'CX_SY_DYN_CALL_ILLEGAL_FUNC', was

not caught and

therefore caused a runtime error.

The reason for the exception is:

The program "SAPLWCFE" contains the CALL FUNCTION statement.

The name of the function module to be called is "WCGW_OBJ_IWERK_GET".

No function module exists with the name "WCGW_OBJ_IWERK_GET".

All function modules are listed in the Function Library (SE37).

-

Possible reasons:

a) Wrong name specified. Pay particular attention to

upper/lower case and underscores ("_").

or

b) Transport error

c) In the case of an enqueue/dequeue module,

the lock object may not have been activated

(ABAP/4 Dictionary).

Missing Handling of System Exception

Program SAPLWCFE

Trigger Location of Exception

Program SAPLWCFE

Include LWCFEI01

Row 70

Module type (MODULE PAI)

Module Name D1100_INF

Source Code Extract

Line SourceCde

40 LEAVE TO TRANSACTION ssc-fcode.

41 WHEN wctpf_navigation-exit.

42 * CREATION <- .f.

43 * (your are reminded, that FB 'WCFX_DIALOG_INIT' isn't called)

44 CALL FUNCTION 'WCFX_CREATION_RESET'

45 EXCEPTIONS

46 error = 1

47 OTHERS = 2.

48 PERFORM lwcfwf01_exception_show IN PROGRAM saplwcfw

49 USING

50 sy-subrc

51 'WCFX_CREATION_RESET'.

52

53 LEAVE PROGRAM.

54 WHEN OTHERS.

55 * => bug

56 MESSAGE a724 WITH ssc-fcode.

57 * Funktionscode (&) ist nicht definiert

58 ENDCASE.

59 ENDMODULE. " D1100_EXIT INPUT

60

61 ************************************************************************

62 * Module D1100_INF INPUT

63 *----


64 * Purpose: get specific fields (WCM object) for (global) "INF"

65 ************************************************************************

66 MODULE d1100_inf INPUT.

67 CHECK ( wcsresp-iwerk IS NOT INITIAL ).

68

69 * correct invisible planning plant at change/display mode

>>>>> CALL FUNCTION 'WCGW_OBJ_IWERK_GET'

71 EXPORTING

72 i_aktyp = inf-aktyp

73 i_iwerk = wcsresp-iwerk

74 i_objart = inf-objart

75 i_objtyp = inf-objtyp

76 i_objkey = wcswap-wapnr

77 IMPORTING

78 e_iwerk = wcsresp-iwerk

79 EXCEPTIONS

80 error = 1

81 OTHERS = 2.

82 PERFORM lwcfwf01_exception_show IN PROGRAM saplwcfw

83 USING

84 sy-subrc

85 'WCGW_OBJ_IWERK_GET'.

86

87 * read customizing view for WCM object

88 inf-iwerk = wcsresp-iwerk.

89 CALL FUNCTION 'WCFC_WCCO_GET'

Thanks & regards

Sandeep

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
718

Hi,

This all seems fairly self explanatory.

The program "SAPLWCFE" contains the CALL FUNCTION statement. The name of the function module to be called is "WCGW_OBJ_IWERK_GET". No function module exists with the name "WCGW_OBJ_IWERK_GET".

Function module WCGW_OBJ_IWERK_GET is missing. I've checked in my system and it exists, so I guess you need to find out what's happened to it in your system.

Regards,

Nick

2 REPLIES 2
Read only

Former Member
0 Likes
719

Hi,

This all seems fairly self explanatory.

The program "SAPLWCFE" contains the CALL FUNCTION statement. The name of the function module to be called is "WCGW_OBJ_IWERK_GET". No function module exists with the name "WCGW_OBJ_IWERK_GET".

Function module WCGW_OBJ_IWERK_GET is missing. I've checked in my system and it exists, so I guess you need to find out what's happened to it in your system.

Regards,

Nick

Read only

Former Member
0 Likes
718

Thanks