<?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 not generating in SUBMIT Program in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/spool-not-generating-in-submit-program/m-p/6410451#M1407784</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi R P, i am just wondering if you ever got this working. I used a wait and it was successful in UAT. It ran for the first time in production and two of my  38 emails had the wrong attachment because my delay was not long enough. i am hoping you found a solid solution.   Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 04 Jun 2010 19:43:40 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-06-04T19:43:40Z</dc:date>
    <item>
      <title>SPOOL not generating in SUBMIT Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/spool-not-generating-in-submit-program/m-p/6410444#M1407777</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;&lt;/P&gt;&lt;P&gt;I have one requirement where I need to trigger and Email after PGI is done for any delivery. So for that I have find one enhancement after PGI Commit(as my SCRIPT output is generating based on data commited after PGI). In the enhancement I am calling one Z Report(report that gives SCRIPT Output of delivery) which generates SPOOL from the CLOSE_FORM of SCRIPT function module. This scenario is working fine for many cases but in few cases it's not generating SPOOL. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is no problem in user setting as for same user it's generating some time and not generating in some case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My Enhancement is passing Delivery Number to Z Report(using SUBMIT) which creates NEW SPOOL each time AND RETURNS back to Enhancement for convering SPOOL to PDF and then further processing for sending mail.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After long long analaysis I come to know that it's not generates SPOOL for some cases.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please suggest some solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RP&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Nov 2009 12:57:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/spool-not-generating-in-submit-program/m-p/6410444#M1407777</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-24T12:57:28Z</dc:date>
    </item>
    <item>
      <title>Re: SPOOL not generating in SUBMIT Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/spool-not-generating-in-submit-program/m-p/6410445#M1407778</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi try this way...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
*   Subroutine to get the print parameters
* Function Module to get the print parameters
  CALL FUNCTION 'GET_PRINT_PARAMETERS'
    EXPORTING
      destination    = 'LP01'
      list_name      = 'TEST'
      list_text      = 'SUBMIT ... TO SAP-SPOOL'
      immediately    = ' '
      line_size      = '2000'
      no_dialog      = 'X'
    IMPORTING
      out_parameters = wa_pri_params
      valid          = w_valid.

    CONCATENATE 'QU'
                 sy-datum+4(4)
                 sy-uzeit INTO
                 wa_pri_params-plist.
*   Submit report in background and creating spool
    SUBMIT (w_rname) USING SELECTION-SET p_var
        TO SAP-SPOOL WITHOUT SPOOL DYNPRO
        SPOOL PARAMETERS wa_pri_params AND RETURN.
    COMMIT WORK AND WAIT.
*   To fetch the spool number from TSP01 table
    IF sy-subrc EQ 0.
      SELECT rqident
             FROM tsp01
             INTO p_spool
             UP TO 1 ROWS
             WHERE rq2name = wa_pri_params-plist.
      ENDSELECT.
    ENDIF.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Prabhudas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Nov 2009 13:47:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/spool-not-generating-in-submit-program/m-p/6410445#M1407778</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-24T13:47:24Z</dc:date>
    </item>
    <item>
      <title>Re: SPOOL not generating in SUBMIT Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/spool-not-generating-in-submit-program/m-p/6410446#M1407779</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi RP,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;did you find a solution, as we maybe have the same question in this thread &lt;SPAN __jive_macro_name="thread" id="1615921"&gt;&lt;/SPAN&gt;. This thread is about a delayed update of TSP01 making think that the spool has not been generated (in fact TSP01 update seems to be delayed somtimes).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thx&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Feb 2010 09:17:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/spool-not-generating-in-submit-program/m-p/6410446#M1407779</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2010-02-25T09:17:55Z</dc:date>
    </item>
    <item>
      <title>Re: SPOOL not generating in SUBMIT Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/spool-not-generating-in-submit-program/m-p/6410447#M1407780</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;Once you create SPOOL request and then converting to PDF and send mail.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After finishing this step delete the created SPOOL request from SPOOL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since some times it will not create spool because of memory.....&lt;/P&gt;&lt;P&gt;By doing above process we can reduce the memory usage.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Shankar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Feb 2010 09:21:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/spool-not-generating-in-submit-program/m-p/6410447#M1407780</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-25T09:21:44Z</dc:date>
    </item>
    <item>
      <title>Re: SPOOL not generating in SUBMIT Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/spool-not-generating-in-submit-program/m-p/6410448#M1407781</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Due to server load it was not generating spool in time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks all for your input.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Mar 2010 05:41:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/spool-not-generating-in-submit-program/m-p/6410448#M1407781</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-23T05:41:04Z</dc:date>
    </item>
    <item>
      <title>Re: SPOOL not generating in SUBMIT Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/spool-not-generating-in-submit-program/m-p/6410449#M1407782</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi RP, thx for the feedback.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you know, in the other thread I mentioned above, Katie was interested to know why the spool was not generated in time, and alternatively what solution could be used instead of the WAIT UP TO 2 SECONDS she had been forced to use.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you give us more information why there was a delay, does it depend on Operating system or something else. Did you get some documentation about that (SAP note, etc.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thx&lt;/P&gt;&lt;P&gt;Sandra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Mar 2010 08:51:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/spool-not-generating-in-submit-program/m-p/6410449#M1407782</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2010-03-23T08:51:51Z</dc:date>
    </item>
    <item>
      <title>Re: SPOOL not generating in SUBMIT Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/spool-not-generating-in-submit-program/m-p/6410450#M1407783</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried with putting delay but still server load was crossing the wait seconds.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my case i have to proceed to SUBMIT program once data available in Z table so i put DO wa_time TIMES to check value in Z table. where value of wa_time is around 50.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Still this program is in UAT.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Mar 2010 10:21:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/spool-not-generating-in-submit-program/m-p/6410450#M1407783</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-23T10:21:51Z</dc:date>
    </item>
    <item>
      <title>Re: SPOOL not generating in SUBMIT Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/spool-not-generating-in-submit-program/m-p/6410451#M1407784</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi R P, i am just wondering if you ever got this working. I used a wait and it was successful in UAT. It ran for the first time in production and two of my  38 emails had the wrong attachment because my delay was not long enough. i am hoping you found a solid solution.   Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jun 2010 19:43:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/spool-not-generating-in-submit-program/m-p/6410451#M1407784</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-04T19:43:40Z</dc:date>
    </item>
    <item>
      <title>Re: SPOOL not generating in SUBMIT Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/spool-not-generating-in-submit-program/m-p/6410452#M1407785</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sandra,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please help me resolve an issue.&lt;/P&gt;&lt;P&gt;I have to send the spool o/p to application server, as spool is already in pdf format(from adobe). How to read that in pdf format only and write to app server in pdf format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Manu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Nov 2010 14:55:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/spool-not-generating-in-submit-program/m-p/6410452#M1407785</guid>
      <dc:creator>manubhutani</dc:creator>
      <dc:date>2010-11-08T14:55:19Z</dc:date>
    </item>
  </channel>
</rss>

