<?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 Problem : Spool Request 0 does not exist .. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-spool-request-0-does-not-exist/m-p/1810438#M347519</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I have a report to be converted to PDF format and then download the pdf as a local file. The code are as below. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My problem is each time i execute my program, it will show me a message saying "Spool request 0 does not exist". Then i wil have to delete that particular code (the code below), activate the program and then copy and paste back the code (the code below from elsewhere) and activate it again. The code i copied is exactly the same, nothing is changed. But i dont want to practice this method everytime i execute my program. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What are the cause to this problem and how should i solve it ? Please advise me..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="3" type="ul"&gt;&lt;P&gt;Extracted Code ****&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;      Form  print_pdf&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM print_pdf .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;STRUCTURES&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  DATA: mstr_print_parms LIKE pri_params,&lt;/P&gt;&lt;P&gt;        mc_valid(1)      TYPE c,&lt;/P&gt;&lt;P&gt;        mi_bytecount     TYPE i,&lt;/P&gt;&lt;P&gt;        mi_length        TYPE i,&lt;/P&gt;&lt;P&gt;        mi_rqident       LIKE tsp01-rqident.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;INTERNAL TABLES&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  DATA: mtab_pdf    LIKE tline OCCURS 0 WITH HEADER LINE,&lt;/P&gt;&lt;P&gt;        mc_filename LIKE rlgrap-filename.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CONCATENATE 'c:\EEOReport-' sy-datum '_' sy-uzeit '.pdf' INTO mc_filename.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Setup the Print Parmaters&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  CALL FUNCTION 'GET_PRINT_PARAMETERS'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      destination    = space&lt;/P&gt;&lt;P&gt;      copies         = '1'&lt;/P&gt;&lt;P&gt;      list_name      = space&lt;/P&gt;&lt;P&gt;      list_text      = space&lt;/P&gt;&lt;P&gt;      immediately    = space&lt;/P&gt;&lt;P&gt;      release        = space&lt;/P&gt;&lt;P&gt;      new_list_id    = 'X'&lt;/P&gt;&lt;P&gt;      expiration     = '1'&lt;/P&gt;&lt;P&gt;      line_size      = 132&lt;/P&gt;&lt;P&gt;      line_count     = 65&lt;/P&gt;&lt;P&gt;      layout         = 'X_65_132'&lt;/P&gt;&lt;P&gt;      sap_cover_page = 'X'&lt;/P&gt;&lt;P&gt;      receiver       = 'SAP*'&lt;/P&gt;&lt;P&gt;      department     = ''&lt;/P&gt;&lt;P&gt;      no_dialog      = 'X'&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      out_parameters = mstr_print_parms&lt;/P&gt;&lt;P&gt;      valid          = mc_valid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF mc_valid &amp;lt;&amp;gt; space.&lt;/P&gt;&lt;P&gt;    NEW-PAGE PRINT ON PARAMETERS mstr_print_parms NO DIALOG.&lt;/P&gt;&lt;P&gt;    NEW-PAGE PRINT OFF.&lt;/P&gt;&lt;P&gt;  ENDIF .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Make sure that a printer destination has been set up&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;If this is not done the PDF function module ABENDS&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  IF mstr_print_parms-pdest = space.&lt;/P&gt;&lt;P&gt;    mstr_print_parms-pdest = 'LOCL'.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Explicitly set line width, and output format so that&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;the PDF conversion comes out OK&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  mstr_print_parms-linsz = 132.&lt;/P&gt;&lt;P&gt;  mstr_print_parms-paart = 'X_65_132'&lt;/P&gt;&lt;P&gt;  .&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Find out what the spool number is that was just created&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  PERFORM get_spool_number USING sy-repid&lt;/P&gt;&lt;P&gt;             sy-uname&lt;/P&gt;&lt;P&gt;    CHANGING mi_rqident.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Convert Spool to PDF&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  CALL FUNCTION 'CONVERT_ABAPSPOOLJOB_2_PDF'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      src_spoolid              = mi_rqident&lt;/P&gt;&lt;P&gt;      no_dialog                = space&lt;/P&gt;&lt;P&gt;      dst_device               = mstr_print_parms-pdest&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      pdf_bytecount            = mi_bytecount&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      pdf                      = mtab_pdf&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      err_no_abap_spooljob     = 1&lt;/P&gt;&lt;P&gt;      err_no_spooljob          = 2&lt;/P&gt;&lt;P&gt;      err_no_permission        = 3&lt;/P&gt;&lt;P&gt;      err_conv_not_possible    = 4&lt;/P&gt;&lt;P&gt;      err_bad_destdevice       = 5&lt;/P&gt;&lt;P&gt;      user_cancelled           = 6&lt;/P&gt;&lt;P&gt;      err_spoolerror           = 7&lt;/P&gt;&lt;P&gt;      err_temseerror           = 8&lt;/P&gt;&lt;P&gt;      err_btcjob_open_failed   = 9&lt;/P&gt;&lt;P&gt;      err_btcjob_submit_failed = 10&lt;/P&gt;&lt;P&gt;      err_btcjob_close_failed  = 11&lt;/P&gt;&lt;P&gt;      OTHERS                   = 12.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'DOWNLOAD'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      bin_filesize = mi_bytecount&lt;/P&gt;&lt;P&gt;      filename     = mc_filename&lt;/P&gt;&lt;P&gt;      filetype     = 'BIN'&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      act_filename = mc_filename&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      data_tab     = mtab_pdf.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM.                    " print_pdf&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;      Form  get_spool_number&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM get_spool_number  USING    P_SY_REPID&lt;/P&gt;&lt;P&gt;                                P_SY_UNAME&lt;/P&gt;&lt;P&gt;                       CHANGING P_MI_RQIDENT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: lc_rq2name LIKE tsp01-rq2name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  SELECT * FROM tsp01 WHERE  rq2name = lc_rq2name&lt;/P&gt;&lt;P&gt;  ORDER BY rqcretime DESCENDING.&lt;/P&gt;&lt;P&gt;    P_MI_RQIDENT = tsp01-rqident.&lt;/P&gt;&lt;P&gt;    EXIT.&lt;/P&gt;&lt;P&gt;  ENDSELECT.&lt;/P&gt;&lt;P&gt;  IF sy-subrc NE 0.&lt;/P&gt;&lt;P&gt;    CLEAR P_MI_RQIDENT.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM.                    " get_spool_number&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 01 Dec 2006 03:03:18 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-12-01T03:03:18Z</dc:date>
    <item>
      <title>Problem : Spool Request 0 does not exist ..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-spool-request-0-does-not-exist/m-p/1810438#M347519</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I have a report to be converted to PDF format and then download the pdf as a local file. The code are as below. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My problem is each time i execute my program, it will show me a message saying "Spool request 0 does not exist". Then i wil have to delete that particular code (the code below), activate the program and then copy and paste back the code (the code below from elsewhere) and activate it again. The code i copied is exactly the same, nothing is changed. But i dont want to practice this method everytime i execute my program. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What are the cause to this problem and how should i solve it ? Please advise me..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="3" type="ul"&gt;&lt;P&gt;Extracted Code ****&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;      Form  print_pdf&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM print_pdf .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;STRUCTURES&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  DATA: mstr_print_parms LIKE pri_params,&lt;/P&gt;&lt;P&gt;        mc_valid(1)      TYPE c,&lt;/P&gt;&lt;P&gt;        mi_bytecount     TYPE i,&lt;/P&gt;&lt;P&gt;        mi_length        TYPE i,&lt;/P&gt;&lt;P&gt;        mi_rqident       LIKE tsp01-rqident.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;INTERNAL TABLES&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  DATA: mtab_pdf    LIKE tline OCCURS 0 WITH HEADER LINE,&lt;/P&gt;&lt;P&gt;        mc_filename LIKE rlgrap-filename.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CONCATENATE 'c:\EEOReport-' sy-datum '_' sy-uzeit '.pdf' INTO mc_filename.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Setup the Print Parmaters&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  CALL FUNCTION 'GET_PRINT_PARAMETERS'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      destination    = space&lt;/P&gt;&lt;P&gt;      copies         = '1'&lt;/P&gt;&lt;P&gt;      list_name      = space&lt;/P&gt;&lt;P&gt;      list_text      = space&lt;/P&gt;&lt;P&gt;      immediately    = space&lt;/P&gt;&lt;P&gt;      release        = space&lt;/P&gt;&lt;P&gt;      new_list_id    = 'X'&lt;/P&gt;&lt;P&gt;      expiration     = '1'&lt;/P&gt;&lt;P&gt;      line_size      = 132&lt;/P&gt;&lt;P&gt;      line_count     = 65&lt;/P&gt;&lt;P&gt;      layout         = 'X_65_132'&lt;/P&gt;&lt;P&gt;      sap_cover_page = 'X'&lt;/P&gt;&lt;P&gt;      receiver       = 'SAP*'&lt;/P&gt;&lt;P&gt;      department     = ''&lt;/P&gt;&lt;P&gt;      no_dialog      = 'X'&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      out_parameters = mstr_print_parms&lt;/P&gt;&lt;P&gt;      valid          = mc_valid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF mc_valid &amp;lt;&amp;gt; space.&lt;/P&gt;&lt;P&gt;    NEW-PAGE PRINT ON PARAMETERS mstr_print_parms NO DIALOG.&lt;/P&gt;&lt;P&gt;    NEW-PAGE PRINT OFF.&lt;/P&gt;&lt;P&gt;  ENDIF .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Make sure that a printer destination has been set up&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;If this is not done the PDF function module ABENDS&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  IF mstr_print_parms-pdest = space.&lt;/P&gt;&lt;P&gt;    mstr_print_parms-pdest = 'LOCL'.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Explicitly set line width, and output format so that&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;the PDF conversion comes out OK&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  mstr_print_parms-linsz = 132.&lt;/P&gt;&lt;P&gt;  mstr_print_parms-paart = 'X_65_132'&lt;/P&gt;&lt;P&gt;  .&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Find out what the spool number is that was just created&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  PERFORM get_spool_number USING sy-repid&lt;/P&gt;&lt;P&gt;             sy-uname&lt;/P&gt;&lt;P&gt;    CHANGING mi_rqident.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Convert Spool to PDF&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  CALL FUNCTION 'CONVERT_ABAPSPOOLJOB_2_PDF'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      src_spoolid              = mi_rqident&lt;/P&gt;&lt;P&gt;      no_dialog                = space&lt;/P&gt;&lt;P&gt;      dst_device               = mstr_print_parms-pdest&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      pdf_bytecount            = mi_bytecount&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      pdf                      = mtab_pdf&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      err_no_abap_spooljob     = 1&lt;/P&gt;&lt;P&gt;      err_no_spooljob          = 2&lt;/P&gt;&lt;P&gt;      err_no_permission        = 3&lt;/P&gt;&lt;P&gt;      err_conv_not_possible    = 4&lt;/P&gt;&lt;P&gt;      err_bad_destdevice       = 5&lt;/P&gt;&lt;P&gt;      user_cancelled           = 6&lt;/P&gt;&lt;P&gt;      err_spoolerror           = 7&lt;/P&gt;&lt;P&gt;      err_temseerror           = 8&lt;/P&gt;&lt;P&gt;      err_btcjob_open_failed   = 9&lt;/P&gt;&lt;P&gt;      err_btcjob_submit_failed = 10&lt;/P&gt;&lt;P&gt;      err_btcjob_close_failed  = 11&lt;/P&gt;&lt;P&gt;      OTHERS                   = 12.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'DOWNLOAD'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      bin_filesize = mi_bytecount&lt;/P&gt;&lt;P&gt;      filename     = mc_filename&lt;/P&gt;&lt;P&gt;      filetype     = 'BIN'&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      act_filename = mc_filename&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      data_tab     = mtab_pdf.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM.                    " print_pdf&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;      Form  get_spool_number&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM get_spool_number  USING    P_SY_REPID&lt;/P&gt;&lt;P&gt;                                P_SY_UNAME&lt;/P&gt;&lt;P&gt;                       CHANGING P_MI_RQIDENT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: lc_rq2name LIKE tsp01-rq2name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  SELECT * FROM tsp01 WHERE  rq2name = lc_rq2name&lt;/P&gt;&lt;P&gt;  ORDER BY rqcretime DESCENDING.&lt;/P&gt;&lt;P&gt;    P_MI_RQIDENT = tsp01-rqident.&lt;/P&gt;&lt;P&gt;    EXIT.&lt;/P&gt;&lt;P&gt;  ENDSELECT.&lt;/P&gt;&lt;P&gt;  IF sy-subrc NE 0.&lt;/P&gt;&lt;P&gt;    CLEAR P_MI_RQIDENT.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM.                    " get_spool_number&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Dec 2006 03:03:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-spool-request-0-does-not-exist/m-p/1810438#M347519</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-01T03:03:18Z</dc:date>
    </item>
    <item>
      <title>Re: Problem : Spool Request 0 does not exist ..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-spool-request-0-does-not-exist/m-p/1810439#M347520</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Loo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ty with my solution.&lt;/P&gt;&lt;P&gt;call this FM once 'CO_PRINT_REFRESH_DATA'. in starting point in your program, to refresh the data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please wirit whether u r problem is solved or not&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Naresh Reddy.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Dec 2006 05:56:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-spool-request-0-does-not-exist/m-p/1810439#M347520</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-01T05:56:15Z</dc:date>
    </item>
    <item>
      <title>Re: Problem : Spool Request 0 does not exist ..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-spool-request-0-does-not-exist/m-p/1810440#M347521</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply Naresh. I've tried to call that FM 'CO_PRINT_REFRESH_DATA' but it didn't help. I still get that error message. Please advise.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Dec 2006 07:05:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-spool-request-0-does-not-exist/m-p/1810440#M347521</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-01T07:05:51Z</dc:date>
    </item>
    <item>
      <title>Re: Problem : Spool Request 0 does not exist ..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-spool-request-0-does-not-exist/m-p/1810441#M347522</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi.. i've added this line &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  submit (sy-repid) to sap-spool without spool dynpro&lt;/P&gt;&lt;P&gt;                                         spool PARAMETERS mstr_print_parms&lt;/P&gt;&lt;P&gt;                                         and return.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="2" type="ul"&gt;&lt;P&gt;added before &lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*-- Find out what the spool number is that was just created&lt;/P&gt;&lt;P&gt;  perform get_spool_number using sy-repid&lt;/P&gt;&lt;P&gt;             sy-uname &lt;/P&gt;&lt;P&gt; ...&lt;/P&gt;&lt;P&gt; ...&lt;/P&gt;&lt;P&gt; ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It will keep going back to my selection-screen unless i click the back button. when i click on the back button it will only convert the pdf file and it can be converted succesfully. Is there any way where i can modify the code so that it wont return to the selection-screen again and again when i click one execute ??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please assist... i need this urgently.. thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Dec 2006 07:51:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-spool-request-0-does-not-exist/m-p/1810441#M347522</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-01T07:51:01Z</dc:date>
    </item>
    <item>
      <title>Re: Problem : Spool Request 0 does not exist ..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-spool-request-0-does-not-exist/m-p/1810442#M347523</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hie..just to update. The problem it keeps going back to the same screen when i use Submit (sy-repid) to sap-spool .... is because there's a mandatory field in the selection-screen. Once i removed the mandatory field.. it execute smoothly and as expected. Hope this information can help others. &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Loo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Dec 2006 03:00:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-spool-request-0-does-not-exist/m-p/1810442#M347523</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-06T03:00:01Z</dc:date>
    </item>
  </channel>
</rss>

