<?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 Reserve statement in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/reserve-statement/m-p/2478414#M558165</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i know that reserve statement is used when not enough space left on the current page for atleast n lines it starts a new page &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but in a interview how to define the Reserve statement can u please define and tell me...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 Jun 2007 05:20:14 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-06-21T05:20:14Z</dc:date>
    <item>
      <title>Reserve statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reserve-statement/m-p/2478414#M558165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i know that reserve statement is used when not enough space left on the current page for atleast n lines it starts a new page &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but in a interview how to define the Reserve statement can u please define and tell me...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jun 2007 05:20:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reserve-statement/m-p/2478414#M558165</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-21T05:20:14Z</dc:date>
    </item>
    <item>
      <title>Re: Reserve statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reserve-statement/m-p/2478415#M558166</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;reserve n lines where n is the integer&lt;/P&gt;&lt;P&gt;RESERVE 10 lines&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This statement creates a page break if there is not enough space left on the current list page between the last output and the page end or page footer, as specified in n. A data object of type i is expected for n. No page break is triggered if the value of n is smaller than or equal to 0. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The page break triggers the list event END-OF-PAGE regardless of whether or not a page footer was defined in the statement introducing the program. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In addition, the statement RESERVE influences the behaviour of the statement BACK. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the page length is greater than the value of n, you can define line blocks with the statement RESERVE that can only be displayed closed on one side. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points for useful Answers&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anji&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Anji Reddy Vangala&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jun 2007 05:21:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reserve-statement/m-p/2478415#M558166</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-21T05:21:45Z</dc:date>
    </item>
    <item>
      <title>Re: Reserve statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reserve-statement/m-p/2478416#M558167</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Pavan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To execute a page break on the condition that less than a certain number of lines is left on a page, use the RESERVE statement:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Syntax&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RESERVE &amp;lt;n&amp;gt; LINES.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This statement triggers a page break if less than &amp;lt;n&amp;gt; free lines are left on the current list page between the last output and the page footer. &amp;lt;n&amp;gt; can be a variable. Before starting a new page, the system processes the END-OF-PAGE event. RESERVE only takes effect if output is written to the subsequent page (the system will not generate an empty page). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The RESERVE statement thus defines a block of lines that must be output as a whole. To find out which additional practical effects a block of lines may have, see Specifying a Relative Position.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT demo_list_reserve LINE-SIZE 40 LINE-COUNT 8(2).&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;  ULINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;START-OF-SELECTION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DO 4 TIMES.&lt;/P&gt;&lt;P&gt;    WRITE / sy-index.&lt;/P&gt;&lt;P&gt;  ENDDO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DO 2 TIMES.&lt;/P&gt;&lt;P&gt;    WRITE / sy-index.&lt;/P&gt;&lt;P&gt;  ENDDO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  RESERVE 3 LINES.&lt;/P&gt;&lt;P&gt;  WRITE: / 'LINE 1',&lt;/P&gt;&lt;P&gt;         / 'LINE 2',&lt;/P&gt;&lt;P&gt;         / 'LINE 3'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The list header of the standard page header of this sample program is defined as 'Standard Page Header'. The REPORT statement determines the page length to be eight lines. Two of them are used for the standard page header, another two are reserved for the page footer. The page footer consists of a horizontal line and a blank line. Thus, for outputting the actual list, four lines per page remain. The first DO loop fills these four lines. Then the END-OF-PAGE event occurs, after which the system automatically starts a new page. After the second DO loop, the RESERVE statement triggers the END-OF-PAGE event and a page break, since the number of free lines left on the page is less than three. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Don't forget to reward if useful...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jun 2007 05:24:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reserve-statement/m-p/2478416#M558167</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-21T05:24:49Z</dc:date>
    </item>
    <item>
      <title>Re: Reserve statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reserve-statement/m-p/2478417#M558168</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;RESERVE n LINES. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect &lt;/P&gt;&lt;P&gt;If there is not enough space left on the current page for at least n lines, this statement starts a new page. n can be a constant (1,2,3,...) or a variable. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Notes &lt;/P&gt;&lt;P&gt;Before starting a new page, the END-OF-PAGE processing is executed. This differs from NEW-PAGE. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the RESERVE statement does not trigger a new page, output is continued on the current page. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use BACK to return to the first line output after RESERVE. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note &lt;/P&gt;&lt;P&gt;Performance: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The runtime required to execute a RESERVE statement is approx. 1 msn (standardized microseconds). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jun 2007 05:26:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reserve-statement/m-p/2478417#M558168</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-21T05:26:09Z</dc:date>
    </item>
  </channel>
</rss>

