Skip to Content
author's profile photo
Former Member

dump error function module " " not found

Hi everyone. I'm having this weird problem with a smartform. Even though it works fine in my development environment, I can't manage to solve it in qas.

Thing is that I constantly receive a dump informing that the function module "" does not exist.

Debugging a little I found that the SSF_FUNCTION_MODULE_NAME function is not storing the module name in the variable I set as parameter (lf_fm_name type rs38l_fnam).

I've already checked that the formname is correct. Also sought for the function module of the smartform using the se37 and found it, and tried transporting the whole smartform again just in case, but the error persists.

¿Could anyone give me an idea of what else can I check?

Thanks a lot,

Fernando.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

4 Answers

  • Best Answer
    Posted on Sep 13, 2007 at 01:29 PM

    If the environment is a copy from another it can happen that they forget to change something. In this case I think you should look at the table STXFVARI.

    If the field SAPSYSTEM is not changed function SSF_FUNCTION_MODULE_NAME will not return the function module name.

    For example:

    FORMNAME.......................................VARI....SAPRELEASE SAPSYSTEM

    ZFRBR_REMITO......................................................620................QAS

    ZFRFI_FACTURA.....................................................620................PRD

    ZFRFI_ORDENPAGO...............................................620................PRD

    ZFRMM_SOLICITUD_DE_MATERIALES....................620................PRD

    ZFRSD_FACTURA...................................................620................PRD

    ZFRSD_FACTURAS.................................................620................PRD

    ZFRSD_REMITO......................................................620................PRD

    ZMMFMSF007.........................................................620................PRD

    ZMMF_SOLPED......................................................620................PRD

    ZMMR_IMPUESTOS_INTERNOS..............................620................PRD

    In this example all fields should say QAS instead of PRD.

    Please, ask your basis administrator.

    Regards

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Fernando,

      Did u get any solution for ur problem Even i m getting the same issue. Smartform is been moved to QA system , but the problem is it is not generating funcion module. Please share the solution with me. It will be greatful ..

      Kinldy do it.

      Thanks,

      SR

  • Posted on Sep 13, 2007 at 03:52 AM

    Re-check whether your smartform is active or not.

    Regards,

    SaiRam

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Posted on Sep 13, 2007 at 04:32 AM

    before moving from one server to another ........u need to validate u r smartform functionmodule with [ '/'] ..................

    reward points helpful...................

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Posted on Sep 13, 2007 at 04:56 AM

    have you passed the formname in ssf_funtion_module_name and replaced that thing in call function name. Save it and activate it. Then release it and transport it.

    The problem is due to the fact that the function /1bcdwb/ssf---- is present in development but not in production or quality. so do it like this

    DATA: fm_name TYPE rs38l_fnam.

    CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'

    EXPORTING

    formname = 'ZCREDITOR_ACCOUNT_STATEMENT2'

    • VARIANT = ' '

    • DIRECT_CALL = ' '

    IMPORTING

    FM_NAME = fm_name

    • EXCEPTIONS

    • NO_FORM = 1

    • NO_FUNCTION_MODULE = 2

    • OTHERS = 3

    .

    IF sy-subrc <> 0.

    • MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO

    • WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.

    ENDIF.

    CALL FUNCTION fm_name

    EXPORTING

    • ARCHIVE_INDEX =

    • ARCHIVE_INDEX_TAB =

    • ARCHIVE_PARAMETERS =

    • CONTROL_PARAMETERS =

    • MAIL_APPL_OBJ =

    • MAIL_RECIPIENT =

    • MAIL_SENDER =

    • OUTPUT_OPTIONS =

    • USER_SETTINGS = 'X'

    detail = s_detail

    cover = s_cover

    date_low = s_budat-low

    date_high = s_budat-high

    days = s_date

    print_date = l_date

    auditor = l_aud

    • IMPORTING

    • DOCUMENT_OUTPUT_INFO =

    • JOB_OUTPUT_INFO =

    • JOB_OUTPUT_OPTIONS =

    tables

    it_kna1 = it_lfa1

    it_spgl = it_spgl

    • EXCEPTIONS

    • FORMATTING_ERROR = 1

    • INTERNAL_ERROR = 2

    • SEND_ERROR = 3

    • USER_CANCELED = 4

    • OTHERS = 5

    .

    IF sy-subrc <> 0.

    • MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO

    • WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.

    endif.

    Add comment
    10|10000 characters needed characters exceeded