<?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: SUBMIT - SPOOL in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-spool/m-p/5774400#M1307170</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this way....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
  SUBMIT rkaep000
     USING SELECTION-SET 'BPC TEST'
           EXPORTING LIST TO MEMORY AND RETURN.

* Read list from memory into table
  CALL FUNCTION 'LIST_FROM_MEMORY'
    TABLES
      listobject = lt_listobject
    EXCEPTIONS
      not_found  = 1
      OTHERS     = 2.

  IF sy-subrc &amp;lt;&amp;gt; 0.
*   Error in function module &amp;amp;1
  ENDIF.

*Spool content in Ascii format
  CALL FUNCTION 'LIST_TO_ASCI'
    TABLES
      listobject         = lt_listobject
      listasci           = txtlines
    EXCEPTIONS
      empty_list         = 1
      list_index_invalid = 2
      OTHERS             = 3.


  CALL FUNCTION 'WRITE_LIST'
    TABLES
      listobject = lt_listobject
    EXCEPTIONS
      empty_list = 1
      OTHERS     = 2.

  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, 15 Jun 2009 14:53:20 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-06-15T14:53:20Z</dc:date>
    <item>
      <title>SUBMIT - SPOOL</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-spool/m-p/5774399#M1307169</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;I created 2 programs, prg1 &amp;amp; prg2.&lt;/P&gt;&lt;P&gt;prg1 call prg2 by 'SUBMIT'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The two programs have their spool.&lt;/P&gt;&lt;P&gt;I need to see only one spool at the end of elaboration. The spool that I need is the union of the 2 spool of the two programs.&lt;/P&gt;&lt;P&gt;The prg2 can also be called more times by the prg1. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does someone know how I can do?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jun 2009 14:48:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-spool/m-p/5774399#M1307169</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-15T14:48:48Z</dc:date>
    </item>
    <item>
      <title>Re: SUBMIT - SPOOL</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-spool/m-p/5774400#M1307170</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this way....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
  SUBMIT rkaep000
     USING SELECTION-SET 'BPC TEST'
           EXPORTING LIST TO MEMORY AND RETURN.

* Read list from memory into table
  CALL FUNCTION 'LIST_FROM_MEMORY'
    TABLES
      listobject = lt_listobject
    EXCEPTIONS
      not_found  = 1
      OTHERS     = 2.

  IF sy-subrc &amp;lt;&amp;gt; 0.
*   Error in function module &amp;amp;1
  ENDIF.

*Spool content in Ascii format
  CALL FUNCTION 'LIST_TO_ASCI'
    TABLES
      listobject         = lt_listobject
      listasci           = txtlines
    EXCEPTIONS
      empty_list         = 1
      list_index_invalid = 2
      OTHERS             = 3.


  CALL FUNCTION 'WRITE_LIST'
    TABLES
      listobject = lt_listobject
    EXCEPTIONS
      empty_list = 1
      OTHERS     = 2.

  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, 15 Jun 2009 14:53:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-spool/m-p/5774400#M1307170</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-15T14:53:20Z</dc:date>
    </item>
    <item>
      <title>Re: SUBMIT - SPOOL</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-spool/m-p/5774401#M1307171</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sorry, I don't understand.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;are you creating a write report?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jun 2009 14:58:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-spool/m-p/5774401#M1307171</guid>
      <dc:creator>AlexandreMendes</dc:creator>
      <dc:date>2009-06-15T14:58:13Z</dc:date>
    </item>
    <item>
      <title>Re: SUBMIT - SPOOL</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-spool/m-p/5774402#M1307172</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; sorry, I don't understand.&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; are you creating a write report?&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, I create 2 report. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The first report call the second with 'SUBMIT'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jun 2009 15:06:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-spool/m-p/5774402#M1307172</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-15T15:06:39Z</dc:date>
    </item>
  </channel>
</rss>

