<?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: sap-script page display in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-page-display/m-p/1371778#M182901</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI&lt;/P&gt;&lt;P&gt;GOOD&lt;/P&gt;&lt;P&gt;YOU CAN USE THE PROTECT-ENDPROTECT COMMAND OF SAP SCRIPT TO DISPLAY THE DATA IN A SINGLE PAGE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THANKS&lt;/P&gt;&lt;P&gt;MRUTYUN&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 22 May 2006 05:57:24 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-05-22T05:57:24Z</dc:date>
    <item>
      <title>sap-script page display</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-page-display/m-p/1371772#M182895</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;i am printing a sap script, in which i need to give the column headings in "header" window.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the problem is even if the data ends on 1 page, the next page gets printed .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please tell the code which needs to be included to stop &lt;/P&gt;&lt;P&gt;printing next page when data ends in the current page.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 May 2006 16:31:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-page-display/m-p/1371772#M182895</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-19T16:31:36Z</dc:date>
    </item>
    <item>
      <title>Re: sap-script page display</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-page-display/m-p/1371773#M182896</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Make sure that your MAIN window dimensions are correct as well as the HEADER window dimensions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 May 2006 16:36:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-page-display/m-p/1371773#M182896</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-05-19T16:36:21Z</dc:date>
    </item>
    <item>
      <title>Re: sap-script page display</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-page-display/m-p/1371774#M182897</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the SAP Script you can use following standard variables to control the page.&lt;/P&gt;&lt;P&gt;IF &amp;amp;NEXTPAGE&amp;amp; = 0&lt;/P&gt;&lt;P&gt;Measn it is last page&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;amp;SAPSCRIPT-FORMPAGES(2)&amp;amp; will print the total number of pages&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;amp;PAGE&amp;amp; will giv eyou the current Page&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;like if &amp;amp;PAGE&amp;amp; &amp;lt; 2 means you are on first page&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Aman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 May 2006 17:05:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-page-display/m-p/1371774#M182897</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-19T17:05:29Z</dc:date>
    </item>
    <item>
      <title>Re: sap-script page display</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-page-display/m-p/1371775#M182898</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Ravindra,&lt;/P&gt;&lt;P&gt;just check the adjustments of mainwindow and footer window(if u defined)&lt;/P&gt;&lt;P&gt;i thinks the dimensions r going to the next screen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Naveen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 May 2006 17:15:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-page-display/m-p/1371775#M182898</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-19T17:15:49Z</dc:date>
    </item>
    <item>
      <title>Re: sap-script page display</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-page-display/m-p/1371776#M182899</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Swich on the Graphic Form painter and from ther you can easily check the height and width of the MAIN window.&lt;/P&gt;&lt;P&gt;Also check the Defination and text of the SAP Script from&lt;/P&gt;&lt;P&gt;menu FORM - &amp;gt; CHECK -&amp;gt; DEFINATION and TEXT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Aman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 May 2006 17:49:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-page-display/m-p/1371776#M182899</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-19T17:49:26Z</dc:date>
    </item>
    <item>
      <title>Re: sap-script page display</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-page-display/m-p/1371777#M182900</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hai &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;go through the following Document&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROTECT: Protect from page break&lt;/P&gt;&lt;P&gt;You can determine that a paragraph must not be separated by a page break in the style or layout set. If the attribute page protection is set, then all the lines of this paragraph are always output together on one page. This attribute is linked to the respective paragraph.&lt;/P&gt;&lt;P&gt;It certainly does not make sense, to provide all the paragraphs with a page protection attribute to neutralize an unwanted page break. This event is much too dynamic for this and only results from the current text. Furthermore, it can also happen that you only want to protect parts of a paragraph from a page break. In principle, you could solve this problem using the command NEW-PAGE, by explicitly starting a new page before the affected parts of the text. However, this procedure is not very easy to make changes to. Assume that you have formatted your text using the NEW-PAGE command so that you have no unwanted&lt;/P&gt;&lt;P&gt;page breaks. If you now insert new lines or delete existing ones, you would have to check all the NEW-PAGE commands inserted after this point in the text, as changes can result in the movement of page breaks. With the command pair PROTECT. ENDPROTECT, SAPscript offers you the option of individually defining protection from a page break. If you parenthesize the text in question using these commands, SAPscript automatically guarantees that all the lines it contains are printed together on one page. If the lines fit on the current output page, they are output there, in exactly the same way as if the PROTECT&lt;/P&gt;&lt;P&gt;command was not used. If, however, the space is not sufficient, the PROTECT command then works as a NEW-PAGE and generates a form feed .For this reason, you can view PROTECT/ENDPROTECT as a conditional NEW-PAGE command, whose condition consists of whether the included lines fit into the current window MAIN or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Syntax:&lt;/P&gt;&lt;P&gt;/: PROTECT&lt;/P&gt;&lt;P&gt;:&lt;/P&gt;&lt;P&gt;:&lt;/P&gt;&lt;P&gt;/: ENDPROTECT&lt;/P&gt;&lt;P&gt;The lines to be protected lie between the two commands.&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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;#149;&amp;amp;#61472;An ENDPROTECT command without a preceding PROTECT command&lt;/P&gt;&lt;P&gt;is ineffective.&lt;/P&gt;&lt;P&gt;&amp;#149;&amp;amp;#61472;If the last ENDPROTECT is missing, it is implicitly assumed at the end&lt;/P&gt;&lt;P&gt;of the text.&lt;/P&gt;&lt;P&gt;&amp;#149;&amp;amp;#61472;PROTECT .. ENDPROTECT commands cannot be nested. If a second&lt;/P&gt;&lt;P&gt;PROTECT command is recognized while another is active, the second is&lt;/P&gt;&lt;P&gt;ignored.&lt;/P&gt;&lt;P&gt;&amp;#149;&amp;amp;#61472;If the text between PROTECT and ENDPROTECT is so extensive that it&lt;/P&gt;&lt;P&gt;would not completely fit on an empty page, then only one form feed is&lt;/P&gt;&lt;P&gt;generated and the text is then output normally. Thus, in this case, the&lt;/P&gt;&lt;P&gt;section to be protected can be separated by a page break.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to set the USER_SETTINGS perameter in your SmartForm to SPACE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; regards&lt;/P&gt;&lt;P&gt;Sreeni&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 May 2006 05:24:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-page-display/m-p/1371777#M182900</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-22T05:24:05Z</dc:date>
    </item>
    <item>
      <title>Re: sap-script page display</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-page-display/m-p/1371778#M182901</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI&lt;/P&gt;&lt;P&gt;GOOD&lt;/P&gt;&lt;P&gt;YOU CAN USE THE PROTECT-ENDPROTECT COMMAND OF SAP SCRIPT TO DISPLAY THE DATA IN A SINGLE PAGE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THANKS&lt;/P&gt;&lt;P&gt;MRUTYUN&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 May 2006 05:57:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-page-display/m-p/1371778#M182901</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-22T05:57:24Z</dc:date>
    </item>
  </channel>
</rss>

