<?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: Reset page Numbers in SAPScript in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/reset-page-numbers-in-sapscript/m-p/2062672#M426528</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;check out this -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; CALL FUNCTION 'OPEN_FORM'&lt;/P&gt;&lt;P&gt;   ........&lt;/P&gt;&lt;P&gt;  ........&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; LOOP AT &amp;lt;ITAB&amp;gt; INTO &amp;lt;WORKAREA&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   AT NEW &amp;lt;doc. number&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   CALL FUNCTION 'START_FORM'&lt;/P&gt;&lt;P&gt;     EXPORTING&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      ARCHIVE_INDEX          =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;       FORM                   = &amp;lt;form name&amp;gt;&lt;/P&gt;&lt;P&gt;       .......&lt;/P&gt;&lt;P&gt;       ........&lt;/P&gt;&lt;P&gt;   ENDAT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   CALL FUNCTION 'WRITE_FORM'&lt;/P&gt;&lt;P&gt;      .......&lt;/P&gt;&lt;P&gt;       ........&lt;/P&gt;&lt;P&gt;   &lt;/P&gt;&lt;P&gt;   CALL FUNCTION 'END_FORM'&lt;/P&gt;&lt;P&gt;     .......&lt;/P&gt;&lt;P&gt;       ........&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   CALL FUNCTION 'CLOSE_FORM'&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;Reward points if it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Neha Bansal.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 Mar 2007 05:10:09 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-03-14T05:10:09Z</dc:date>
    <item>
      <title>Reset page Numbers in SAPScript</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reset-page-numbers-in-sapscript/m-p/2062671#M426527</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 need to reset page numbers in a SAP Script for each Document when multiple documents are used in the selection. How can this be done. My page Numbers are based on &amp;amp;PAGE&amp;amp; of &amp;amp;SAPSCRIPT-FORMPAGES&amp;amp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance,&lt;/P&gt;&lt;P&gt;Jr.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Mar 2007 19:02:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reset-page-numbers-in-sapscript/m-p/2062671#M426527</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-13T19:02:56Z</dc:date>
    </item>
    <item>
      <title>Re: Reset page Numbers in SAPScript</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reset-page-numbers-in-sapscript/m-p/2062672#M426528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;check out this -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; CALL FUNCTION 'OPEN_FORM'&lt;/P&gt;&lt;P&gt;   ........&lt;/P&gt;&lt;P&gt;  ........&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; LOOP AT &amp;lt;ITAB&amp;gt; INTO &amp;lt;WORKAREA&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   AT NEW &amp;lt;doc. number&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   CALL FUNCTION 'START_FORM'&lt;/P&gt;&lt;P&gt;     EXPORTING&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      ARCHIVE_INDEX          =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;       FORM                   = &amp;lt;form name&amp;gt;&lt;/P&gt;&lt;P&gt;       .......&lt;/P&gt;&lt;P&gt;       ........&lt;/P&gt;&lt;P&gt;   ENDAT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   CALL FUNCTION 'WRITE_FORM'&lt;/P&gt;&lt;P&gt;      .......&lt;/P&gt;&lt;P&gt;       ........&lt;/P&gt;&lt;P&gt;   &lt;/P&gt;&lt;P&gt;   CALL FUNCTION 'END_FORM'&lt;/P&gt;&lt;P&gt;     .......&lt;/P&gt;&lt;P&gt;       ........&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   CALL FUNCTION 'CLOSE_FORM'&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;Reward points if it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Neha Bansal.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2007 05:10:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reset-page-numbers-in-sapscript/m-p/2062672#M426528</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-14T05:10:09Z</dc:date>
    </item>
    <item>
      <title>Re: Reset page Numbers in SAPScript</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reset-page-numbers-in-sapscript/m-p/2062673#M426529</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;When you use START_FORM and WRITE_FORM  in the Loop of the Document Numbers internal table,(when you will write AT NEW  and AT END OF the field)&lt;/P&gt;&lt;P&gt;There is no need to clear the page numbers for each document.&lt;/P&gt;&lt;P&gt;By default it will take fresh numbers for each Document number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2007 05:16:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reset-page-numbers-in-sapscript/m-p/2062673#M426529</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-14T05:16:18Z</dc:date>
    </item>
    <item>
      <title>Re: Reset page Numbers in SAPScript</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reset-page-numbers-in-sapscript/m-p/2062674#M426530</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You need to write the perform for this one using &amp;amp;PAGE&amp;amp; and &amp;amp;SAPSCRIPT-FORMPAGES&amp;amp;. so in the Form of the Program you need to reset the values . You need to write this in the last page of the sapscript. so there in the form initialize these values and use the new values instead of the &amp;amp;PAGE&amp;amp; of &amp;amp;SAPSCRIPT-FORMPAGES&amp;amp;. hope you understand my words.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt; Sudheer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2007 05:27:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reset-page-numbers-in-sapscript/m-p/2062674#M426530</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-14T05:27:00Z</dc:date>
    </item>
  </channel>
</rss>

