Skip to Content
avatar image
Former Member

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                                                  |

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

6 Answers

  • Best Answer
    Jan 02, 2015 at 11:42 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Dera experts,

      i found the error by debug..in the program i have to change something in the program...

  • Jan 02, 2015 at 11:41 AM

    Hi Kaustav,

    I think fm_name returns null value.. Place a debugger and check the Varible VAR, whether it is passing the Smartform name correctly.

    CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'                                                 

    EXPORTING                                                                             

    formname           = var                                                             

    IMPORTING                                                                             

    fm_name            = fm_name                                                         

    EXCEPTIONS                                                                             

    no_form            = 1                                                               

    no_function_module = 2                                                               

    OTHERS             = 3.        

    Here fm_name is null, so place the condition as shown below, that may help to prevent the dump.

    Place a condition as shown below.

    if fm_name is not initial.

    call function fm_name.

    ....

    ...

    Endif.

    Regards

    Rajkumar Narasimman

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 02, 2015 at 11:29 AM

    Hi,

    May be fm not generated properly in smartform so pls activate the smarform and check the parameters which you are passing in driver program and the same parameters which are exist in the smartform. i mean the parameters should be compatible in form and driver program.

    Thanks,

    Sree

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 02, 2015 at 11:30 AM

    Hello Kaustav,

    Please Share Full Code .

    Add comment
    10|10000 characters needed characters exceeded

  • Jan 02, 2015 at 12:00 PM

    Good to know, then you can close your discussion (do you know that you have about 17 open?)

    follow the guidance given in How to close a discussion and why

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 02, 2015 at 12:25 PM

    Hi Das ,

       Here you have to notice few things.

    1) if it is alv report or FM , please check that PRINT form is exist or not , and at the same please check if you written that form in include whether it is active or not.

    2)  as per the above code while calling the smart form FM it is throwing error , please check all the import and export parameters are passing correctly or not.

    Including data types also.

    Thanks & Regards,

    Krishna

    Add comment
    10|10000 characters needed characters exceeded