<?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 Calling Spool while running in Foreground in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-spool-while-running-in-foreground/m-p/3970222#M948325</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;If I run a classical report in background, the output of this automatically goes to the Spool, which I can see using SP01/SP02.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But, the user wants to send the output of the report while running in Foreground too. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Customer's Says: "&lt;STRONG&gt;in the foreground, the user must be prompted to send the output to the spool&lt;/STRONG&gt;".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me with the logic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Ishaq.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Jun 2008 12:05:54 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-06-19T12:05:54Z</dc:date>
    <item>
      <title>Calling Spool while running in Foreground</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-spool-while-running-in-foreground/m-p/3970222#M948325</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;If I run a classical report in background, the output of this automatically goes to the Spool, which I can see using SP01/SP02.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But, the user wants to send the output of the report while running in Foreground too. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Customer's Says: "&lt;STRONG&gt;in the foreground, the user must be prompted to send the output to the spool&lt;/STRONG&gt;".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me with the logic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Ishaq.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jun 2008 12:05:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-spool-while-running-in-foreground/m-p/3970222#M948325</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-19T12:05:54Z</dc:date>
    </item>
    <item>
      <title>Re: Calling Spool while running in Foreground</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-spool-while-running-in-foreground/m-p/3970223#M948326</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;The code for calling spool in foreground running is in the following link,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;A href="http://www.sapdevelopment.co.uk/reporting/rep_spooltopdf2.htm" target="test_blank"&gt;http://www.sapdevelopment.co.uk/reporting/rep_spooltopdf2.htm&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jagadish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jun 2008 12:09:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-spool-while-running-in-foreground/m-p/3970223#M948326</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-19T12:09:23Z</dc:date>
    </item>
    <item>
      <title>Re: Calling Spool while running in Foreground</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-spool-while-running-in-foreground/m-p/3970224#M948327</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use the below code to create a spool request:&lt;/P&gt;&lt;P&gt;      NEW-PAGE PRINT ON&lt;/P&gt;&lt;P&gt;      LINE-SIZE 220&lt;/P&gt;&lt;P&gt;      IMMEDIATELY 'X'&lt;/P&gt;&lt;P&gt;      KEEP IN SPOOL 'X'&lt;/P&gt;&lt;P&gt;      NEW LIST IDENTIFICATION 'X'&lt;/P&gt;&lt;P&gt;      NO DIALOG.&lt;/P&gt;&lt;P&gt;      WRITE:/.........code all the WRITE steps&lt;/P&gt;&lt;P&gt;      NEW-PAGE PRINT OFF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Before the above code use the function module  POPUP_TO_CONFIRM to prompt the customer and if he interested for spool go for the above code else not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*******Reward points if useful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kiran Bobbala&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jun 2008 12:17:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-spool-while-running-in-foreground/m-p/3970224#M948327</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-19T12:17:50Z</dc:date>
    </item>
    <item>
      <title>Re: Calling Spool while running in Foreground</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-spool-while-running-in-foreground/m-p/3970225#M948328</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 tried your code for generating spool in foreground(below). The spool no gets generated but I am not getting the data in spool.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NEW-PAGE PRINT ON&lt;/P&gt;&lt;P&gt;        LINE-SIZE 220&lt;/P&gt;&lt;P&gt;        IMMEDIATELY 'X'&lt;/P&gt;&lt;P&gt;        KEEP IN SPOOL 'X'&lt;/P&gt;&lt;P&gt;        NEW LIST IDENTIFICATION 'X'&lt;/P&gt;&lt;P&gt;        NO DIALOG.&lt;/P&gt;&lt;P&gt;        PERFORM header.&lt;/P&gt;&lt;P&gt;        PERFORM output USING wa_final.&lt;/P&gt;&lt;P&gt;        NEW-PAGE PRINT OFF.&lt;/P&gt;&lt;P&gt;Then after I have to send mail with a PDF attachment.&lt;/P&gt;&lt;P&gt;Please suggest.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Binay.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jul 2008 06:36:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-spool-while-running-in-foreground/m-p/3970225#M948328</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-07T06:36:09Z</dc:date>
    </item>
  </channel>
</rss>

