<?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: Call Fm dynamically in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-fm-dynamically/m-p/4148839#M992093</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;But i don't call FM name at runtime meanwhile we can get  fm&lt;/P&gt;&lt;P&gt;Name into a variable so that we can use any other palce.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suggst where we can call this one.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 14 Jul 2008 10:03:15 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-07-14T10:03:15Z</dc:date>
    <item>
      <title>Call Fm dynamically</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-fm-dynamically/m-p/4148837#M992091</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using FP_FUNCTION_MODULE_NAME    fm to get a fm name of a Interactive/PDF form.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to know that when i get this FM name how to call it dynamically.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Points will be sured for valuable answers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Sanket sethi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jul 2008 09:49:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-fm-dynamically/m-p/4148837#M992091</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-14T09:49:02Z</dc:date>
    </item>
    <item>
      <title>Re: Call Fm dynamically</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-fm-dynamically/m-p/4148838#M992092</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call function fm_name&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where fm_name will be the function module name u got&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jul 2008 09:52:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-fm-dynamically/m-p/4148838#M992092</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-14T09:52:17Z</dc:date>
    </item>
    <item>
      <title>Re: Call Fm dynamically</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-fm-dynamically/m-p/4148839#M992093</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;But i don't call FM name at runtime meanwhile we can get  fm&lt;/P&gt;&lt;P&gt;Name into a variable so that we can use any other palce.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suggst where we can call this one.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jul 2008 10:03:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-fm-dynamically/m-p/4148839#M992093</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-14T10:03:15Z</dc:date>
    </item>
    <item>
      <title>Re: Call Fm dynamically</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-fm-dynamically/m-p/4148840#M992094</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 this:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CALL FUNCTION 'FP_FUNCTION_MODULE_NAME'
EXPORTING
i_name = pa_form
IMPORTING
e_funcname = fm_name.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Call function module FP_FUNCTION_MODULE_NAME and pass the form&lt;/P&gt;&lt;P&gt;name to it. You will receive parameter e__funcname, which will contain the name&lt;/P&gt;&lt;P&gt;of the generated function module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Parameter fm_name will automatically contain the name of the appropriate generated function module.Since this generated function module is always called dynamically, no changes in the application program are necessary.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Adil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jul 2008 10:09:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-fm-dynamically/m-p/4148840#M992094</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-14T10:09:40Z</dc:date>
    </item>
    <item>
      <title>Re: Call Fm dynamically</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-fm-dynamically/m-p/4148841#M992095</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Step 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Execute your Adobe Form in SFP transaction, there it will give the function module, take that function name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now in your Driver program first call the function FP_FUNCTION_MODULE_NAME for this pass the formname, you will get the function name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;step2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'FP_FUNCTION_MODULE_NAME'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;i_name = form_name&lt;/P&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;P&gt;e_funcname = lv_function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;step3&lt;/P&gt;&lt;P&gt;now call the function using the pattern with the name from step1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pass all required parameters.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jul 2008 10:17:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-fm-dynamically/m-p/4148841#M992095</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-14T10:17:49Z</dc:date>
    </item>
    <item>
      <title>Re: Call Fm dynamically</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-fm-dynamically/m-p/4148842#M992096</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Data: LV_FORM_NAME TYPE FPWBFORMNAME,&lt;/P&gt;&lt;P&gt;         LV_FM_NAME   TYPE RS38L_FNAM,&lt;/P&gt;&lt;P&gt;         FP_TEST_DUMMY TYPE FPINTERFACETYPE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now pass the form name in LV_FORM_NAME .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'FP_FUNCTION_MODULE_NAME'&lt;/P&gt;&lt;P&gt;        EXPORTING&lt;/P&gt;&lt;P&gt;          I_NAME           = LV_FORM_NAME&lt;/P&gt;&lt;P&gt;        IMPORTING&lt;/P&gt;&lt;P&gt;          E_FUNCNAME       = LV_FM_NAME&lt;/P&gt;&lt;P&gt;          E_INTERFACE_TYPE = FP_TEST_DUMMY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;U'll get the FM name in LV_FM_NAME.&lt;/P&gt;&lt;P&gt;Now  &lt;/P&gt;&lt;P&gt;  GS_DOCPARAMS-LANGU = 'E'.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; GS_DOCPARAMS-COUNTRY = 'US'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; CALL FUNCTION LV_FM_NAME&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      /1BCDWB/DOCPARAMS = GS_DOCPARAMS&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     LFA1              = LFA1&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     MBMFKTO_PDF       = GT_MFKTO_PDF&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;   IMPORTING&lt;/P&gt;&lt;P&gt;     /1BCDWB/FORMOUTPUT       = FP_RESULT&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      USAGE_ERROR       = 1&lt;/P&gt;&lt;P&gt;      SYSTEM_ERROR      = 2&lt;/P&gt;&lt;P&gt;      INTERNAL_ERROR    = 3&lt;/P&gt;&lt;P&gt;      OTHERS            = 4.&lt;/P&gt;&lt;P&gt;Hope this might give answer to U.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Hemendra.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jul 2008 12:42:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-fm-dynamically/m-p/4148842#M992096</guid>
      <dc:creator>HemendraS</dc:creator>
      <dc:date>2008-07-14T12:42:16Z</dc:date>
    </item>
  </channel>
</rss>

