<?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: Dynamic Export table of a function Module in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-export-table-of-a-function-module/m-p/7259488#M1528672</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Consider using XML table as the exporting parameter. First &lt;EM&gt;serialize&lt;/EM&gt; data on the calling site and &lt;EM&gt;deserialize&lt;/EM&gt; on the target side. This way you can pass generic data via RFC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pelase refer this blog &lt;A href="http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/580" target="test_blank"&gt;http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/580&lt;/A&gt;. &lt;B&gt;[original link is broken]&lt;/B&gt; &lt;B&gt;[original link is broken]&lt;/B&gt; &lt;B&gt;[original link is broken]&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Marcin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 06 Sep 2010 11:45:27 GMT</pubDate>
    <dc:creator>MarcinPciak</dc:creator>
    <dc:date>2010-09-06T11:45:27Z</dc:date>
    <item>
      <title>Dynamic Export table of a function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-export-table-of-a-function-module/m-p/7259485#M1528669</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a requirement where fields of  Export table of my function Module is dynamic. It is like the Fields to be expoerted by the Function Module would be stored in a seperate Z table&lt;/P&gt;&lt;P&gt;The Z table would contain the records as follows .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table Name              FieldName&lt;/P&gt;&lt;P&gt;=========      &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MARA                      MATNR&lt;/P&gt;&lt;P&gt;MARC                      WERKS&lt;/P&gt;&lt;P&gt;.....&lt;/P&gt;&lt;P&gt;......&lt;/P&gt;&lt;P&gt;and So on..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;. How can I define my Export table in Function module dynamically so that the structure of my Export Function Module would be same as that of the Fieldnames in Z table..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 04 Sep 2010 08:16:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-export-table-of-a-function-module/m-p/7259485#M1528669</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-04T08:16:32Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Export table of a function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-export-table-of-a-function-module/m-p/7259486#M1528670</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just declare the associate type as "ANY TABLE" in the exporting parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;FUNCTION ZTEST.
*"----------------------------------------------------------------------
*"*"Local Interface:
*"  EXPORTING
*"     REFERENCE(IT_TAB) TYPE  ANY TABLE
*"----------------------------------------------------------------------&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 04 Sep 2010 09:39:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-export-table-of-a-function-module/m-p/7259486#M1528670</guid>
      <dc:creator>asik_shameem</dc:creator>
      <dc:date>2010-09-04T09:39:31Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Export table of a function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-export-table-of-a-function-module/m-p/7259487#M1528671</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Asik ,&lt;/P&gt;&lt;P&gt;Thanks for answering .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My function module is going to be called Remotely . Hence I can not define the Table with  'TYPE ANY'. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Sep 2010 11:38:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-export-table-of-a-function-module/m-p/7259487#M1528671</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-06T11:38:18Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Export table of a function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-export-table-of-a-function-module/m-p/7259488#M1528672</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Consider using XML table as the exporting parameter. First &lt;EM&gt;serialize&lt;/EM&gt; data on the calling site and &lt;EM&gt;deserialize&lt;/EM&gt; on the target side. This way you can pass generic data via RFC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pelase refer this blog &lt;A href="http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/580" target="test_blank"&gt;http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/580&lt;/A&gt;. &lt;B&gt;[original link is broken]&lt;/B&gt; &lt;B&gt;[original link is broken]&lt;/B&gt; &lt;B&gt;[original link is broken]&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Marcin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Sep 2010 11:45:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-export-table-of-a-function-module/m-p/7259488#M1528672</guid>
      <dc:creator>MarcinPciak</dc:creator>
      <dc:date>2010-09-06T11:45:27Z</dc:date>
    </item>
  </channel>
</rss>

