<?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: Function modul in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-modul/m-p/7235206#M1525393</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check FM : RFC_GET_FUNCTION_INTERFACE pass RFC as NONE for the current system.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 Oct 2010 11:46:47 GMT</pubDate>
    <dc:creator>Sandeep_Panghal</dc:creator>
    <dc:date>2010-10-05T11:46:47Z</dc:date>
    <item>
      <title>Function modul</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-modul/m-p/7235202#M1525389</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I want to read a Function module and its parameter dynamically in ABAP Coding not with SE37. Is there a function module or other utility in SAP  to do this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Barbara&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Oct 2010 10:56:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-modul/m-p/7235202#M1525389</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-05T10:56:10Z</dc:date>
    </item>
    <item>
      <title>Re: Function modul</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-modul/m-p/7235203#M1525390</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could be littile more specific and clear.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;put fm name in one variable v_fmname.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if not initial &lt;/P&gt;&lt;P&gt;call function v_fmname.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Oct 2010 11:30:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-modul/m-p/7235203#M1525390</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-05T11:30:00Z</dc:date>
    </item>
    <item>
      <title>Re: Function modul</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-modul/m-p/7235204#M1525391</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; Hi,&lt;/P&gt;&lt;P&gt;&amp;gt; I want to read a Function module and its parameter dynamically in ABAP Coding not with SE37. Is there a function module or other utility in SAP  to do this?&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; Kindly&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; Barbara&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ok, i remember this one. Do you want to EXECUTE the function dynamically or READ the content of the function?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Oct 2010 11:36:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-modul/m-p/7235204#M1525391</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-05T11:36:50Z</dc:date>
    </item>
    <item>
      <title>Re: Function modul</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-modul/m-p/7235205#M1525392</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;you can read the FM parameters from table FUPARAREF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kostas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Oct 2010 11:44:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-modul/m-p/7235205#M1525392</guid>
      <dc:creator>kostas_tsioubris</dc:creator>
      <dc:date>2010-10-05T11:44:31Z</dc:date>
    </item>
    <item>
      <title>Re: Function modul</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-modul/m-p/7235206#M1525393</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check FM : RFC_GET_FUNCTION_INTERFACE pass RFC as NONE for the current system.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Oct 2010 11:46:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-modul/m-p/7235206#M1525393</guid>
      <dc:creator>Sandeep_Panghal</dc:creator>
      <dc:date>2010-10-05T11:46:47Z</dc:date>
    </item>
    <item>
      <title>Re: Function modul</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-modul/m-p/7235207#M1525394</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Both, I want to rad the funtion module to ge the parameters and if possible execute the function module dynamically.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Barbara&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Oct 2010 11:57:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-modul/m-p/7235207#M1525394</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-05T11:57:58Z</dc:date>
    </item>
    <item>
      <title>Re: Function modul</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-modul/m-p/7235208#M1525395</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;where you want to read the FM from ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Renu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Oct 2010 12:03:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-modul/m-p/7235208#M1525395</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-05T12:03:08Z</dc:date>
    </item>
    <item>
      <title>Re: Function modul</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-modul/m-p/7235209#M1525396</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have yet to find an example in SAP where a function call was programmed dynamically including its interface.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What you normally will find is a dynamic call to a function but with a static interface.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CALL FUNCTION gv_some_function
   IMPORTING
       .... etc.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The only thing that is dynamically is the function name in variable gv_some_function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does it mean it isn't possible? I really wouldn't know as i never have seen it before.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Oct 2010 12:08:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-modul/m-p/7235209#M1525396</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-05T12:08:41Z</dc:date>
    </item>
    <item>
      <title>Re: Function modul</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-modul/m-p/7235210#M1525397</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Having said my previous post, i had a look at the F1 on CALL FUNCTION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems to be possible to have a fully dynamic call to a function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Read the help on:&lt;/P&gt;&lt;P&gt;CALL FUNCTION - parameter_tables&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Oct 2010 12:12:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-modul/m-p/7235210#M1525397</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-05T12:12:20Z</dc:date>
    </item>
    <item>
      <title>Re: Function modul</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-modul/m-p/7235211#M1525398</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 getting the paramets you can use the table  FUPARAREF , which has been already mentioned.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can also call the function moudle dynamically with its parameters..&lt;/P&gt;&lt;P&gt;for that you need to populate one internal table and pass that table insted of import, export ..etc ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sample program ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPE-POOLS abap. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: line     TYPE c LENGTH 80, &lt;/P&gt;&lt;P&gt;      text_tab LIKE STANDARD TABLE OF line, &lt;/P&gt;&lt;P&gt;      filename TYPE string, &lt;/P&gt;&lt;P&gt;      filetype TYPE c LENGTH 80, &lt;/P&gt;&lt;P&gt;      fleng    TYPE i. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: func TYPE string, &lt;/P&gt;&lt;P&gt;      ptab TYPE abap_func_parmbind_tab, &lt;/P&gt;&lt;P&gt;      ptab_line TYPE abap_func_parmbind, &lt;/P&gt;&lt;P&gt;      etab TYPE abap_func_excpbind_tab, &lt;/P&gt;&lt;P&gt;      etab_line TYPE abap_func_excpbind. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;func = 'GUI_DOWNLOAD'. &lt;/P&gt;&lt;P&gt;filename = 'c:\temp\text.txt'. &lt;/P&gt;&lt;P&gt;filetype = 'ASC'. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ptab_line-name = 'FILENAME'. &lt;/P&gt;&lt;P&gt;ptab_line-kind = abap_func_exporting. &lt;/P&gt;&lt;P&gt;GET REFERENCE OF filename INTO ptab_line-value. &lt;/P&gt;&lt;P&gt;INSERT ptab_line INTO TABLE ptab. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ptab_line-name = 'FILETYPE'. &lt;/P&gt;&lt;P&gt;ptab_line-kind = abap_func_exporting. &lt;/P&gt;&lt;P&gt;GET REFERENCE OF filetype INTO ptab_line-value. &lt;/P&gt;&lt;P&gt;INSERT ptab_line INTO TABLE ptab. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ptab_line-name = 'DATA_TAB'. &lt;/P&gt;&lt;P&gt;ptab_line-kind = abap_func_tables. &lt;/P&gt;&lt;P&gt;GET REFERENCE OF text_tab INTO ptab_line-value. &lt;/P&gt;&lt;P&gt;INSERT ptab_line INTO TABLE ptab. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ptab_line-name = 'FILELENGTH'. &lt;/P&gt;&lt;P&gt;ptab_line-kind = abap_func_importing. &lt;/P&gt;&lt;P&gt;GET REFERENCE OF fleng INTO ptab_line-value. &lt;/P&gt;&lt;P&gt;INSERT ptab_line INTO TABLE ptab. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;etab_line-name = 'OTHERS'. &lt;/P&gt;&lt;P&gt;etab_line-value = 10. &lt;/P&gt;&lt;P&gt;INSERT etab_line INTO TABLE etab. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;CALL FUNCTION func&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  &lt;EM&gt;&lt;STRONG&gt;PARAMETER-TABLE&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;    &lt;EM&gt;&lt;STRONG&gt;ptab&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  &lt;EM&gt;&lt;STRONG&gt;EXCEPTION-TABLE&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;    &lt;EM&gt;&lt;STRONG&gt;etab.&lt;/STRONG&gt;&lt;/EM&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CASE sy-subrc. &lt;/P&gt;&lt;P&gt;  WHEN 1. &lt;/P&gt;&lt;P&gt;    ... &lt;/P&gt;&lt;P&gt;  ... &lt;/P&gt;&lt;P&gt;ENDCASE.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Oct 2010 12:16:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-modul/m-p/7235211#M1525398</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-05T12:16:26Z</dc:date>
    </item>
    <item>
      <title>Re: Function modul</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-modul/m-p/7235212#M1525399</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;copy pasta  &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Oct 2010 12:20:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-modul/m-p/7235212#M1525399</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-05T12:20:12Z</dc:date>
    </item>
    <item>
      <title>Re: Function modul</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-modul/m-p/7235213#M1525400</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, I mixed up the answers and but it isn't possible  to correct my marks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Barbara Mader on Oct 6, 2010 8:57 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Oct 2010 06:48:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-modul/m-p/7235213#M1525400</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-06T06:48:27Z</dc:date>
    </item>
    <item>
      <title>Re: Function modul</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-modul/m-p/7235214#M1525401</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jayakumar Thooyavan, thanks for your answer.&lt;/P&gt;&lt;P&gt;I'm sorry, but I mixed the answers and so I marked the wrong answer as "Solved problem".&lt;/P&gt;&lt;P&gt;It's your answer, which solved my problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Oct 2010 06:58:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-modul/m-p/7235214#M1525401</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-06T06:58:25Z</dc:date>
    </item>
  </channel>
</rss>

