<?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 in foreground in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/spool-in-foreground/m-p/6575213#M1433528</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;Check below logic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

NEW-PAGE PRINT ON.  "Redirects the o/p to spool

WRITE 'Test'.       "Here is your o/p printing logic

NEW-PAGE PRINT OFF. "Redirects the o/p to list.

WRITE: 'Spool number', sy-spono.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After executing below sample code, system will ask for printer name as it asks when you run the report in background. Enter the name and continue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First write statement data is transferred to the spool.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vinod.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 Feb 2010 13:47:15 GMT</pubDate>
    <dc:creator>vinod_vemuru2</dc:creator>
    <dc:date>2010-02-10T13:47:15Z</dc:date>
    <item>
      <title>Spool in foreground</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/spool-in-foreground/m-p/6575211#M1433526</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 am sending the spool(o/p of program) through an email using function module 'RSPO_SPOOLJOB_TO_OFFICE'.&lt;/P&gt;&lt;P&gt;Because whatever spool is gettting generated, I am passing that spool no to this FM, but in foreground there is no spool&lt;/P&gt;&lt;P&gt;but a mail should be sent in foreground as well&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Feb 2010 13:14:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/spool-in-foreground/m-p/6575211#M1433526</guid>
      <dc:creator>manubhutani</dc:creator>
      <dc:date>2010-02-10T13:14:51Z</dc:date>
    </item>
    <item>
      <title>Re: Spool in foreground</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/spool-in-foreground/m-p/6575212#M1433527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;USe the FM GET_PRINT_PARAMETERS , it will creat the spool and send the spool data i.e output thrugh mail..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reagrds,&lt;/P&gt;&lt;P&gt;Bharani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Feb 2010 13:18:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/spool-in-foreground/m-p/6575212#M1433527</guid>
      <dc:creator>BH2408</dc:creator>
      <dc:date>2010-02-10T13:18:14Z</dc:date>
    </item>
    <item>
      <title>Re: Spool in foreground</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/spool-in-foreground/m-p/6575213#M1433528</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;Check below logic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

NEW-PAGE PRINT ON.  "Redirects the o/p to spool

WRITE 'Test'.       "Here is your o/p printing logic

NEW-PAGE PRINT OFF. "Redirects the o/p to list.

WRITE: 'Spool number', sy-spono.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After executing below sample code, system will ask for printer name as it asks when you run the report in background. Enter the name and continue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First write statement data is transferred to the spool.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vinod.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Feb 2010 13:47:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/spool-in-foreground/m-p/6575213#M1433528</guid>
      <dc:creator>vinod_vemuru2</dc:creator>
      <dc:date>2010-02-10T13:47:15Z</dc:date>
    </item>
  </channel>
</rss>

