<?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: functional module in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/functional-module/m-p/1500398#M231867</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;U have use like this.&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 = 'ZSAMPLE1'&lt;/P&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;P&gt;FM_NAME = LF_FMNAME&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;CALL FUNCTION LF_FMNAME&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;.....&lt;/P&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;P&gt;.......&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If useful reward.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vasanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Aug 2006 11:14:42 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-08-23T11:14:42Z</dc:date>
    <item>
      <title>functional module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/functional-module/m-p/1500394#M231863</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;my problem is like this&lt;/P&gt;&lt;P&gt;after activating my smartform i got a functional module&lt;/P&gt;&lt;P&gt;'/1BCDWB/SF00000108' and i passed this functional module to LF_FMNAME. but when i tried to call this functional module going to pattern and give the name of FM like LF_FMNAME  i am getting message like FM not found.&lt;/P&gt;&lt;P&gt;could u plz how to correct this error. &lt;/P&gt;&lt;P&gt;i wrote the following code.&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;DATA:BEGIN OF GT_EQUI OCCURS 0,&lt;/P&gt;&lt;P&gt;     EQUNR LIKE EQUI-EQUNR,&lt;/P&gt;&lt;P&gt;     END OF GT_EQUI.&lt;/P&gt;&lt;P&gt;DATA:LF_FMNAME TYPE RS38L_FNAM VALUE '/1BCDWB/SF00000108'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS: p_equnr     TYPE equi-equnr &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT  EQUNR&lt;/P&gt;&lt;P&gt;        FROM EQUI&lt;/P&gt;&lt;P&gt;        INTO TABLE GT_EQUI&lt;/P&gt;&lt;P&gt;        WHERE EQUNR EQ p_EQUNR.&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                 = 'ZSAMPLE1'&lt;/P&gt;&lt;P&gt;     IMPORTING&lt;/P&gt;&lt;P&gt;       FM_NAME                  = LF_FMNAME&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;hridhayanjili.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Aug 2006 11:08:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/functional-module/m-p/1500394#M231863</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-23T11:08:28Z</dc:date>
    </item>
    <item>
      <title>Re: functional module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/functional-module/m-p/1500395#M231864</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do not use pattern function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA:BEGIN OF GT_EQUI OCCURS 0,&lt;/P&gt;&lt;P&gt;EQUNR LIKE EQUI-EQUNR,&lt;/P&gt;&lt;P&gt;END OF GT_EQUI.&lt;/P&gt;&lt;P&gt;DATA:LF_FMNAME TYPE RS38L_FNAM VALUE '/1BCDWB/SF00000108'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS: p_equnr TYPE equi-equnr &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT EQUNR&lt;/P&gt;&lt;P&gt;FROM EQUI&lt;/P&gt;&lt;P&gt;INTO TABLE GT_EQUI&lt;/P&gt;&lt;P&gt;WHERE EQUNR EQ p_EQUNR.&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 = 'ZSAMPLE1'&lt;/P&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;P&gt;FM_NAME = LF_FMNAME.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call function LF_FMNAME&lt;/P&gt;&lt;P&gt;exporting....&lt;/P&gt;&lt;P&gt;importing..&lt;/P&gt;&lt;P&gt;tables..&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Aug 2006 11:12:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/functional-module/m-p/1500395#M231864</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-23T11:12:26Z</dc:date>
    </item>
    <item>
      <title>Re: functional module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/functional-module/m-p/1500396#M231865</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 dont pass any value to LF_FNAME.&lt;/P&gt;&lt;P&gt;The function will itself assign it the value.&lt;/P&gt;&lt;P&gt;Use it like this.&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_sfname&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      fm_name            = LF_FNAME&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;where, p_sfname id the forms name&lt;/P&gt;&lt;P&gt;and LF_FNAMe is the returning function name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Amit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Aug 2006 11:13:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/functional-module/m-p/1500396#M231865</guid>
      <dc:creator>amit_khare</dc:creator>
      <dc:date>2006-08-23T11:13:24Z</dc:date>
    </item>
    <item>
      <title>Re: functional module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/functional-module/m-p/1500397#M231866</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is ZSAMPLE1 the name of your smartform?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, it is not necessary to specify a value on your lf_fmname variable.  This value is determined by the function module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The function module name will be generated in each SAP environment so it is not guaranteed to be '/1BCDWB/SF00000108' in every system.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Aug 2006 11:14:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/functional-module/m-p/1500397#M231866</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-23T11:14:00Z</dc:date>
    </item>
    <item>
      <title>Re: functional module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/functional-module/m-p/1500398#M231867</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;U have use like this.&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 = 'ZSAMPLE1'&lt;/P&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;P&gt;FM_NAME = LF_FMNAME&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;CALL FUNCTION LF_FMNAME&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;.....&lt;/P&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;P&gt;.......&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If useful reward.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vasanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Aug 2006 11:14:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/functional-module/m-p/1500398#M231867</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-23T11:14:42Z</dc:date>
    </item>
    <item>
      <title>Re: functional module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/functional-module/m-p/1500399#M231868</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Vasanth and Cristopher my solved&lt;/P&gt;&lt;P&gt;thanx&lt;/P&gt;&lt;P&gt;hridhayanjili&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Aug 2006 11:28:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/functional-module/m-p/1500399#M231868</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-23T11:28:55Z</dc:date>
    </item>
  </channel>
</rss>

