<?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: scripts in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/scripts/m-p/3508184#M843822</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;protect ..... endprotect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if u need u r data to be placed in one page like a pragraph.&lt;/P&gt;&lt;P&gt;u have to use protect ..... endprotect.ie.. wat ever the data u have mentioned in this commands it will be displayed in one page it self. if it is exceeding then it will automatically goes to next page and print it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;bottom..... endbottom.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is used to write footer in form.&lt;/P&gt;&lt;P&gt;if u need footer in u r page use this.&lt;/P&gt;&lt;P&gt;it will be displayed in footer part.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 05 Mar 2008 13:45:07 GMT</pubDate>
    <dc:creator>mahaboob_pathan</dc:creator>
    <dc:date>2008-03-05T13:45:07Z</dc:date>
    <item>
      <title>scripts</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/scripts/m-p/3508181#M843819</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;wt is protect &amp;amp; un protect , bottom &amp;amp; end bottom in scripts.&lt;/P&gt;&lt;P&gt;than q.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Mar 2008 13:28:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/scripts/m-p/3508181#M843819</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-05T13:28:01Z</dc:date>
    </item>
    <item>
      <title>Re: scripts</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/scripts/m-p/3508182#M843820</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;well a protect in sap script looks like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
/:   PROTECT
/:   INCLUDE &amp;amp;VBAK-VBELN(K)&amp;amp; OBJECT VBBK ID YAE1 LANGUAGE &amp;amp;NAST-SPRAS&amp;amp;
/:   ENDPROTECT
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what does it do?&lt;/P&gt;&lt;P&gt;it makes sure the there will be no page break while printing the things between your protect &amp;amp; endprotect.&lt;/P&gt;&lt;P&gt;In this example between the protect and endprotect i have a header text of a order or offer.&lt;/P&gt;&lt;P&gt;means if the text fits on the rest of the page, it will be printed there, but if there would be a page break during this text, it will get printed on the next sheet completeley.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Mar 2008 13:34:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/scripts/m-p/3508182#M843820</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-05T13:34:23Z</dc:date>
    </item>
    <item>
      <title>Re: scripts</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/scripts/m-p/3508183#M843821</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi     &lt;STRONG&gt;&lt;EM&gt;Seenu&lt;/EM&gt;&lt;/STRONG&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Go through This  Documents.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can specify, either in the style or in the form, that a particular paragraph should not be split in two by a page break. If this page protect attribute is set, then the complete paragraph is always printed on one page. This property applies only to that particular paragraph. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This attribute is not intended to be used to protect all paragraphs against a page break. The point is that a page break is by its very nature a dynamic event and the exact point at which it occurs depends on the current state (length and contents) of the preceding text. It is also possible that you may want to protect only certain parts of a paragraph against a page break. One way to achieve this is to use the NEW-PAGE command immediately before the text concerned starts. Explicitly beginning a new page at this point should ensure that a further page break does not occur within the text. However, this technique is not change-friendly. For example, you format your text with the help of the NEW-PAGE command so that no page breaks occur where they should not. At a later time, you insert or delete some lines. These changes cause all the subsequent text to be moved relative to the printed page, and you must check each NEW-PAGE command you previously inserted to see if it is still in the correct place. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To allow you to define the areas to be protected against a page break on an individual basis, SAPscript provides the PROTECT.. ENDPROTECT command pair. If you enclose the text to be protected in these commands, then SAPscript will ensure that each line of this text is printed together on the same page. If the complete text fits in the space remaining on the current page, then it is printed on this page just as it would be if no PROTECT command had been used. If, however, the remaining space is not sufficient for the text, then the PROTECT command has the same effect as a NEW-PAGE command and text is printed on a new page. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thus the PROTECT/ENDPROTECT commands may be regarded as a kind of conditional NEW-PAGE command, the condition being whether or not the lines enclosed between the two commands fit in the space remaining in the current main window. &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;/: 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 text lines to be protected are enclosed between the two commands. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An ENDPROTECT command without a preceding PROTECT command has no effect. &lt;/P&gt;&lt;P&gt;If the terminating ENDPROTECT is missing, SAPscript assumes it at the end of the text. &lt;/P&gt;&lt;P&gt;PROTECT.. ENDPROTECT command pairs cannot be nested. If a second PROTECT command occurs before the first one has been terminated by an ENDPROTECT, it is ignored. &lt;/P&gt;&lt;P&gt;If the text enclosed by a PROTECT.. ENDPROTECT pair is itself too long for a single page, then a page break is generated immediately before the text and the text is printed in the normal way. It is then unavoidable that a page break will occur at some point within the text. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thnks and reward me with pts if useful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Mar 2008 13:38:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/scripts/m-p/3508183#M843821</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-05T13:38:29Z</dc:date>
    </item>
    <item>
      <title>Re: scripts</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/scripts/m-p/3508184#M843822</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;protect ..... endprotect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if u need u r data to be placed in one page like a pragraph.&lt;/P&gt;&lt;P&gt;u have to use protect ..... endprotect.ie.. wat ever the data u have mentioned in this commands it will be displayed in one page it self. if it is exceeding then it will automatically goes to next page and print it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;bottom..... endbottom.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is used to write footer in form.&lt;/P&gt;&lt;P&gt;if u need footer in u r page use this.&lt;/P&gt;&lt;P&gt;it will be displayed in footer part.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Mar 2008 13:45:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/scripts/m-p/3508184#M843822</guid>
      <dc:creator>mahaboob_pathan</dc:creator>
      <dc:date>2008-03-05T13:45:07Z</dc:date>
    </item>
    <item>
      <title>Re: scripts</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/scripts/m-p/3508185#M843823</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i am getting answers .&lt;/P&gt;&lt;P&gt;thanq for all whose respond my queru.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Mar 2008 13:23:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/scripts/m-p/3508185#M843823</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-07T13:23:37Z</dc:date>
    </item>
  </channel>
</rss>

