<?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>Question Re: FM ssf_function_module_name in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/fm-ssf-function-module-name/qaa-p/3372286#M1349191</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;   see u r correct while generating smartform it generates its generates its own FM the name of that function module is system dependent , i.e. if u develop that smart in development system then suppose it generated FM with name /BCD/00023.&lt;/P&gt;&lt;P&gt;it may differ in quality system and it also difeers in production system so instead of giving that FM name we give smartform name to the FM ssf_function_module_name and we will import FM name and then proceed further &lt;/P&gt;&lt;P&gt;this is the use of the FM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if u have any further quiries my mail id mutyalasunilkumar@gmail.com&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;plzz reward if it is useful...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 31 Jan 2008 06:24:41 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-01-31T06:24:41Z</dc:date>
    <item>
      <title>FM ssf_function_module_name</title>
      <link>https://community.sap.com/t5/technology-q-a/fm-ssf-function-module-name/qaq-p/3372282</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;   what is use of FM ssf_function_module_name  while creating smart form it generates its own function module but we will call the function module by getting its name fom the above FM instead of giving it directly .&lt;/P&gt;&lt;P&gt;can anybody explain it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;max points will be rewarded for good answers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jan 2008 06:20:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/fm-ssf-function-module-name/qaq-p/3372282</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-31T06:20:12Z</dc:date>
    </item>
    <item>
      <title>Re: FM ssf_function_module_name</title>
      <link>https://community.sap.com/t5/technology-q-a/fm-ssf-function-module-name/qaa-p/3372283#M1349188</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if u don't use this FM u will error / dump in other servers &lt;/P&gt;&lt;P&gt;in dev ur activating ur SF then it creating a FM with soem XYZ.&lt;/P&gt;&lt;P&gt;but afterwards u r transporting to qty there it many not create with same name. so to find FM name for&lt;/P&gt;&lt;P&gt;that particular smartform u need to use SSF_function_module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Madhavi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jan 2008 06:21:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/fm-ssf-function-module-name/qaa-p/3372283#M1349188</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-31T06:21:58Z</dc:date>
    </item>
    <item>
      <title>Re: FM ssf_function_module_name</title>
      <link>https://community.sap.com/t5/technology-q-a/fm-ssf-function-module-name/qaa-p/3372284#M1349189</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;For Every smartform,There is one Function Module (se37),.This FM, is GENERATED DYNAMICALLY,and the name is also dynamic. IT MEANS, that the FM name will Be DIFFERENT.in DEV, QA and PRD Server.Hence, we CANNOT HARDCODE the fm name.So, to fetch the FM name, given the smartform name,&lt;/P&gt;&lt;P&gt;this fm SSF_FUNCTION_MODULE_NAME is used. After that, we call the FM dynamically,with some specified/pre-defined format&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Omkaram.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jan 2008 06:23:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/fm-ssf-function-module-name/qaa-p/3372284#M1349189</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-31T06:23:16Z</dc:date>
    </item>
    <item>
      <title>Re: FM ssf_function_module_name</title>
      <link>https://community.sap.com/t5/technology-q-a/fm-ssf-function-module-name/qaa-p/3372285#M1349190</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;  This function module is used for to generate the function module for the smart form.&lt;/P&gt;&lt;P&gt;  We will develop in the development system generally it will generate by number wise but it is not necessary that it have same number in production system so instead of number it will generate the name for the particular smartform so we will not get problem in the quality and production system.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Plzz reward points if it helps.&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jan 2008 06:24:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/fm-ssf-function-module-name/qaa-p/3372285#M1349190</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-31T06:24:37Z</dc:date>
    </item>
    <item>
      <title>Re: FM ssf_function_module_name</title>
      <link>https://community.sap.com/t5/technology-q-a/fm-ssf-function-module-name/qaa-p/3372286#M1349191</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;   see u r correct while generating smartform it generates its generates its own FM the name of that function module is system dependent , i.e. if u develop that smart in development system then suppose it generated FM with name /BCD/00023.&lt;/P&gt;&lt;P&gt;it may differ in quality system and it also difeers in production system so instead of giving that FM name we give smartform name to the FM ssf_function_module_name and we will import FM name and then proceed further &lt;/P&gt;&lt;P&gt;this is the use of the FM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if u have any further quiries my mail id mutyalasunilkumar@gmail.com&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;plzz reward if it is useful...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jan 2008 06:24:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/fm-ssf-function-module-name/qaa-p/3372286#M1349191</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-31T06:24:41Z</dc:date>
    </item>
    <item>
      <title>Re: FM ssf_function_module_name</title>
      <link>https://community.sap.com/t5/technology-q-a/fm-ssf-function-module-name/qaa-p/3372287#M1349192</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;SSF_FUNCTION_MODULE_NAME is used to get the function module name of the smartform dynamically.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In real time you will develop the smartform in development system.&lt;/P&gt;&lt;P&gt;but the generated function module names may vary from client to client and system to system.&lt;/P&gt;&lt;P&gt;So it is better to get the FM names by dynamically only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Bhanu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jan 2008 06:28:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/fm-ssf-function-module-name/qaa-p/3372287#M1349192</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-31T06:28:11Z</dc:date>
    </item>
    <item>
      <title>Re: FM ssf_function_module_name</title>
      <link>https://community.sap.com/t5/technology-q-a/fm-ssf-function-module-name/qaa-p/3372288#M1349193</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;When we are executing the smart forms through report, then we create the function module for that smart form by calling this FM "ssf_function_module_name " and passing the form name.&lt;/P&gt;&lt;P&gt;for eg:&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           = ws_c_formname " form name&lt;/P&gt;&lt;P&gt;      IMPORTING&lt;/P&gt;&lt;P&gt;        fm_name            = ws_c_fm_name " FM created for form&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;then call this FM and pass all the variables to the form from the report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      CALL FUNCTION ws_c_fm_name&lt;/P&gt;&lt;P&gt;        EXPORTING&lt;/P&gt;&lt;P&gt;        &lt;STRONG&gt;all the variables&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;        IMPORTING&lt;/P&gt;&lt;P&gt;          document_output_info = wa_document_output_info_p&lt;/P&gt;&lt;P&gt;          job_output_info      = wa_tab_otf_data&lt;/P&gt;&lt;P&gt;          job_output_options   = wa_job_output_options_p&lt;/P&gt;&lt;P&gt;        TABLES&lt;/P&gt;&lt;P&gt;         &lt;STRONG&gt;tables used in form&lt;/STRONG&gt;&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;But when you are directly execting the smart form then, there is no need of calling this FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nithya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jan 2008 06:33:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/fm-ssf-function-module-name/qaa-p/3372288#M1349193</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-31T06:33:32Z</dc:date>
    </item>
    <item>
      <title>Re: FM ssf_function_module_name</title>
      <link>https://community.sap.com/t5/technology-q-a/fm-ssf-function-module-name/qaa-p/3372289#M1349194</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This message was moderated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Mar 2016 11:53:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/fm-ssf-function-module-name/qaa-p/3372289#M1349194</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-03-22T11:53:39Z</dc:date>
    </item>
  </channel>
</rss>

