<?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 How to create a standard spool??? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-create-a-standard-spool/m-p/2348175#M518165</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I have been give the requirement to create a standard spool and save the output &lt;/P&gt;&lt;P&gt;of a report when it is executed in the background.&lt;/P&gt;&lt;P&gt;Please guide me how to do it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;syed&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 Jun 2007 02:47:40 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-06-07T02:47:40Z</dc:date>
    <item>
      <title>How to create a standard spool???</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-create-a-standard-spool/m-p/2348175#M518165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I have been give the requirement to create a standard spool and save the output &lt;/P&gt;&lt;P&gt;of a report when it is executed in the background.&lt;/P&gt;&lt;P&gt;Please guide me how to do it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;syed&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jun 2007 02:47:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-create-a-standard-spool/m-p/2348175#M518165</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-07T02:47:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a standard spool???</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-create-a-standard-spool/m-p/2348176#M518166</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;   You can use the TCODe SP01 for this. In your selection screen instead of pressing Execute you can press 'F9' or you can Goto &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'Program -&amp;gt; Execute It in Background.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then Goto SM37 here you can see the status , if the status idf showing as 'Finished' then you can Goto the Menu -&amp;gt; System Services -&amp;gt; Output Control.&lt;/P&gt;&lt;P&gt; It will directly lead to SP01 transaction and you can see your spool output here. Fro here you can Save Or You can PRINT your report directly..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope tis will help you, get back if you have some doubts..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward All Helpfull Answers...............&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jun 2007 02:54:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-create-a-standard-spool/m-p/2348176#M518166</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-07T02:54:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a standard spool???</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-create-a-standard-spool/m-p/2348177#M518167</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;You execute  any report  in the  background  it will create a spool .... so      need not to do any thing in your report   ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;just execute   in SE38  ....  place the   selection parameters      and  in the  menu&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Goto  to  MENU-&amp;gt; Programs -&amp;gt; execute  background ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it will  give you the  pop which is   output device (printer  name)   give  LOCL or give  which ever  printer was  configured  to your sap server  ask BASIS  he only adds the printer to the  sap ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then  click on  ok  ....    again one  pop   there  press on Immedaite   so that your   program will executed  immediately  or else  you can schedule it later also  by placing the  date/time...etc ..  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;your   program is  executed in the  back ground   and spool was  created  ... with   that  output device   ...DON'T  worry  it will not print  only the  spool will be  created  and  saved in the  spool table  " TSP01 ".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Goto  transcation  SP01  ..execute    with  your user id and   date  ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it will display the  all the spool's list  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;by selecting the check box  in the  list  of of spool you can see the data  inthe   spool  and you can take  printout also ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward  points    if it is usefull .&lt;/P&gt;&lt;P&gt;Girish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jun 2007 03:19:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-create-a-standard-spool/m-p/2348177#M518167</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-07T03:19:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a standard spool???</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-create-a-standard-spool/m-p/2348178#M518168</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;even you can use background directly , &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and also programtically you can do when they run foreground ,if they want to see in spool&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: d_suffix1(4) TYPE n.&lt;/P&gt;&lt;P&gt;  DATA: d_suffix2    LIKE ssfcompop-tdsuffix2.&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;d_suffix1 =   " you can give main document number'.&lt;/P&gt;&lt;P&gt;CONCATENATE sy-datum+2 sy-uzeit INTO d_suffix2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT * FROM tsp01 WHERE&lt;/P&gt;&lt;P&gt;             rq0name = sy-repid  AND&lt;/P&gt;&lt;P&gt;             rq1name = d_suffix1 AND&lt;/P&gt;&lt;P&gt;             rq2name = d_suffix2 AND&lt;/P&gt;&lt;P&gt;             rqowner = sy-uname.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          WRITE:/ 'Spool request issued',&lt;/P&gt;&lt;P&gt;                /  'Spool Number:', tsp01-rqident,&lt;/P&gt;&lt;P&gt;                /  'Spool Name  :', tsp01-rq0name,&lt;/P&gt;&lt;P&gt;                /  'Suffix 1    :' , tsp01-rq1name,&lt;/P&gt;&lt;P&gt;                /  'Suffix 2    :', tsp01-rq2name,&lt;/P&gt;&lt;P&gt;                /  'Owner       :', tsp01-rqowner,&lt;/P&gt;&lt;P&gt;                /  'Device      :',tsp01-rqdest,&lt;/P&gt;&lt;P&gt;                /  'Copies      :', tsp01-rqcopies,&lt;/P&gt;&lt;P&gt;                /  'Processed   :', tsp01-rqpjreq.&lt;/P&gt;&lt;P&gt;          SKIP.&lt;/P&gt;&lt;P&gt;        ENDSELECT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        IF sy-subrc EQ 0.&lt;/P&gt;&lt;P&gt;          CALL FUNCTION 'RSPO_OUTPUT_SPOOL_REQUEST'&lt;/P&gt;&lt;P&gt;               EXPORTING&lt;/P&gt;&lt;P&gt;                    spool_request_id         = tsp01-rqident&lt;/P&gt;&lt;P&gt;               EXCEPTIONS&lt;/P&gt;&lt;P&gt;                    archive_dest_invalid     = 1&lt;/P&gt;&lt;P&gt;                    archive_dest_not_found   = 2&lt;/P&gt;&lt;P&gt;                    archive_dest_no_right    = 3&lt;/P&gt;&lt;P&gt;                    cannot_archive           = 4&lt;/P&gt;&lt;P&gt;                    change_archdest_no_right = 5&lt;/P&gt;&lt;P&gt;                    change_copies_no_right   = 6&lt;/P&gt;&lt;P&gt;                    change_dest_no_right     = 7&lt;/P&gt;&lt;P&gt;                    change_devtype_no_right  = 8&lt;/P&gt;&lt;P&gt;                    change_prio_no_right     = 9&lt;/P&gt;&lt;P&gt;                    change_telenum_no_right  = 10&lt;/P&gt;&lt;P&gt;                    change_title_no_right    = 11&lt;/P&gt;&lt;P&gt;                    dest_invalid             = 12&lt;/P&gt;&lt;P&gt;                    dest_not_found           = 13&lt;/P&gt;&lt;P&gt;                    dest_no_right            = 14&lt;/P&gt;&lt;P&gt;                    internal_problem         = 15&lt;/P&gt;&lt;P&gt;                    invalid_fax_attribute    = 16&lt;/P&gt;&lt;P&gt;                    invalid_parameters       = 17&lt;/P&gt;&lt;P&gt;                    non_owner_no_right       = 18&lt;/P&gt;&lt;P&gt;                    no_layout                = 19&lt;/P&gt;&lt;P&gt;                    no_spool_request         = 20&lt;/P&gt;&lt;P&gt;                    out_again_no_right       = 21&lt;/P&gt;&lt;P&gt;                    spooler_problem          = 22&lt;/P&gt;&lt;P&gt;                    OTHERS                   = 23.&lt;/P&gt;&lt;P&gt;          IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;            MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno&lt;/P&gt;&lt;P&gt;                   WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.&lt;/P&gt;&lt;P&gt;          ENDIF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jun 2007 03:22:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-create-a-standard-spool/m-p/2348178#M518168</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-07T03:22:32Z</dc:date>
    </item>
  </channel>
</rss>

