<?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 Adding a Each page to a spool Request in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-a-each-page-to-a-spool-request/m-p/7186959#M1519250</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 a scenario that in the script after printing the first page , i need to print the first page again with 2 copies, and then print the second page with second page two copies and 3 page with 2 copies.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please suggest me  a solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With Regards,&lt;/P&gt;&lt;P&gt;Sumodh.P&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Aug 2010 12:32:30 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-08-05T12:32:30Z</dc:date>
    <item>
      <title>Adding a Each page to a spool Request</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-a-each-page-to-a-spool-request/m-p/7186959#M1519250</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 a scenario that in the script after printing the first page , i need to print the first page again with 2 copies, and then print the second page with second page two copies and 3 page with 2 copies.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please suggest me  a solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With Regards,&lt;/P&gt;&lt;P&gt;Sumodh.P&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Aug 2010 12:32:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-a-each-page-to-a-spool-request/m-p/7186959#M1519250</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-08-05T12:32:30Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a Each page to a spool Request</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-a-each-page-to-a-spool-request/m-p/7186960#M1519251</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sumodh (I'm not far, you know &lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;script = SAPscript form I guess. Your requirement (pages 1-1-1, 2-2-2, 3-3-3) is an existing function "grouping copies" for smart forms (see [SDN wiki - Copies (duplicate, etc.)|http://wiki.sdn.sap.com/wiki/display/ABAP/Copies&lt;EM&gt;%28duplicate%2C&lt;/EM&gt;etc.%29]), but it doesn't exist for sapscript forms.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, either you simply change your sapscript form, by changing dynamically the "next page" field of each page using NEW-PAGE command, or you create a tool which reads the spool (as it is a SAPScript form, format is OTF, it's described in some SAP documentation, especially in the SAPGOF article, and function module to read a spool is RSPO_RETURN_SPOOLJOB or RSPO_L_RETURN_RAW_DATA) and create a new one by duplicating each page (using function modules RSPO_OPEN_SPOOLREQUEST, RSPO_WRITE_SPOOLREQUEST (loop to write text), RSPO_CLOSE_SPOOLREQUEST, and maybe RSPO_PAGE_BREAK_SPOOLREQUEST).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know that you looked at it already, so tell us what issue you had with the solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sandra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Aug 2010 12:49:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-a-each-page-to-a-spool-request/m-p/7186960#M1519251</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2010-08-05T12:49:23Z</dc:date>
    </item>
  </channel>
</rss>

