Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

getting a run time error after executing the z report

Dear experts,

i am getting a runtime error after running the z report.. give me the advice how to solve this error.??

i am giving the run time analysis

Category               ABAP Programming Error

Runtime Errors         CALL_FUNCTION_NOT_FOUND

Except.                CX_SY_DYN_CALL_ILLEGAL_FUNC

ABAP Program           ZFI_CUSTOMER_RTGS

Application Component  CA

Date and Time          02.01.2015 15:13:59

----------------------------------------------------------------------------------------------------

----------------------------------------------------------------------------------------------------

|Short text                                                                                        |

|    Function module " " not found.                                                                |

----------------------------------------------------------------------------------------------------

----------------------------------------------------------------------------------------------------

|What happened?                                                                                    |

|    The function module " " is called,                                                            |

|    but cannot be found in the library.                                                           |

|                                                                                                  |

|    Error in the ABAP Application Program                                                         |

|                                                                                                  |

|    The current ABAP program "ZFI_CUSTOMER_RTGS" had to be terminated because it                  |

|     has                                                                                          |

|    come across a statement that unfortunately cannot be executed.                                |

----------------------------------------------------------------------------------------------------

----------------------------------------------------------------------------------------------------

|What can you do?                                                                                  |

|    Note down which actions and inputs caused the error.                                          |

|                                                                                                  |

|                                                                                                  |

|    To process the problem further, contact you SAP system                                        |

|    administrator.                                                                                |

|                                                                                                  |

|    Using Transaction ST22 for ABAP Dump Analysis, you can look                                   |

|    at and manage termination messages, and you can also                                          |

|    keep them for a long time.                                                                    |

----------------------------------------------------------------------------------------------------

----------------------------------------------------------------------------------------------------

|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 in                                                                                |

|    procedure "PRINT" "(FORM)", nor was it propagated by a RAISING clause.                        |

|    Since the caller of the procedure could not have anticipated that the                         |

|    exception would occur, the current program is terminated.                                     |

|    The reason for the exception is:                                                              |

|    The program "ZFI_CUSTOMER_RTGS" contains the CALL FUNCTION statement.                         |

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

|                                                                                                  |

|    No function module exists with the name " ".                                                  |

|    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).                                                                       |

|                                                                                                  |

----------------------------------------------------------------------------------------------------

----------------------------------------------------------------------------------------------------

|How to correct the error                                                                          |

|    Check the last transports to the SAP System.                                                  |

|    Is the program "ZFI_CUSTOMER_RTGS" currently being changed?                                   |

|    If an enqueue/dequeue module is involved, is the activation                                   |

|    of the lock object missing in the ABAP/4 Dictionary?                                          |

|                                                                                                  |

|                                                                                                  |

|    If the error occures in a non-modified SAP program, you may be able to                        |

|    find an interim solution in an SAP Note.                                                      |

|    If you have access to SAP Notes, carry out a search with the following                        |

|    keywords:                                                                                     |

|                                                                                                  |

|    "CALL_FUNCTION_NOT_FOUND" "CX_SY_DYN_CALL_ILLEGAL_FUNC"                                       |

|    "ZFI_CUSTOMER_RTGS" or "ZFI_CUSTOMER_RTGS"                                                    |

|    "PRINT"                                                                                       |

|                                                                                                  |

|                                                                                                  |

|    Function modules with names similar to " ":                                                   |

|                                                                                                  |

|                                                                                                  |

|    If you cannot solve the problem yourself and want to send an error                            |

|    notification to SAP, include the following information:                                       |

|                                                                                                  |

|    1. The description of the current problem (short dump)                                        |

|                                                                                                  |

|       To save the description, choose "System->List->Save->Local File                            |

|    (Unconverted)".                                                                               |

|                                                                                                  |

|    2. Corresponding system log                                                                   |

|                                                                                                  |

|       Display the system log by calling transaction SM21.                                        |

|       Restrict the time interval to 10 minutes before and five minutes                           |

|    after the short dump. Then choose "System->List->Save->Local File                             |

|    (Unconverted)".                                                                               |

|                                                                                                  |

|    3. If the problem occurs in a problem of your own or a modified SAP                           |

|    program: The source code of the program                                                       |

|       In the editor, choose "Utilities->More                                                     |

|    Utilities->Upload/Download->Download".                                                        |

|                                                                                                  |

|    4. Details about the conditions under which the error occurred or which                       |

|    actions and input led to the error.                                                           |

|                                                                                                  |

|    The exception must either be prevented, caught within proedure                                |

|    "PRINT" "(FORM)", or its possible occurrence must be declared in the                          |

|    RAISING clause of the procedure.                                                              |

|    To prevent the exception, note the following:                                                 |

----------------------------------------------------------------------------------------------------

----------------------------------------------------------------------------------------------------

|System environment                                                                                |

|    SAP Release..... 731                                                                          |

|    SAP Basis Level. 0012                                                                         |

|                                                                                                  |

|    Application server... "vjdpr2_svc"                                                            |

|    Network address...... "10.101.141.6"                                                          |

|    Operating system..... "AIX"                                                                   |

|    Release.............. "7.1"                                                                   |

|    Hardware type........ "00051655D600"                                                          |

|    Character length.... 8 Bits                                                                   |

|    Pointer length....... 64 Bits                                                                 |

|    Work process number.. 1                                                                       |

|    Shortdump setting.... "full"                                                                  |

|                                                                                                  |

|    Database server... "vjdpr1"                                                                   |

|    Database type..... "ORACLE"                                                                   |

|    Database name..... "VJP"                                                                      |

|    Database user ID.. "SAPSR3"                                                                   |

|                                                                                                  |

|    Terminal.......... "VL-FIN-KISHORE"                                                           |

|                                                                                                  |

|    Char.set.... "en_US.ISO8859-1"                                                                |

|                                                                                                  |

|    SAP kernel....... 721                                                                         |

|    created (date)... "May 27 2014 03:46:44"                                                      |

|    create on........ "AIX 1 6 00CFADC14C00"                                                      |

|    Database version. "OCI_112, 11.2.0.4.0, V1, default"                                          |

|                                                                                                  |

|    Patch level. 300                                                                              |

|    Patch text.. " "                                                                              |

|                                                                                                  |

|    Database............. "ORACLE 10.1.0.*.*, ORACLE 10.2.0.*.*, ORACLE 11.2.*.*.*"               |

|    SAP database version. 721                                                                     |

|    Operating system..... "AIX 1 6, AIX 1 7"                                                      |

|                                                                                                  |

|    Memory consumption                                                                            |

|    Roll.... 0                                                                                    |

|    EM...... 12569568                                                                             |

|    Heap.... 0                                                                                    |

|    Page.... 122880                                                                               |

|    MM Used. 2361376                                                                              |

|    MM Free. 1825872                                                                              |

----------------------------------------------------------------------------------------------------

----------------------------------------------------------------------------------------------------

|User and Transaction                                                                              |

|    Client.............. 400                                                                      |

|    User................ 311432                                                                   |

|    Language key........ "E"                                                                      |

|    Transaction......... "ZNCP "                                                                  |

|    Transaction ID...... "54A3D535D0950FB0E10080000A658D08"                                       |

|                                                                                                  |

|    EPP Whole Context ID.... "54A3D501D0950FB0E10080000A658D08"                                   |

|    EPP Connection ID....... 00000000000000000000000000000000                                     |

|    EPP Caller Counter...... 0                                                                    |

|                                                                                                  |

|    Program............. "ZFI_CUSTOMER_RTGS"                                                      |

|    Screen.............. "SAPMSSY0 1000"                                                          |

|    Screen Line......... 6                                                                        |

|    Debugger Active..... "none"                                                                   |

----------------------------------------------------------------------------------------------------

----------------------------------------------------------------------------------------------------

|Information on where terminated                                                                   |

|    Termination occurred in the ABAP program "ZFI_CUSTOMER_RTGS" - in "PRINT".                    |

|    The main program was "ZFI_CUSTOMER_RTGS ".                                                    |

|                                                                                                  |

|    In the source code you have the termination point in line 392                                 |

|    of the (Include) program "ZFI_CUSTOMER_RTGS".                                                 |

|    The termination is caused because exception "CX_SY_DYN_CALL_ILLEGAL_FUNC"                     |

|     occurred in                                                                                  |

|    procedure "PRINT" "(FORM)", but it was neither handled locally nor declared                   |

|    in the RAISING clause of its signature.                                                       |

|                                                                                                  |

|    The procedure is in program "ZFI_CUSTOMER_RTGS "; its source code begins in                   |

|     line                                                                                         |

|    252 of the (Include program "ZFI_CUSTOMER_RTGS ".                                             |

----------------------------------------------------------------------------------------------------

----------------------------------------------------------------------------------------------------

|Source Code Extract                                                                               |

----------------------------------------------------------------------------------------------------

|Line |SourceCde                                                                                   |

----------------------------------------------------------------------------------------------------

|  362|        w_control-no_open   = 'X'.                                                          |

|  363|        w_control-no_close  = 'X'.                                                          |

|  364|        w_input-tdnoprev = ' '.                                                             |

|  365|        w_input-tdnoprint = 'X'.                                                            |

|  366|        w_input-tdnoarch = 'X'.                                                             |

|  367|                                                                                            |

|  368|        CALL FUNCTION 'SSFCOMP_OPEN'                                                        |

|  369|          EXPORTING                                                                         |

|  370|            input = w_input                                                                 |

|  371|          EXCEPTIONS                                                                        |

|  372|            error = 1.                                                                      |

|  373|      ENDIF.                                                                                |

|  374|    ENDIF.                                                                                  |

|  375|  ENDIF.                                                                                    |

|  376|                                                                                            |

|  377|  CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'                                                  |

|  378|    EXPORTING                                                                               |

|  379|      formname           = var                                                              |

|  380|    IMPORTING                                                                               |

|  381|      fm_name            = fm_name                                                          |

|  382|    EXCEPTIONS                                                                              |

|  383|      no_form            = 1                                                                |

|  384|      no_function_module = 2                                                                |

|  385|      OTHERS             = 3.                                                               |

|  386|                                                                                            |

|  387|  IF wa_rtgs-flag = 'X' AND NOT uid IS INITIAL.                                             |

|  388|    w_control-no_open   = 'X'.                                                              |

|  389|    w_control-no_close  = 'X'.                                                              |

|  390|  ENDIF.                                                                                    |

|  391|                                                                                            |

|>>>>>|  CALL FUNCTION   fm_name                                                " '/1BCDWB/SF000002|

|  393|    EXPORTING                                                                               |

|  394|     control_parameters          = w_control                                                |

|  395|      pay_doc1                   = v_belnr                                                  |

|  396|      company1                   = v_bukrs                                                  |

|  397|      f_year                     = v_year                                                   |

|  398|      v_date                     = v_date                                                   |

|  399|      w_rgpno                     = w_rgpno                                                 |

|  400|      p_bankn                    = p_bankn                                                  |

|  401|      v_bankn                    = v_bankn                                                  |

|  402|      v_banka                    = v_banka                                                  |

|  403|      v_stras                    = v_stras                                                  |

|  404|      v_ort01                    = v_ort01                                                  |

|  405|      v_brnch                    = v_brnch                                                  |

|  406|      p_brnch                     = p_brnch                                                 |

|  407|      p_banka                     = p_banka                                                 |

|  408|      p_ort01                     = p_ort01                                                 |

|  409|      p_swift                     = p_swift                                                 |

|  410|      v_wrbtr                     = v_wrbtr                                                 |

|  411|      v_word                      = v_word                                                  |

----------------------------------------------------------------------------------------------------

Former Member
replied

shouldn't an ABAPer be able to debug?

the dump clearly says that the function module name in field fm_name   is empty.

As you get the name from the earlier call SSF_FUNCTION_MODULE_NAME you would probably need to check if your field var has a valid content and if SSF_FUNCTION_MODULE_NAME did find anything.

You did not even react on the possible exceptions defined for that function call.

0 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question