<?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: Returning dynamic internal table as output from function module in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/returning-dynamic-internal-table-as-output-from-function-module/m-p/4228666#M1009986</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Define ur table as type any table...For details see the table declaration&lt;/P&gt;&lt;P&gt;in FM REUSE_ALV_LIST_DISPLAY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Joy.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 04 Aug 2008 10:36:46 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-08-04T10:36:46Z</dc:date>
    <item>
      <title>Returning dynamic internal table as output from function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/returning-dynamic-internal-table-as-output-from-function-module/m-p/4228663#M1009983</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;I need to return a dynamic internal table from a normal function module. Like I will create one dynamic internal table &amp;lt;t_dyntable&amp;gt; in function module. Now i need to return this &amp;lt;t_dyntable&amp;gt; to the calling programme as output from function module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know how it is possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vimal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Aug 2008 10:23:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/returning-dynamic-internal-table-as-output-from-function-module/m-p/4228663#M1009983</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-04T10:23:01Z</dc:date>
    </item>
    <item>
      <title>Re: Returning dynamic internal table as output from function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/returning-dynamic-internal-table-as-output-from-function-module/m-p/4228664#M1009984</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need to use Field Symbol to achieve the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Sudharshan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Aug 2008 10:24:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/returning-dynamic-internal-table-as-output-from-function-module/m-p/4228664#M1009984</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-04T10:24:15Z</dc:date>
    </item>
    <item>
      <title>Re: Returning dynamic internal table as output from function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/returning-dynamic-internal-table-as-output-from-function-module/m-p/4228665#M1009985</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Sudharshan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created the dynamic internal table using field symbols. I want to know how to define this dynamic internal table as parameter in Tables tab(SE37) and how to return this dynamic  internal table as output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vimal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Aug 2008 10:31:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/returning-dynamic-internal-table-as-output-from-function-module/m-p/4228665#M1009985</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-04T10:31:01Z</dc:date>
    </item>
    <item>
      <title>Re: Returning dynamic internal table as output from function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/returning-dynamic-internal-table-as-output-from-function-module/m-p/4228666#M1009986</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Define ur table as type any table...For details see the table declaration&lt;/P&gt;&lt;P&gt;in FM REUSE_ALV_LIST_DISPLAY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Joy.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Aug 2008 10:36:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/returning-dynamic-internal-table-as-output-from-function-module/m-p/4228666#M1009986</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-04T10:36:46Z</dc:date>
    </item>
    <item>
      <title>Re: Returning dynamic internal table as output from function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/returning-dynamic-internal-table-as-output-from-function-module/m-p/4228667#M1009987</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See  function module HR_READ_INFOTYPE. In this FM internal table  INFTY_TAB is returned as output. This function module returns the INFTY_TAB whose structure will depend upon the input to FM-- infotype. From the programme where u call this function module define the internal table of structure which this FM is expected to return and use it to get the data. For this see include&lt;/P&gt;&lt;P&gt;BEN47F01 where this FM  HR_READ_INFOTYPE has been used.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Aug 2008 18:06:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/returning-dynamic-internal-table-as-output-from-function-module/m-p/4228667#M1009987</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-04T18:06:40Z</dc:date>
    </item>
    <item>
      <title>Re: Returning dynamic internal table as output from function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/returning-dynamic-internal-table-as-output-from-function-module/m-p/4228668#M1009988</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Vimal&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you fm is not RFC-enabled then you can export a &lt;STRONG&gt;data reference&lt;/STRONG&gt; of your dynamic itab, e.g.:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
DATA:
  ldo_itab           TYPE REF TO data.

FIELD-SYMBOLS:
  &amp;lt;lt_itab&amp;gt;          TYPE TABLE.

  CALL FUNCTION 'Z_...'
    IMPORTING
      edo_reference = lde_itab.

  ASSIGN ldo_itab-&amp;gt;* TO &amp;lt;lt_itab&amp;gt;.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;  Uwe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Aug 2008 21:46:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/returning-dynamic-internal-table-as-output-from-function-module/m-p/4228668#M1009988</guid>
      <dc:creator>uwe_schieferstein</dc:creator>
      <dc:date>2008-08-04T21:46:07Z</dc:date>
    </item>
  </channel>
</rss>

