<?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: Close spool request in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/close-spool-request/m-p/6360424#M1400337</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;I can provide you with below points :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Spool generation is mainly used incase of background jobs, as in online execution has not meaning .Also, in your report the same is followed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. When your report run in background Then , you have submitted to spool.you need to check the implementation at this place.&lt;/P&gt;&lt;P&gt;Either searc for sy-batch or submit statement.At this place check if proper logic is implemented like get print parameters, get job id , submit to spool and close of job. You can easily solve this&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2009 16:00:48 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-11-25T16:00:48Z</dc:date>
    <item>
      <title>Close spool request</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/close-spool-request/m-p/6360423#M1400336</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;I have one program, that calls transaction code CIP2. When I run in backgound, it creates spool request but with 0 pages.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And have the message:&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="3" type="ul"&gt;&lt;P&gt;ERROR =&amp;gt; missing close of spool request [rspoooh.c    1173]&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I run this program without background and calls CIP2, it runs well and no spool is created.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea how to solve this problem? or close the spool request?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All ideias are welcome.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Anabela Fernandes&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2009 15:06:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/close-spool-request/m-p/6360423#M1400336</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-25T15:06:13Z</dc:date>
    </item>
    <item>
      <title>Re: Close spool request</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/close-spool-request/m-p/6360424#M1400337</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;I can provide you with below points :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Spool generation is mainly used incase of background jobs, as in online execution has not meaning .Also, in your report the same is followed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. When your report run in background Then , you have submitted to spool.you need to check the implementation at this place.&lt;/P&gt;&lt;P&gt;Either searc for sy-batch or submit statement.At this place check if proper logic is implemented like get print parameters, get job id , submit to spool and close of job. You can easily solve this&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2009 16:00:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/close-spool-request/m-p/6360424#M1400337</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-25T16:00:48Z</dc:date>
    </item>
    <item>
      <title>Re: Close spool request</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/close-spool-request/m-p/6360425#M1400338</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Harsh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When my program run in background it is done by one job and run when one event occurs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My program calls CIP2 with FM PROCESS_CC2_MESSAGES_PARALLEL. So I can't use the command SUBMIT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The spools request are created in backgound. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was think to do like: at end of program if sy-batch = 'X' -&amp;gt; Close the pending spool requests. But I don't know how to do it. Any idea?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anabela Fernandes&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2009 16:07:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/close-spool-request/m-p/6360425#M1400338</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-25T16:07:07Z</dc:date>
    </item>
  </channel>
</rss>

