<?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 number in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/spool-number/m-p/2056069#M424478</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
CALL FUNCTION 'RSPO_SX_OUTPUT_TEXTDATA'
EXPORTING
*       name                 =   x_name
    DEST                 =  X_DEST
    ROWS                 =  X_ROWS
    STARTROW             =  X_STARTROW
    PAGES                =  X_PAGES
    RQTITLE              =  X_RQTITLE
    RQCOPIES             =  X_RQCOPIES
    RQOWNER              =  X_RQOWNER
    IMMEDIATELY          =  X_IMMEDIATE
    IMPORTING
    RQID                 =  X_RQID
    TABLES
    TEXT_DATA            = I_CONTENTS
    EXCEPTIONS
    NAME_MISSING         = 1
    NAME_TWICE           = 2
    NOT_FOUND            = 3
    ILLEGAL_LAYOUT       = 4
    INTERNAL_ERROR       = 5
    SIZE_MISMATCH        = 6
    OTHERS               = 7.
IF SY-SUBRC &amp;lt;&amp;gt; 0.
** MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
**         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.      ENDIF.
ENDIF.

WRITE: X_RQID          " SPool Number
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REgards,&lt;/P&gt;&lt;P&gt;Vasanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Mar 2007 11:31:38 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-03-08T11:31:38Z</dc:date>
    <item>
      <title>spool number</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/spool-number/m-p/2056068#M424477</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;    could any one please help me out how to get the spool number  dynamically in the selection screen where so that i need not give the spool number every time i execute the programme.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks &amp;amp; regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Mar 2007 11:29:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/spool-number/m-p/2056068#M424477</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-08T11:29:16Z</dc:date>
    </item>
    <item>
      <title>Re: spool number</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/spool-number/m-p/2056069#M424478</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
CALL FUNCTION 'RSPO_SX_OUTPUT_TEXTDATA'
EXPORTING
*       name                 =   x_name
    DEST                 =  X_DEST
    ROWS                 =  X_ROWS
    STARTROW             =  X_STARTROW
    PAGES                =  X_PAGES
    RQTITLE              =  X_RQTITLE
    RQCOPIES             =  X_RQCOPIES
    RQOWNER              =  X_RQOWNER
    IMMEDIATELY          =  X_IMMEDIATE
    IMPORTING
    RQID                 =  X_RQID
    TABLES
    TEXT_DATA            = I_CONTENTS
    EXCEPTIONS
    NAME_MISSING         = 1
    NAME_TWICE           = 2
    NOT_FOUND            = 3
    ILLEGAL_LAYOUT       = 4
    INTERNAL_ERROR       = 5
    SIZE_MISMATCH        = 6
    OTHERS               = 7.
IF SY-SUBRC &amp;lt;&amp;gt; 0.
** MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
**         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.      ENDIF.
ENDIF.

WRITE: X_RQID          " SPool Number
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REgards,&lt;/P&gt;&lt;P&gt;Vasanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Mar 2007 11:31:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/spool-number/m-p/2056069#M424478</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-08T11:31:38Z</dc:date>
    </item>
    <item>
      <title>Re: spool number</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/spool-number/m-p/2056070#M424479</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SY-SPONO can be used to retrieve latest spool created in the program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Earlier this field was called SY-SPONR, but it is now obsolete.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Mar 2007 11:32:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/spool-number/m-p/2056070#M424479</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-08T11:32:10Z</dc:date>
    </item>
  </channel>
</rss>

