<?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: Fetch output from Sumbittted Report Painter Program in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetch-output-from-sumbittted-report-painter-program/m-p/7162021#M1516010</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;Did u try using :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'WRITE_LIST'&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      listobject = t_list&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      empty_list = 1&lt;/P&gt;&lt;P&gt;      OTHERS     = 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to find whether data is there in the listobject..?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Navin Fernandes.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 09 Aug 2010 10:06:58 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-08-09T10:06:58Z</dc:date>
    <item>
      <title>Fetch output from Sumbittted Report Painter Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetch-output-from-sumbittted-report-painter-program/m-p/7162020#M1516009</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My requirement is as below,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to fetch the data from transaction --&amp;gt; KE30( AE00-0000000) -( Program GP3U541QI0A8T1INIRH8IJPKU2T ) and use the same for further calculation in my custom report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hence in my custom report i have written SUBMIT GP3U541QI0A8T1INIRH8IJPKU2T                                                                                &lt;/P&gt;&lt;P&gt;EXPORTING LIST TO MEMORY&lt;/P&gt;&lt;P&gt;                                                                                WITH the required selection screen parameters                                                                                &lt;/P&gt;&lt;P&gt;AND RETURN&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After that, I have used the function modules  'LIST_FROM_MEMORY' and 'LIST_TO_ASCI' as well, in order to fetch the data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However I am not getting the data into the LIST_FROM_MEMORY function module. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please suggest me the approach or please correct me in the above approach.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot in advance for your replies.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anuja.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Aug 2010 09:36:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetch-output-from-sumbittted-report-painter-program/m-p/7162020#M1516009</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-08-09T09:36:58Z</dc:date>
    </item>
    <item>
      <title>Re: Fetch output from Sumbittted Report Painter Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetch-output-from-sumbittted-report-painter-program/m-p/7162021#M1516010</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;Did u try using :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'WRITE_LIST'&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      listobject = t_list&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      empty_list = 1&lt;/P&gt;&lt;P&gt;      OTHERS     = 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to find whether data is there in the listobject..?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Navin Fernandes.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Aug 2010 10:06:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetch-output-from-sumbittted-report-painter-program/m-p/7162021#M1516010</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-08-09T10:06:58Z</dc:date>
    </item>
    <item>
      <title>Re: Fetch output from Sumbittted Report Painter Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetch-output-from-sumbittted-report-painter-program/m-p/7162022#M1516011</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anuju ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try this way&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
TYPE-POOLS : abap.
DATA:lt_listobject TYPE TABLE OF abaplist,
     l_tab_lines TYPE i.
DATA: txtlines(3000) TYPE c OCCURS 0 WITH HEADER LINE.

* Submit you r progam......
  SUBMIT &amp;lt;report&amp;gt;
          ------
                   EXPORTING LIST TO MEMORY AND RETURN.
* read list from memory into table
  CALL FUNCTION 'LIST_FROM_MEMORY'
    TABLES
      listobject = lt_listobject.

*Spool content in Ascii format
  CALL FUNCTION 'LIST_TO_ASCI'
    TABLES
      listobject         = lt_listobject
      listasci           = txtlines.

*  write Spool data as an output
   CALL FUNCTION 'WRITE_LIST'
    TABLES
      listobject = lt_listobject..

* clear memeory
  CALL FUNCTION 'LIST_FREE_MEMORY'
    TABLES
      listobject = lt_listobject.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Prabhudas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Aug 2010 10:17:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetch-output-from-sumbittted-report-painter-program/m-p/7162022#M1516011</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-08-09T10:17:31Z</dc:date>
    </item>
  </channel>
</rss>

