<?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: SYSTEM VARIABLE in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/system-variable/m-p/2524705#M571797</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;CPAGE --- Current page number&lt;/P&gt;&lt;P&gt;LINCT --- Page length of list&lt;/P&gt;&lt;P&gt;SY-PAGNO -&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="---" /&gt;&lt;P&gt; Current page during the list creation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;·        WRITE, ULINE, SKIPraise SY-PAGNO by 1 in the case of a line break.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;·        NEW-PAGE raises SY-PAGNO by 1, but only if at least one output follows both on the current page and after the NEW-PAGE statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;·        NEW-SECTION of the NEW-PAGE PRINT ON statement sets SY-PAGNO to 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FOR MORE INFORMATION PLEASE CHECK OUT THE FOLLOWING LINK IT MIGHT HELP YOU&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw2004s/helpdata/en/7b/fb96c8882811d295a90000e8353423/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw2004s/helpdata/en/7b/fb96c8882811d295a90000e8353423/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;***********&lt;STRONG&gt;please reward points if theinformation is helpful to you&lt;/STRONG&gt;*************&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 14 Jul 2007 06:57:27 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-07-14T06:57:27Z</dc:date>
    <item>
      <title>SYSTEM VARIABLE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/system-variable/m-p/2524704#M571796</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;to write total page number in interactive report what is the system variable..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 Jul 2007 06:56:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/system-variable/m-p/2524704#M571796</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-14T06:56:19Z</dc:date>
    </item>
    <item>
      <title>Re: SYSTEM VARIABLE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/system-variable/m-p/2524705#M571797</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;CPAGE --- Current page number&lt;/P&gt;&lt;P&gt;LINCT --- Page length of list&lt;/P&gt;&lt;P&gt;SY-PAGNO -&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="---" /&gt;&lt;P&gt; Current page during the list creation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;·        WRITE, ULINE, SKIPraise SY-PAGNO by 1 in the case of a line break.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;·        NEW-PAGE raises SY-PAGNO by 1, but only if at least one output follows both on the current page and after the NEW-PAGE statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;·        NEW-SECTION of the NEW-PAGE PRINT ON statement sets SY-PAGNO to 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FOR MORE INFORMATION PLEASE CHECK OUT THE FOLLOWING LINK IT MIGHT HELP YOU&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw2004s/helpdata/en/7b/fb96c8882811d295a90000e8353423/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw2004s/helpdata/en/7b/fb96c8882811d295a90000e8353423/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;***********&lt;STRONG&gt;please reward points if theinformation is helpful to you&lt;/STRONG&gt;*************&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 Jul 2007 06:57:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/system-variable/m-p/2524705#M571797</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-14T06:57:27Z</dc:date>
    </item>
    <item>
      <title>Re: SYSTEM VARIABLE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/system-variable/m-p/2524706#M571798</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;use event &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;END-OF-PAGE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Current number of pages is &lt;B&gt;&lt;/B&gt;&lt;/P&gt;&lt;P&gt;sy-pagno&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;and user &lt;B&gt;&lt;P&gt;sy-lilli&lt;/P&gt;&lt;/B&gt; (current list line) to determine the number of pages!&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for example : first end of page lilli contains 50 means that you can display 50 lines on one page! If the entries you display are about 213 you can determine there will be 5 pages ! Bingo!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for any rewardè!s &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ASHOK KUMAR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 Jul 2007 07:00:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/system-variable/m-p/2524706#M571798</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-14T07:00:38Z</dc:date>
    </item>
    <item>
      <title>Re: SYSTEM VARIABLE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/system-variable/m-p/2524707#M571799</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;SY-PAGNO&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;aRs&lt;/P&gt;&lt;P&gt;Points are always welcome&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 Jul 2007 07:02:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/system-variable/m-p/2524707#M571799</guid>
      <dc:creator>former_member194669</dc:creator>
      <dc:date>2007-07-14T07:02:20Z</dc:date>
    </item>
    <item>
      <title>Re: SYSTEM VARIABLE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/system-variable/m-p/2524708#M571800</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;DONT COPY AND PAST FROM OTHERS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GIVE ME CORRECT ANSWER..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 Jul 2007 07:12:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/system-variable/m-p/2524708#M571800</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-14T07:12:19Z</dc:date>
    </item>
    <item>
      <title>Re: SYSTEM VARIABLE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/system-variable/m-p/2524709#M571801</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;  CHECK THIS ONE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In TOP-OF-PAGE you can write:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WRITE: SY-PAGNO, '/', '-----'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When the program has finished to print all data, run a routine like this: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Declare a variable &lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: L_PAGE_COUNT(5) TYPE C,&lt;/P&gt;&lt;P&gt;      V_LINE TYPE I. "The line where page number is written &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;In my example I suppose the page number is always &lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;written in the first row of the page.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;V_LINE = 1.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; Copy this code to the end of program &lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; Page count will be printed on each page here &lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  WRITE sy-pagno TO l_page_count LEFT-JUSTIFIED.&lt;/P&gt;&lt;P&gt;  DO sy-pagno TIMES.&lt;/P&gt;&lt;P&gt;    READ LINE V_LINE OF PAGE sy-index.&lt;/P&gt;&lt;P&gt;    REPLACE '-----' WITH l_page_count INTO sy-lisel.&lt;/P&gt;&lt;P&gt;    MODIFY CURRENT LINE.&lt;/P&gt;&lt;P&gt;    ADD 1 TO sy-index.&lt;/P&gt;&lt;P&gt;  ENDDO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REG&lt;/P&gt;&lt;P&gt; ASHOK KUMAR&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 Jul 2007 07:16:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/system-variable/m-p/2524709#M571801</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-14T07:16:11Z</dc:date>
    </item>
  </channel>
</rss>

