<?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 Catch EXPORTING LIST TO MEMORY in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/catch-exporting-list-to-memory/m-p/6525428#M1425750</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am calling a ALV report by SUBMIT ZREPORT2 EXPORTING LIST TO MEMORY in my report ZREPORT1 and now I would like to catch the ZREPORT2 list information. I do not want to use LIST_FROM_MEMORY as it has a record length limitation of 1000. Any ideas please? Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 Dec 2009 19:51:53 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-12-22T19:51:53Z</dc:date>
    <item>
      <title>Catch EXPORTING LIST TO MEMORY</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/catch-exporting-list-to-memory/m-p/6525428#M1425750</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am calling a ALV report by SUBMIT ZREPORT2 EXPORTING LIST TO MEMORY in my report ZREPORT1 and now I would like to catch the ZREPORT2 list information. I do not want to use LIST_FROM_MEMORY as it has a record length limitation of 1000. Any ideas please? Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Dec 2009 19:51:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/catch-exporting-list-to-memory/m-p/6525428#M1425750</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-22T19:51:53Z</dc:date>
    </item>
    <item>
      <title>Re: Catch EXPORTING LIST TO MEMORY</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/catch-exporting-list-to-memory/m-p/6525429#M1425751</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If ZREPORT2 is your own code too, why not just get it to return the data that it prepares for the ALV, rather than actually run it into the ALV list ... e.g. in ZREPORT1 do something like&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

    export l_dark = 'X' to memory id 'Z:DARK'.  "set flag to say no output wanted

    submit zreport2 and return.  "would need more parms for report screen of course

    import lt_xxxx = lt_xxxx from memory id 'Z:DATA'. "get results from ZREPORT2
    delete from memory id 'Z:DARK'.
    delete from memory id 'Z:DATA'.
   
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;and in ZREPORT2 have something like:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
  import l_dark = l_dark from memory id 'Z:DARK'.

  if l_dark is initial.  "not set, so run ALV report as usual
    perform my_alv_report_list.
  else.
    export lt_xxxx = lt_xxxx to memory id 'Z:DATA'.  "where lt_xxxx is your ALV data table
  endif.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Dec 2009 01:24:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/catch-exporting-list-to-memory/m-p/6525429#M1425751</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-23T01:24:13Z</dc:date>
    </item>
    <item>
      <title>Re: Catch EXPORTING LIST TO MEMORY</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/catch-exporting-list-to-memory/m-p/6525430#M1425752</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I like your idea but the problem with it is I need the output from ZREPORT2 in a unconverted format(after you display ALV list Export -&amp;gt; Localfile -&amp;gt; Unconverted). Not sure how I can get the unconverted format with your approach. Any suggestions?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Dec 2009 02:01:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/catch-exporting-list-to-memory/m-p/6525430#M1425752</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-23T02:01:28Z</dc:date>
    </item>
    <item>
      <title>Re: Catch EXPORTING LIST TO MEMORY</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/catch-exporting-list-to-memory/m-p/6525431#M1425753</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ah, I assumed you wanted the data out of the report, not the formatted report itself... you might try using "submit ZREPORT2 to sap-spool etc etc and return" and then reading the resulting spool back in (maybe via RSPO_SPOOLDATA_TO_TEXT?).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Dec 2009 03:00:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/catch-exporting-list-to-memory/m-p/6525431#M1425753</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-23T03:00:18Z</dc:date>
    </item>
    <item>
      <title>Re: Catch EXPORTING LIST TO MEMORY</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/catch-exporting-list-to-memory/m-p/6525432#M1425754</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;resolved myself&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Jun 2010 01:56:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/catch-exporting-list-to-memory/m-p/6525432#M1425754</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-18T01:56:30Z</dc:date>
    </item>
  </channel>
</rss>

