<?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 output in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/spool-output/m-p/1672759#M297142</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When the job is running in batch, the files can be stored in Application server - Unix. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Better Use INDX table to store the data in Unix and retrive the same using EXPORT and IMPORT statments. Download the data to the presentation server from application server and you can get the output as you wish.If you need the format also I can help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Warm Regards,&lt;/P&gt;&lt;P&gt;Baburaj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 13 Nov 2006 12:48:26 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-11-13T12:48:26Z</dc:date>
    <item>
      <title>Spool output</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/spool-output/m-p/1672755#M297138</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have a Z report that has a character width of approx 2000 characters. We cannot run this report in the background since the spool gets truncated(list format max being 1023) and the output is useless. Can someone suggest a way to run this report in the background so that the output can be downloaded in excel with each record in a single row and not divided into multiple rows.&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Oct 2006 19:14:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/spool-output/m-p/1672755#M297138</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-31T19:14:58Z</dc:date>
    </item>
    <item>
      <title>Re: Spool output</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/spool-output/m-p/1672756#M297139</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can change the program to download the report directly into a file instead of using the spool/report output. I think it's the best way to do it if you want to run the report in background mode. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps, &lt;/P&gt;&lt;P&gt;Rui&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Nov 2006 15:40:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/spool-output/m-p/1672756#M297139</guid>
      <dc:creator>rui_nunes</dc:creator>
      <dc:date>2006-11-01T15:40:13Z</dc:date>
    </item>
    <item>
      <title>Re: Spool output</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/spool-output/m-p/1672757#M297140</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rui,&lt;/P&gt;&lt;P&gt;Thanks for the reply. I am not a technical consultant. Can you please tell me what you mean by writing directly to file? Do you mean write a custom ABAP code to write it to an excel file once the program is run in the background or would it be a basis function?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Nov 2006 20:24:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/spool-output/m-p/1672757#M297140</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-01T20:24:31Z</dc:date>
    </item>
    <item>
      <title>Re: Spool output</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/spool-output/m-p/1672758#M297141</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It has to be ABAP code change.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You mentioned that it is a Z report. This report needs to be modified.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the code have something like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
IF SY-BATCH EQ 'X'.
* Program is running in background.
* Download to file code here. 
* Also, you will have to do it using the OPEN DATASET
* commands. IN background, you cannot use any of the
* GUI/OLE related functions
* Since you said that you are not technical, please consult your ABAP programmer regarding this.
ELSE.
* Current online report code.
ENDIF.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it clarifies your doubt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;-Ramesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Nov 2006 18:27:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/spool-output/m-p/1672758#M297141</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-02T18:27:30Z</dc:date>
    </item>
    <item>
      <title>Re: Spool output</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/spool-output/m-p/1672759#M297142</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When the job is running in batch, the files can be stored in Application server - Unix. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Better Use INDX table to store the data in Unix and retrive the same using EXPORT and IMPORT statments. Download the data to the presentation server from application server and you can get the output as you wish.If you need the format also I can help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Warm Regards,&lt;/P&gt;&lt;P&gt;Baburaj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Nov 2006 12:48:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/spool-output/m-p/1672759#M297142</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-13T12:48:26Z</dc:date>
    </item>
  </channel>
</rss>

