<?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: Getting the spool number generated from RSNAST00 program in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-the-spool-number-generated-from-rsnast00-program/m-p/7054025#M1502364</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For me this is not a foolproof solution&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I agree that meanwhile someone else can create new spool request, hence the latest entry would hold wrong spool no, however it is very unlikely to happen so. &lt;/P&gt;&lt;P&gt;Anyhow your solution allows not only to get correct spool no everytime, but also the user can match this no with certain job, thereby having the trace which program has generated the entry.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I like your solution more then mine &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Marcin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 12 Jul 2010 08:57:16 GMT</pubDate>
    <dc:creator>MarcinPciak</dc:creator>
    <dc:date>2010-07-12T08:57:16Z</dc:date>
    <item>
      <title>Getting the spool number generated from RSNAST00 program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-the-spool-number-generated-from-rsnast00-program/m-p/7054021#M1502360</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;My requirement is to submit RSNAST00 program from my custom program and use the spool number generated in my program's spool. I have written the code like that:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  SUBMIT RSNAST00 WITH S_KAPPL = 'V1'&lt;/P&gt;&lt;P&gt;                  WITH S_OBJKY = WA_ITAB-VBELN&lt;/P&gt;&lt;P&gt;                  WITH S_KSCHL = P_OUTPUT&lt;/P&gt;&lt;P&gt;                  EXPORTING LIST TO MEMORY AND RETURN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now how can I get the generated spool number?  Please help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jul 2010 07:18:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-the-spool-number-generated-from-rsnast00-program/m-p/7054021#M1502360</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-12T07:18:04Z</dc:date>
    </item>
    <item>
      <title>Re: Getting the spool number generated from RSNAST00 program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-the-spool-number-generated-from-rsnast00-program/m-p/7054022#M1502361</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;start your program as job with fm K_BATCH_REQUEST&lt;/P&gt;&lt;P&gt;and you'll get export-parameter TSP01-RQIDENT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope that helps&lt;/P&gt;&lt;P&gt;Andreas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jul 2010 08:12:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-the-spool-number-generated-from-rsnast00-program/m-p/7054022#M1502361</guid>
      <dc:creator>andreas_mann3</dc:creator>
      <dc:date>2010-07-12T08:12:57Z</dc:date>
    </item>
    <item>
      <title>Re: Getting the spool number generated from RSNAST00 program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-the-spool-number-generated-from-rsnast00-program/m-p/7054023#M1502362</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Alternatively, just after submiting the program you can extract latest &lt;EM&gt;spool no&lt;/EM&gt; directly querying the table &lt;EM&gt;tsp01&lt;/EM&gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
data g_spool      TYPE rspoid.

SUBMIT...

SELECT MAX( rqident ) INTO g_spool FROM tsp01
                                 WHERE rqclient = sy-mandt
                                 AND   rqowner  = sy-uname.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Marcin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jul 2010 08:32:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-the-spool-number-generated-from-rsnast00-program/m-p/7054023#M1502362</guid>
      <dc:creator>MarcinPciak</dc:creator>
      <dc:date>2010-07-12T08:32:32Z</dc:date>
    </item>
    <item>
      <title>Re: Getting the spool number generated from RSNAST00 program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-the-spool-number-generated-from-rsnast00-program/m-p/7054024#M1502363</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marcin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For once i beg to differ from you &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt; For me this is not a foolproof solution, i will SUBMIT RSNAST00 as a background job [VIA JOB|http://help.sap.com/abapdocu_70/en/ABAPSUBMIT_VIA_JOB.htm].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And then use table TBTCP to get the spool number using JOBNAME &amp;amp; JOBCOUNT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Comments are welcome &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jul 2010 08:47:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-the-spool-number-generated-from-rsnast00-program/m-p/7054024#M1502363</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2010-07-12T08:47:24Z</dc:date>
    </item>
    <item>
      <title>Re: Getting the spool number generated from RSNAST00 program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-the-spool-number-generated-from-rsnast00-program/m-p/7054025#M1502364</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For me this is not a foolproof solution&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I agree that meanwhile someone else can create new spool request, hence the latest entry would hold wrong spool no, however it is very unlikely to happen so. &lt;/P&gt;&lt;P&gt;Anyhow your solution allows not only to get correct spool no everytime, but also the user can match this no with certain job, thereby having the trace which program has generated the entry.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I like your solution more then mine &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Marcin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jul 2010 08:57:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-the-spool-number-generated-from-rsnast00-program/m-p/7054025#M1502364</guid>
      <dc:creator>MarcinPciak</dc:creator>
      <dc:date>2010-07-12T08:57:16Z</dc:date>
    </item>
    <item>
      <title>Re: Getting the spool number generated from RSNAST00 program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-the-spool-number-generated-from-rsnast00-program/m-p/7054026#M1502365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marcin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to ask that along with the two parameters mentioned by you , do I need to pass the field  RQ2NAME as a concatenation of program name(sy-repid)  and sy-uname to retrieve the spool number or these parameters are sufficient?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I need to pass, then what will be the value of program name? Will this be my custom program(sy-repid) or RSNAST00 as I need to get the spool number generated by RSNAST00?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jul 2010 09:00:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-the-spool-number-generated-from-rsnast00-program/m-p/7054026#M1502365</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-12T09:00:42Z</dc:date>
    </item>
    <item>
      <title>Re: Getting the spool number generated from RSNAST00 program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-the-spool-number-generated-from-rsnast00-program/m-p/7054027#M1502366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marcin and Suhas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried the method told by Suhas but since my program will also run in background , I don't know why but the jobs created by RSNAST00 (when run in batch) are not terminated...please help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jul 2010 09:07:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-the-spool-number-generated-from-rsnast00-program/m-p/7054027#M1502366</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-12T09:07:04Z</dc:date>
    </item>
    <item>
      <title>Re: Getting the spool number generated from RSNAST00 program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-the-spool-number-generated-from-rsnast00-program/m-p/7054028#M1502367</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think you need any additional parameters to get this spool no. I believe quering by owner and client provides far enough restrcition to spool no you really want. There should be not to many users logged with your name on this client at that time;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So in fact you would need&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

DATA: gs_print_params TYPE pri_params.

CALL FUNCTION 'GET_PRINT_PARAMETERS'
  EXPORTING
    no_dialog              = 'X'
  IMPORTING
    out_parameters         = gs_print_params
    valid                  = g_valid
  EXCEPTIONS
    archive_info_not_found = 1
    invalid_print_params   = 2
    invalid_archive_params = 3
    OTHERS                 = 4.
CHECK sy-subrc = 0.

SUBMIT RSNAST00 WITH S_KAPPL = 'V1'
           WITH S_OBJKY = WA_ITAB-VBELN
          WITH S_KSCHL = P_OUTPUT
                  SPOOL PARAMETERS gs_print_params
                  WITHOUT SPOOL DYNPRO AND RETURN.

SELECT MAX( rqident ) INTO g_spool FROM tsp01
                                 WHERE rqclient = sy-mandt
                                 AND   rqowner  = sy-uname.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Anyhow submiting VIA JOB (as suggested by Suhas)is probably more convenient way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Marcin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jul 2010 09:15:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-the-spool-number-generated-from-rsnast00-program/m-p/7054028#M1502367</guid>
      <dc:creator>MarcinPciak</dc:creator>
      <dc:date>2010-07-12T09:15:04Z</dc:date>
    </item>
    <item>
      <title>Re: Getting the spool number generated from RSNAST00 program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-the-spool-number-generated-from-rsnast00-program/m-p/7054029#M1502368</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; I don't know why but the jobs created by RSNAST00 (when run in batch) are not terminated.&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you check the sample program given in SAP documentation ? What is the status of the RSNAST00 job ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you post your code for analysis ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jul 2010 09:32:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-the-spool-number-generated-from-rsnast00-program/m-p/7054029#M1502368</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2010-07-12T09:32:03Z</dc:date>
    </item>
    <item>
      <title>Re: Getting the spool number generated from RSNAST00 program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-the-spool-number-generated-from-rsnast00-program/m-p/7054030#M1502369</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Suhas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The code written by me is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF p_test = 'X'.&lt;/P&gt;&lt;P&gt;    LOOP AT i_itab INTO wa_itab.&lt;/P&gt;&lt;P&gt;      WRITE : wa_itab-vbeln.&lt;/P&gt;&lt;P&gt;    ENDLOOP.&lt;/P&gt;&lt;P&gt;    WRITE: 'Test Run only, Output for the above Orders has not been processed'.&lt;/P&gt;&lt;P&gt;  ELSE.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;    CALL FUNCTION 'JOB_OPEN'&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;        jobname          = lv_jobname&lt;/P&gt;&lt;P&gt;      IMPORTING&lt;/P&gt;&lt;P&gt;        jobcount         = lv_jobnumber&lt;/P&gt;&lt;P&gt;      EXCEPTIONS&lt;/P&gt;&lt;P&gt;        cant_create_job  = 1&lt;/P&gt;&lt;P&gt;        invalid_job_data = 2&lt;/P&gt;&lt;P&gt;        jobname_missing  = 3&lt;/P&gt;&lt;P&gt;        OTHERS           = 4.&lt;/P&gt;&lt;P&gt;    IF sy-subrc  0.&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;    LOOP AT i_itab INTO wa_itab.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;      SUBMIT  rsnast00 TO SAP-SPOOL&lt;/P&gt;&lt;P&gt;                          SPOOL PARAMETERS print_parameters&lt;/P&gt;&lt;P&gt;                          WITHOUT SPOOL DYNPRO&lt;/P&gt;&lt;P&gt;                          VIA JOB lv_jobname NUMBER lv_jobnumber&lt;/P&gt;&lt;P&gt;                          WITH nast-kappl = lc_appl&lt;/P&gt;&lt;P&gt;                          WITH nast-objky = wa_itab-vbeln&lt;/P&gt;&lt;P&gt;                          WITH nast-kschl = p_output&lt;/P&gt;&lt;P&gt;                          WITH nast-dsuf2 = 'ZTESTPROGRAM_OTC_SAMPLE_NEW'&lt;/P&gt;&lt;P&gt;                          AND RETURN.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;      IF sy-subrc = 0.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;        WRITE : p_output, wa_itab-erdat, wa_itab-kdgrp, wa_itab-vbeln.&lt;/P&gt;&lt;P&gt;        WRITE : 'RSNAST00   ran successfully for the above RMA'.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;    ENDLOOP.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;    CALL FUNCTION 'JOB_CLOSE'&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;        jobcount             = lv_jobnumber&lt;/P&gt;&lt;P&gt;        jobname              = lv_jobname&lt;/P&gt;&lt;P&gt;        strtimmed            = 'X'&lt;/P&gt;&lt;P&gt;      EXCEPTIONS&lt;/P&gt;&lt;P&gt;        cant_start_immediate = 1&lt;/P&gt;&lt;P&gt;        invalid_startdate    = 2&lt;/P&gt;&lt;P&gt;        jobname_missing      = 3&lt;/P&gt;&lt;P&gt;        job_close_failed     = 4&lt;/P&gt;&lt;P&gt;        job_nosteps          = 5&lt;/P&gt;&lt;P&gt;        job_notex            = 6&lt;/P&gt;&lt;P&gt;        lock_failed          = 7&lt;/P&gt;&lt;P&gt;        invalid_target       = 8&lt;/P&gt;&lt;P&gt;        OTHERS               = 9.&lt;/P&gt;&lt;P&gt;    IF sy-subrc  0.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;    SELECT SINGLE status FROM tbtco&lt;/P&gt;&lt;P&gt;    INTO v_status&lt;/P&gt;&lt;P&gt;    WHERE jobname = lv_jobname&lt;/P&gt;&lt;P&gt;    AND   jobcount = lv_jobnumber.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;    IF sy-subrc = 0." AND v_status = 'F'.&lt;/P&gt;&lt;P&gt;      WRITE: v_status.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;    SELECT SINGLE listident FROM tbtcp&lt;/P&gt;&lt;P&gt;    INTO v_spool&lt;/P&gt;&lt;P&gt;    WHERE jobname = lv_jobname&lt;/P&gt;&lt;P&gt;    AND   jobcount = lv_jobnumber.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;    IF sy-subrc = 0.&lt;/P&gt;&lt;P&gt;      WRITE: v_spool.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jul 2010 09:57:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-the-spool-number-generated-from-rsnast00-program/m-p/7054030#M1502369</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-12T09:57:53Z</dc:date>
    </item>
    <item>
      <title>Re: Getting the spool number generated from RSNAST00 program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-the-spool-number-generated-from-rsnast00-program/m-p/7054031#M1502370</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 able to retrieve the spool number. Now I have to attach the spool generated by my program in a mail as an attachment and send to the user. How to achieve this functionality please suggest.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jul 2010 10:49:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-the-spool-number-generated-from-rsnast00-program/m-p/7054031#M1502370</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-12T10:49:42Z</dc:date>
    </item>
    <item>
      <title>Re: Getting the spool number generated from RSNAST00 program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-the-spool-number-generated-from-rsnast00-program/m-p/7054032#M1502371</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; I am able to retrieve the spool number. Now I have to attach the spool generated by my program in a mail as an attachment and send to the user. How to achieve this functionality please suggest.&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FAQ. Search in SDN you can find many threads addressing this issue. BTW your original query is solved so close the thread &amp;amp; if possible provide some inputs. This will be helpful for future references.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Suhas Saha on Jul 12, 2010 4:37 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jul 2010 11:07:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-the-spool-number-generated-from-rsnast00-program/m-p/7054032#M1502371</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2010-07-12T11:07:25Z</dc:date>
    </item>
    <item>
      <title>Re: Getting the spool number generated from RSNAST00 program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-the-spool-number-generated-from-rsnast00-program/m-p/7054033#M1502372</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;My requirement is I have to convert the spool generated by my program in PDF format and send as an attachment in mail.&lt;/P&gt;&lt;P&gt;This I have successfully achieved but the problem is I am getting  the output in two separate pages of the PDF attachment. I want the data in one page only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me regarding this issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jul 2010 04:43:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-the-spool-number-generated-from-rsnast00-program/m-p/7054033#M1502372</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-14T04:43:14Z</dc:date>
    </item>
  </channel>
</rss>

