<?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: whats the functionality of this function module(SSF_FUNCTION_MODULE_NAME) in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/whats-the-functionality-of-this-function-module-ssf-function-module-name/m-p/1780738#M336511</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;Check Programs SF_EXAMPLE_01, SF_EXAMPLE_02, SF_EXAMPLE_03. to know the purpose of usage .. and also ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/1c/f40c5bddf311d3b574006094192fe3/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/1c/f40c5bddf311d3b574006094192fe3/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;* print data
  call function 'SSF_FUNCTION_MODULE_NAME'
       exporting  formname           = p_form
*                 variant            = ' '
*                 direct_call        = ' '
       importing  fm_name            = fm_name
       exceptions no_form            = 1
                  no_function_module = 2
                  others             = 3.

  if sy-subrc &amp;lt;&amp;gt; 0.
*   error handling
    message id sy-msgid type sy-msgty number sy-msgno
            with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    exit.
  endif.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Santosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 04 Dec 2006 13:17:22 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-12-04T13:17:22Z</dc:date>
    <item>
      <title>whats the functionality of this function module(SSF_FUNCTION_MODULE_NAME)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/whats-the-functionality-of-this-function-module-ssf-function-module-name/m-p/1780736#M336509</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi everybody,&lt;/P&gt;&lt;P&gt;  i m working on smartforms now, and i have seen some function module named SSF_FUNCTION_MODULE_NAME.could anybody tell me why we use this fm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;akmal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Dec 2006 13:12:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/whats-the-functionality-of-this-function-module-ssf-function-module-name/m-p/1780736#M336509</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-04T13:12:34Z</dc:date>
    </item>
    <item>
      <title>Re: whats the functionality of this function module(SSF_FUNCTION_MODULE_NAME)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/whats-the-functionality-of-this-function-module-ssf-function-module-name/m-p/1780737#M336510</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Whenever a smart form is activated function module is generated. This FM returns the name of the generated function module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    FORMNAME             = '&amp;lt;form name&amp;gt;'&lt;/P&gt;&lt;P&gt;  IMPORTING&lt;/P&gt;&lt;P&gt;    FM_NAME              = fm_name&lt;/P&gt;&lt;P&gt;  EXCEPTIONS&lt;/P&gt;&lt;P&gt;    NO_FORM              = 1&lt;/P&gt;&lt;P&gt;    NO_FUNCTION_MODULE   = 2&lt;/P&gt;&lt;P&gt;    OTHERS               = 3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When the form is activated, the system automatically generates an internal name for the function module. The function module SSF_FUNCTION_MODULE_NAME is used to derive the name of the generated function module. This internal name is stored in the variable FM_NAME in the coding. In this function the form name has to be passed as the export parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The second call is to the function FN_NAME. The import and export parameters of the function module must be specified in the form interface. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The generated function module is thus called and populated with the corresponding data from the application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Vibha &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Please mark all the helpful answers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Dec 2006 13:14:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/whats-the-functionality-of-this-function-module-ssf-function-module-name/m-p/1780737#M336510</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-04T13:14:20Z</dc:date>
    </item>
    <item>
      <title>Re: whats the functionality of this function module(SSF_FUNCTION_MODULE_NAME)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/whats-the-functionality-of-this-function-module-ssf-function-module-name/m-p/1780738#M336511</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;Check Programs SF_EXAMPLE_01, SF_EXAMPLE_02, SF_EXAMPLE_03. to know the purpose of usage .. and also ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/1c/f40c5bddf311d3b574006094192fe3/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/1c/f40c5bddf311d3b574006094192fe3/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;* print data
  call function 'SSF_FUNCTION_MODULE_NAME'
       exporting  formname           = p_form
*                 variant            = ' '
*                 direct_call        = ' '
       importing  fm_name            = fm_name
       exceptions no_form            = 1
                  no_function_module = 2
                  others             = 3.

  if sy-subrc &amp;lt;&amp;gt; 0.
*   error handling
    message id sy-msgid type sy-msgty number sy-msgno
            with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    exit.
  endif.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Santosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Dec 2006 13:17:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/whats-the-functionality-of-this-function-module-ssf-function-module-name/m-p/1780738#M336511</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-04T13:17:22Z</dc:date>
    </item>
    <item>
      <title>Re: whats the functionality of this function module(SSF_FUNCTION_MODULE_NAME)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/whats-the-functionality-of-this-function-module-ssf-function-module-name/m-p/1780739#M336512</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;Please go through below link ,&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/1c/f40c5bddf311d3b574006094192fe3/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/1c/f40c5bddf311d3b574006094192fe3/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;*mark useful answers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Dec 2006 13:19:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/whats-the-functionality-of-this-function-module-ssf-function-module-name/m-p/1780739#M336512</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-04T13:19:31Z</dc:date>
    </item>
    <item>
      <title>Re: whats the functionality of this function module(SSF_FUNCTION_MODULE_NAME)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/whats-the-functionality-of-this-function-module-ssf-function-module-name/m-p/1780740#M336513</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this Smartforms steps document.&lt;/P&gt;&lt;P&gt;&lt;A href="http://smoschid.tripod.com/How_to_do_things_in_SAP/How_To_Build_SMARTFORMS/How_To_Build_SMARTFORMS.html" target="test_blank"&gt;http://smoschid.tripod.com/How_to_do_things_in_SAP/How_To_Build_SMARTFORMS/How_To_Build_SMARTFORMS.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Dec 2006 13:23:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/whats-the-functionality-of-this-function-module-ssf-function-module-name/m-p/1780740#M336513</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-04T13:23:47Z</dc:date>
    </item>
    <item>
      <title>Re: whats the functionality of this function module(SSF_FUNCTION_MODULE_NAME)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/whats-the-functionality-of-this-function-module-ssf-function-module-name/m-p/1780741#M336514</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi akmal,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. SMARTFORM  &amp;lt;----&lt;/P&gt;&lt;HR originaltext="----------------" /&gt;&lt;P&gt;&amp;gt; Function Module&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. For Every smartform,&lt;/P&gt;&lt;P&gt;   There is one Function Module (se37)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. This FM, is GENERATED DYNAMICALLY,&lt;/P&gt;&lt;P&gt;   and the name is also dynamic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. IT MEANS, that the FM name will Be DIFFERENT&lt;/P&gt;&lt;P&gt;   in DEV, QA and PRD Server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5. Hence, we CANNOT HARDCODE the fm name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;6. So, to fetch the FM name,  given the smartform name,&lt;/P&gt;&lt;P&gt;   this fm SSF_FUNCTION_MODULE_NAME is used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;7. After that, we call the FM dynamically,&lt;/P&gt;&lt;P&gt;    with some specified/pre-defined format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;amit m.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Dec 2006 13:23:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/whats-the-functionality-of-this-function-module-ssf-function-module-name/m-p/1780741#M336514</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-04T13:23:48Z</dc:date>
    </item>
    <item>
      <title>Re: whats the functionality of this function module(SSF_FUNCTION_MODULE_NAME)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/whats-the-functionality-of-this-function-module-ssf-function-module-name/m-p/1780742#M336515</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;this Function Module is to find out the Function module generated for the Smartform &lt;/P&gt;&lt;P&gt;after calling this u will get the FM name in the fm_name and call the Fm &lt;/P&gt;&lt;P&gt;sample cod ei sgivend below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : v_phone(10) type n.&lt;/P&gt;&lt;P&gt;       v_po_no type ekpo-ebeln.&lt;/P&gt;&lt;P&gt;data   it_itab type standard table of ekpo with header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parameters : po_no like v_po_no,&lt;/P&gt;&lt;P&gt;             p_form type tdsfname.&lt;/P&gt;&lt;P&gt;data  fm_name type rs38l_fnam.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select * from ekpo into table it_itab&lt;/P&gt;&lt;P&gt;      where ebeln = po_no.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*'/1BCDWB/SF00000184'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call function 'SSF_FUNCTION_MODULE_NAME'&lt;/P&gt;&lt;P&gt;  exporting&lt;/P&gt;&lt;P&gt;    formname                 = p_form&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  VARIANT                  = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  DIRECT_CALL              = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt; importing&lt;/P&gt;&lt;P&gt;   fm_name                  = fm_name&lt;/P&gt;&lt;P&gt; exceptions&lt;/P&gt;&lt;P&gt;   no_form                  = 1&lt;/P&gt;&lt;P&gt;   no_function_module       = 2&lt;/P&gt;&lt;P&gt;   others                   = 3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt; message id sy-msgid type sy-msgty number sy-msgno&lt;/P&gt;&lt;P&gt;         with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call function fm_name&lt;/P&gt;&lt;P&gt; exporting&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  ARCHIVE_INDEX              = ARCHIVE_INDEX&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  ARCHIVE_INDEX_TAB          = ARCHIVE_INDEX_TAB&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  ARCHIVE_PARAMETERS         = ARCHIVE_PARAMETERS&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  CONTROL_PARAMETERS         = CONTROL_PARAMETERS&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  MAIL_APPL_OBJ              = MAIL_APPL_OBJ&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  MAIL_RECIPIENT             = MAIL_RECIPIENT&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  MAIL_SENDER                = MAIL_SENDER&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  OUTPUT_OPTIONS             = OUTPUT_OPTIONS&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  USER_SETTINGS              = 'X'&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;   date                       = sy-datum&lt;/P&gt;&lt;P&gt;   phone                      = v_phone&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  DOCUMENT_OUTPUT_INFO       = DOCUMENT_OUTPUT_INFO&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  JOB_OUTPUT_INFO            = JOB_OUTPUT_INFO&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  JOB_OUTPUT_OPTIONS         = JOB_OUTPUT_OPTIONS&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  tables&lt;/P&gt;&lt;P&gt;    it_itab                    = it_itab&lt;/P&gt;&lt;P&gt; exceptions&lt;/P&gt;&lt;P&gt;   formatting_error           = 1&lt;/P&gt;&lt;P&gt;   internal_error             = 2&lt;/P&gt;&lt;P&gt;   send_error                 = 3&lt;/P&gt;&lt;P&gt;   user_canceled              = 4&lt;/P&gt;&lt;P&gt;   others                     = 5&lt;/P&gt;&lt;P&gt;          .&lt;/P&gt;&lt;P&gt;if sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt; message id sy-msgid type sy-msgty number sy-msgno&lt;/P&gt;&lt;P&gt;         with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Dec 2006 13:30:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/whats-the-functionality-of-this-function-module-ssf-function-module-name/m-p/1780742#M336515</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-04T13:30:27Z</dc:date>
    </item>
  </channel>
</rss>

