Skip to Content
0
Former Member
May 20, 2011 at 11:01 AM

CALL_FUNCTION_NOT_FOUND with CX_SY_DYN_CALL_ILLEGAL_FUNC exception.

321 Views

The function module "ZPOPUP_WITH_TABLE_DISPLAY" was called, but cannot be

found in the Function Library.

An exception occurred. This exception is dealt with in more detail below

. The exception, which is assigned to the class 'CX_SY_DYN_CALL_ILLEGAL_FUNC',

was neither

caught nor passed along using a RAISING clause, in the procedure

"USEREXIT_SAVE_DOCUMENT_PREPARE" "(FORM)"

.

Since the caller of the procedure could not have expected this exception

to occur, the running program was terminated.

The reason for the exception is:

The program "SAPMV45A" contains a CALL FUNCTION statement. The name

of the function module to be called is "ZPOPUP_WITH_TABLE_DISPLAY".

No function module exists with the name "ZPOPUP_WITH_TABLE_DISPLAY".

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

Source code extract

Caution: Program has changed

Caution: At time of termination, Active source code no longer available

017770 ? EXPORTING

017780 ? TEXTLINE1 = 'Are these incoterms correct: '

017790 ? TEXTLINE2 = INCOTERMS

017800 ? TITEL = 'Incoterms'

017810 ? IMPORTING

017820 ? ANSWER = ANSWER

017830 ? EXCEPTIONS

017840 ? OTHERS = 1.

017850 ? IF ANSWER = 'N'.

017860 ? FCODE = 'ENT1'.

017870 ? LEAVE TO SCREEN 300.

017880 ? ENDIF.

017890 ? IF ANSWER = 'A'.

017900 ? FCODE = 'ENT1'.

017910 ? LEAVE TO SCREEN 411.

017920 ? ENDIF.

017930 ? ENDIF.

017940 ?

017950 ? * 4.

017960 ? * Emergency orders for spares may not have more than 5 items, each of

017970 ? * which may not have a quantity greater than 5. Also, flammable goods

017980 ? * are not allowed on emergency orders.

017990 ? DATA: ITEM_COUNT TYPE P.

018000 ? IF VBAK-AUART = 'ZSTD' AND

018010 ? ( VBAK-VSBED = '20' OR

018020 ? VBAK-VSBED = '21' ).

018030 ? LOOP AT XVBAP WHERE WERKS = 'NL10'.

018040 ? CHECK XVBAP-UPDKZ NE 'D'.

018050 ?

018060 ? *** Removed by KDP 09/07/99 .

-- - > ? * if xvbap-kwmeng gt 5000.

018080 ? * message i999 with 'Item qty for emergency SABRE orders may not'

018090 ? * 'be > 5'.

018100 ? * fcode = 'ENT1'.

018110 ? * leave to screen 402.

018120 ? * endif.

018130 ? *** end of removal

i dont know why this is giving me error at commented line.please guide me how to solve this issue