<?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: Passing an internal table to report from function module in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/passing-an-internal-table-to-report-from-function-module/m-p/4835391#M1131222</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you may use memory : EXPORT ... TO MEMORY... in the function module, and IMPORT ... FROM MEMORY ... in the report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If we are talking about RFC function module we cannot use it (the function module is used in different system than report).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, there are also other possibilities. You have possibility to not specify table type in the function module. Then it will use automatically the type you are using in your report when you call FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also look at FM TABLE_ENTRIES_GET_VIA_RFC which is reading data from any DDIC table and passing values back ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Karol&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 27 Nov 2008 21:42:59 GMT</pubDate>
    <dc:creator>karol_seman</dc:creator>
    <dc:date>2008-11-27T21:42:59Z</dc:date>
    <item>
      <title>Passing an internal table to report from function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/passing-an-internal-table-to-report-from-function-module/m-p/4835387#M1131218</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Abap Gurus,&lt;/P&gt;&lt;P&gt;                            I am writing a RFC function module and i want to pass an &lt;STRONG&gt;internal table which is made up of fields from different tables&lt;/STRONG&gt; .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me in getting this done.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Waiting for reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards,&lt;/P&gt;&lt;P&gt;Sravanthi Reddy.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Nov 2008 20:05:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/passing-an-internal-table-to-report-from-function-module/m-p/4835387#M1131218</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-27T20:05:48Z</dc:date>
    </item>
    <item>
      <title>Re: Passing an internal table to report from function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/passing-an-internal-table-to-report-from-function-module/m-p/4835388#M1131219</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;  if you need to pass a data from internal table into a function module you need to create a structure (data type) and then use this structure to create table type(data type). Both objects can be created in tcode SE11.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Karol&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Nov 2008 20:19:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/passing-an-internal-table-to-report-from-function-module/m-p/4835388#M1131219</guid>
      <dc:creator>karol_seman</dc:creator>
      <dc:date>2008-11-27T20:19:41Z</dc:date>
    </item>
    <item>
      <title>Re: Passing an internal table to report from function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/passing-an-internal-table-to-report-from-function-module/m-p/4835389#M1131220</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Seman,&lt;/P&gt;&lt;P&gt;              Other than creating the structure is there any other way to pass an internal table to report fromfunction module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me in finding the solution for this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sravanthi Reddy.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Nov 2008 20:49:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/passing-an-internal-table-to-report-from-function-module/m-p/4835389#M1131220</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-27T20:49:00Z</dc:date>
    </item>
    <item>
      <title>Re: Passing an internal table to report from function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/passing-an-internal-table-to-report-from-function-module/m-p/4835390#M1131221</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you may use memory : EXPORT ... TO MEMORY... in the function module, and IMPORT ... FROM MEMORY ... in the report.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Nov 2008 21:12:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/passing-an-internal-table-to-report-from-function-module/m-p/4835390#M1131221</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2008-11-27T21:12:33Z</dc:date>
    </item>
    <item>
      <title>Re: Passing an internal table to report from function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/passing-an-internal-table-to-report-from-function-module/m-p/4835391#M1131222</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you may use memory : EXPORT ... TO MEMORY... in the function module, and IMPORT ... FROM MEMORY ... in the report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If we are talking about RFC function module we cannot use it (the function module is used in different system than report).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, there are also other possibilities. You have possibility to not specify table type in the function module. Then it will use automatically the type you are using in your report when you call FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also look at FM TABLE_ENTRIES_GET_VIA_RFC which is reading data from any DDIC table and passing values back ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Karol&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Nov 2008 21:42:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/passing-an-internal-table-to-report-from-function-module/m-p/4835391#M1131222</guid>
      <dc:creator>karol_seman</dc:creator>
      <dc:date>2008-11-27T21:42:59Z</dc:date>
    </item>
    <item>
      <title>Re: Passing an internal table to report from function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/passing-an-internal-table-to-report-from-function-module/m-p/4835392#M1131223</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;way to pass an internal table to report from function module.&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;So, it's no more a problem of RFC, or I don't understand ;-). btw, interesting FM.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Nov 2008 22:28:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/passing-an-internal-table-to-report-from-function-module/m-p/4835392#M1131223</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2008-11-27T22:28:15Z</dc:date>
    </item>
    <item>
      <title>Re: Passing an internal table to report from function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/passing-an-internal-table-to-report-from-function-module/m-p/4835393#M1131224</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Karol and Sandra,&lt;/P&gt;&lt;P&gt;                           Thanks for your valuable answers.. &lt;/P&gt;&lt;P&gt;Both my function module and Report are in same system. I just want to  &lt;STRONG&gt;get the data in internal table in function module&lt;/STRONG&gt; into my report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me with your inputs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sravanthi Reddy.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Nov 2008 22:38:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/passing-an-internal-table-to-report-from-function-module/m-p/4835393#M1131224</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-27T22:38:10Z</dc:date>
    </item>
    <item>
      <title>Re: Passing an internal table to report from function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/passing-an-internal-table-to-report-from-function-module/m-p/4835394#M1131225</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Okay. So: you may use memory : EXPORT ... TO MEMORY... in the function module, and IMPORT ... FROM MEMORY ... in the report.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Nov 2008 11:59:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/passing-an-internal-table-to-report-from-function-module/m-p/4835394#M1131225</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2008-11-28T11:59:28Z</dc:date>
    </item>
    <item>
      <title>Re: Passing an internal table to report from function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/passing-an-internal-table-to-report-from-function-module/m-p/4835395#M1131226</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;Function module normally have Export and import and Tables parameter.&lt;/P&gt;&lt;P&gt;So you ca nuse this parameters to pass the data back to your report.&lt;/P&gt;&lt;P&gt;Please chek it for more info on function modules:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_46c/helpdata/en/9f/db98ef35c111d1829f0000e829fbfe/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_46c/helpdata/en/9f/db98ef35c111d1829f0000e829fbfe/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/9f/db98fc35c111d1829f0000e829fbfe/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/9f/db98fc35c111d1829f0000e829fbfe/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards &lt;/P&gt;&lt;P&gt;Neha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Nov 2008 12:39:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/passing-an-internal-table-to-report-from-function-module/m-p/4835395#M1131226</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-28T12:39:00Z</dc:date>
    </item>
  </channel>
</rss>

