<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: No functional module exist error in smartforms in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/no-functional-module-exist-error-in-smartforms/m-p/5340713#M1230122</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Below is my code in calling Smartforms and it works. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
DATA: ls_control  TYPE ssfctrlop,                       "#EC NEEDED
          ls_options  TYPE ssfcompop.

    CONSTANTS: lc_formname TYPE tdsfname VALUE 'ZFI_GUI_INVOICE'.

    DATA: lv_fmname TYPE rs38l_fnam.

    CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
      EXPORTING
        formname                 = lc_formname
*       VARIANT                  = ' '
*       DIRECT_CALL              = ' '
     IMPORTING
       fm_name                  = lv_fmname
     EXCEPTIONS
       no_form                  = 1
       no_function_module       = 2
       OTHERS                   = 3.

    IF sy-subrc &amp;lt;&amp;gt; 0.
      MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
              WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.

CALL FUNCTION lv_fmname
        EXPORTING
*          control_parameters = ls_control
          output_options     = ls_options
          user_settings      = 'X'
        TABLES
          im_output          = gt_output
        EXCEPTIONS
          formatting_error   = 1
          internal_error     = 2
          send_error         = 3
          user_canceled      = 4
          OTHERS             = 5.

      IF sy-subrc &amp;lt;&amp;gt; 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 Mar 2009 04:00:01 GMT</pubDate>
    <dc:creator>aris_hidalgo</dc:creator>
    <dc:date>2009-03-11T04:00:01Z</dc:date>
    <item>
      <title>No functional module exist error in smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/no-functional-module-exist-error-in-smartforms/m-p/5340710#M1230119</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi to all experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;getting an error that no function module exist for the smartforms. i have checked the smartform function module exist in se37. what could be the possible reasons for this error .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here is my code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA: fm_name TYPE RS38L_FNAM.

CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
  EXPORTING
    formname                 = 'ZM_MM_PHYINVBC_SMARTFORM'

 IMPORTING
   FM_NAME                  = fm_name
 EXCEPTIONS
   NO_FORM                  = 1
   NO_FUNCTION_MODULE       = 2
   OTHERS                   = 3
          .
IF sy-subrc = 0.
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'
* IMPORTING
*   DOCUMENT_OUTPUT_INFO       =
*   JOB_OUTPUT_INFO            =
*   JOB_OUTPUT_OPTIONS         =
  TABLES
    it_final                   = ziseg[]
 EXCEPTIONS
   FORMATTING_ERROR           = 1
   INTERNAL_ERROR             = 2
   SEND_ERROR                 = 3
   USER_CANCELED              = 4
   OTHERS                     = 5
          .
IF sy-subrc &amp;lt;&amp;gt; 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Mar 2009 02:38:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/no-functional-module-exist-error-in-smartforms/m-p/5340710#M1230119</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-11T02:38:11Z</dc:date>
    </item>
    <item>
      <title>Re: No functional module exist error in smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/no-functional-module-exist-error-in-smartforms/m-p/5340711#M1230120</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try to reactivate the smartform again and get the generated function module &amp;amp; try to use the generated function module from SE38. If it works fine then we can check in different way.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Mar 2009 02:47:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/no-functional-module-exist-error-in-smartforms/m-p/5340711#M1230120</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-11T02:47:02Z</dc:date>
    </item>
    <item>
      <title>Re: No functional module exist error in smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/no-functional-module-exist-error-in-smartforms/m-p/5340712#M1230121</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;make sure if the form is active, the FM will be generated only when you activate the form..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Mar 2009 02:47:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/no-functional-module-exist-error-in-smartforms/m-p/5340712#M1230121</guid>
      <dc:creator>former_member156446</dc:creator>
      <dc:date>2009-03-11T02:47:36Z</dc:date>
    </item>
    <item>
      <title>Re: No functional module exist error in smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/no-functional-module-exist-error-in-smartforms/m-p/5340713#M1230122</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Below is my code in calling Smartforms and it works. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
DATA: ls_control  TYPE ssfctrlop,                       "#EC NEEDED
          ls_options  TYPE ssfcompop.

    CONSTANTS: lc_formname TYPE tdsfname VALUE 'ZFI_GUI_INVOICE'.

    DATA: lv_fmname TYPE rs38l_fnam.

    CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
      EXPORTING
        formname                 = lc_formname
*       VARIANT                  = ' '
*       DIRECT_CALL              = ' '
     IMPORTING
       fm_name                  = lv_fmname
     EXCEPTIONS
       no_form                  = 1
       no_function_module       = 2
       OTHERS                   = 3.

    IF sy-subrc &amp;lt;&amp;gt; 0.
      MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
              WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.

CALL FUNCTION lv_fmname
        EXPORTING
*          control_parameters = ls_control
          output_options     = ls_options
          user_settings      = 'X'
        TABLES
          im_output          = gt_output
        EXCEPTIONS
          formatting_error   = 1
          internal_error     = 2
          send_error         = 3
          user_canceled      = 4
          OTHERS             = 5.

      IF sy-subrc &amp;lt;&amp;gt; 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Mar 2009 04:00:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/no-functional-module-exist-error-in-smartforms/m-p/5340713#M1230122</guid>
      <dc:creator>aris_hidalgo</dc:creator>
      <dc:date>2009-03-11T04:00:01Z</dc:date>
    </item>
  </channel>
</rss>

