<?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: Spool Extract/Reformat Program in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/spool-extract-reformat-program/m-p/3770057#M907167</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks those will be helpful hints but I was hoping there would be something standard in the SAP ABAP programs to reformat spool files.  Do you know if there is anything?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 02 May 2008 12:52:16 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-05-02T12:52:16Z</dc:date>
    <item>
      <title>Spool Extract/Reformat Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/spool-extract-reformat-program/m-p/3770054#M907164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does anyone know of a process/program that can reformat/download a spool file (non-ALV)?  We&amp;#146;re trying to automate a download of various reports one of which is from t-code co28.  When we run the program in the background we want to auto download and reformat the spool files that get generated (Removing header rows, blank rows, and page number rows, etc).  The intent of the files is to be loaded into an external database like access or even pulled up in Excel without having to manually remove any of the extra &amp;#147;header&amp;#148; row info.  Any insight is greatly appreciated.&lt;/P&gt;&lt;P&gt;Thanks, David&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 May 2008 11:56:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/spool-extract-reformat-program/m-p/3770054#M907164</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-02T11:56:41Z</dc:date>
    </item>
    <item>
      <title>Re: Spool Extract/Reformat Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/spool-extract-reformat-program/m-p/3770055#M907165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi David,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;         There is a function module to download the spool data. Later we need to reprocess that data, and then prepare it in a way suitable to usby downloading the whole spool data into an internal table and format it according to our interest.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          While executing your background job, try and hold the spool id in a variable and then use this FM,&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;'RSPO_RETURN_SPOOLJOB'.*&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Example of using this FM: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*********************************************************************&lt;/P&gt;&lt;P&gt;      CALL FUNCTION 'RSPO_RETURN_SPOOLJOB'&lt;/P&gt;&lt;P&gt;        EXPORTING&lt;/P&gt;&lt;P&gt;          rqident              = wa_it_spool_attr-spoolid&lt;/P&gt;&lt;P&gt;          first_line           = startline&lt;/P&gt;&lt;P&gt;          last_line            = endline&lt;/P&gt;&lt;P&gt;          desired_type         = 'RAW'&lt;/P&gt;&lt;P&gt;        TABLES&lt;/P&gt;&lt;P&gt;          buffer               = it_buffer&lt;/P&gt;&lt;P&gt;        EXCEPTIONS&lt;/P&gt;&lt;P&gt;          no_such_job          = 1&lt;/P&gt;&lt;P&gt;          job_contains_no_data = 2&lt;/P&gt;&lt;P&gt;          selection_empty      = 3&lt;/P&gt;&lt;P&gt;          no_permission        = 4&lt;/P&gt;&lt;P&gt;          can_not_access       = 5&lt;/P&gt;&lt;P&gt;          read_error           = 6&lt;/P&gt;&lt;P&gt;          type_no_match        = 7&lt;/P&gt;&lt;P&gt;          OTHERS               = 8.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*********************************************************************&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this is helpful to you. If you need further information, revert back.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward all the helpful answers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Nagaraj T&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 May 2008 12:34:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/spool-extract-reformat-program/m-p/3770055#M907165</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-02T12:34:28Z</dc:date>
    </item>
    <item>
      <title>Re: Spool Extract/Reformat Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/spool-extract-reformat-program/m-p/3770056#M907166</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi David,&lt;/P&gt;&lt;P&gt;you can get the spool file data with FM RSPO_RETURN_ABAP_SPOOLJOB. This will just return a flat internal table with the text of the spool. With this you can do whatever you need. You can probably also do some smart things with other function modules in package SPOO, like determining the page length etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gert.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 May 2008 12:41:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/spool-extract-reformat-program/m-p/3770056#M907166</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-02T12:41:32Z</dc:date>
    </item>
    <item>
      <title>Re: Spool Extract/Reformat Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/spool-extract-reformat-program/m-p/3770057#M907167</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks those will be helpful hints but I was hoping there would be something standard in the SAP ABAP programs to reformat spool files.  Do you know if there is anything?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 May 2008 12:52:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/spool-extract-reformat-program/m-p/3770057#M907167</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-02T12:52:16Z</dc:date>
    </item>
    <item>
      <title>Re: Spool Extract/Reformat Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/spool-extract-reformat-program/m-p/3770058#M907168</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;These will help us to develop something in-house as I was hoping there was something standard that SAP provided but there isn't.  I also find Compelo software thru symtrax which will accomodate this but you have to purchase and manage the software.  The site is &lt;A href="http://www.symtrax.com/" target="test_blank"&gt;http://www.symtrax.com/&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not sure if we will use Symtrax yet or not.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 May 2008 18:04:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/spool-extract-reformat-program/m-p/3770058#M907168</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-20T18:04:06Z</dc:date>
    </item>
  </channel>
</rss>

