<?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: Protect-Endprotect Command in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/protect-endprotect-command/m-p/2255484#M488278</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;  Protect and Endprotect is used to prevent the page-breaks during that text.Suppose we want to display data regarding particular sales order in a single page instead of spreading it to multiple page we use protect and endprotect to avoid spreading of data to multiple pages.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;eg:&lt;/P&gt;&lt;P&gt;  protect&lt;/P&gt;&lt;P&gt;  &amp;amp;carrid&amp;amp;,,&amp;amp;connid&amp;amp;&lt;/P&gt;&lt;P&gt;  ,,&amp;amp;fldate&amp;amp;,,&amp;amp;seatmax&amp;amp; &lt;/P&gt;&lt;P&gt;  endprotect &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  If we give as above then for every carrid and connid,  fldate and seatmax are displayed in the same page .Otherwise carrid and connid will be displayed in one page and their fldate and seatmax are displayed in another page.If we use protect and protect then carrid and connid and fldate and seat max will be displayed in the same page with out any break.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;veeresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 21 May 2007 06:15:08 GMT</pubDate>
    <dc:creator>former_member673464</dc:creator>
    <dc:date>2007-05-21T06:15:08Z</dc:date>
    <item>
      <title>Protect-Endprotect Command</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/protect-endprotect-command/m-p/2255482#M488276</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hoz exactly we use Protect-EndProtect command to avoide output text which should not spilt in two pages. Plz explain with example of Codes.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2007 06:06:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/protect-endprotect-command/m-p/2255482#M488276</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-21T06:06:31Z</dc:date>
    </item>
    <item>
      <title>Re: Protect-Endprotect Command</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/protect-endprotect-command/m-p/2255483#M488277</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;It is used to protect the address or info to print in one page only&lt;/P&gt;&lt;P&gt;If the space in one page is not sufficient it will print in the second page&lt;/P&gt;&lt;P&gt;see the sample&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/:           PROTECT&lt;/P&gt;&lt;P&gt;/:	 	ADDRESS PARAGRAPH AS&lt;/P&gt;&lt;P&gt;/:	 	  TITLE    &amp;amp;LFA1-ANRED&amp;amp;&lt;/P&gt;&lt;P&gt;/:	 NAME     &amp;amp;LFA1-NAME1&amp;amp;, &amp;amp;LFA1-NAME2&amp;amp;, &amp;amp;LFA1-NAME3&amp;amp;, &lt;/P&gt;&lt;P&gt;/:	 	  STREET   &amp;amp;LFA1-STRAS&amp;amp;&lt;/P&gt;&lt;P&gt;/:	 	  POBOX    &amp;amp;LFA1-PFACH&amp;amp;  CODE &amp;amp;LFA1-PSTL2&amp;amp;&lt;/P&gt;&lt;P&gt;/:	 	  CITY     &amp;amp;LFA1-ORT01&amp;amp;, &amp;amp;LFA1-ORT02&amp;amp;&lt;/P&gt;&lt;P&gt;/:	 	  POSTCODE &amp;amp;LFA1-PSTLZ&amp;amp;&lt;/P&gt;&lt;P&gt;/:	 	  COUNTRY  &amp;amp;LFA1-LAND1&amp;amp;&lt;/P&gt;&lt;P&gt;/:	 	  REGION   &amp;amp;LFA1-REGIO&amp;amp;&lt;/P&gt;&lt;P&gt;/:	 	  FROMCOUNTRY &amp;amp;T001-LAND1&amp;amp;&lt;/P&gt;&lt;P&gt;/:	 	ENDADDRESS&lt;/P&gt;&lt;P&gt;/:       ENDPROTECT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if useful&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>Mon, 21 May 2007 06:14:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/protect-endprotect-command/m-p/2255483#M488277</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-21T06:14:38Z</dc:date>
    </item>
    <item>
      <title>Re: Protect-Endprotect Command</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/protect-endprotect-command/m-p/2255484#M488278</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;  Protect and Endprotect is used to prevent the page-breaks during that text.Suppose we want to display data regarding particular sales order in a single page instead of spreading it to multiple page we use protect and endprotect to avoid spreading of data to multiple pages.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;eg:&lt;/P&gt;&lt;P&gt;  protect&lt;/P&gt;&lt;P&gt;  &amp;amp;carrid&amp;amp;,,&amp;amp;connid&amp;amp;&lt;/P&gt;&lt;P&gt;  ,,&amp;amp;fldate&amp;amp;,,&amp;amp;seatmax&amp;amp; &lt;/P&gt;&lt;P&gt;  endprotect &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  If we give as above then for every carrid and connid,  fldate and seatmax are displayed in the same page .Otherwise carrid and connid will be displayed in one page and their fldate and seatmax are displayed in another page.If we use protect and protect then carrid and connid and fldate and seat max will be displayed in the same page with out any break.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;veeresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2007 06:15:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/protect-endprotect-command/m-p/2255484#M488278</guid>
      <dc:creator>former_member673464</dc:creator>
      <dc:date>2007-05-21T06:15:08Z</dc:date>
    </item>
    <item>
      <title>Re: Protect-Endprotect Command</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/protect-endprotect-command/m-p/2255485#M488279</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Khan,&lt;/P&gt;&lt;P&gt;  Let me share my points with u:&lt;/P&gt;&lt;P&gt;If u want to display the paragraph at one place i mean with out any page break then first use control_form for protect then u r required element then end protect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;CALL FUNCTION 'CONTROL_FORM'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    command = 'PROTECT'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call function 'WRITE_FORM'&lt;/P&gt;&lt;P&gt;          exporting&lt;/P&gt;&lt;P&gt;            window  = 'MAIN'&lt;/P&gt;&lt;P&gt;            element = 'ITEM_LINE'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'CONTROL_FORM'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    command = 'ENDPROTECT'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you. Reply for queries, shall post the updates.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.  &lt;/P&gt;&lt;P&gt;Kumar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2007 06:37:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/protect-endprotect-command/m-p/2255485#M488279</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-21T06:37:41Z</dc:date>
    </item>
    <item>
      <title>Re: Protect-Endprotect Command</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/protect-endprotect-command/m-p/2255486#M488280</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi! &lt;/P&gt;&lt;P&gt; some one told me that If I want to display the paragraph at one place i mean with out any page break then first use control_form for protect then u r required element then end protect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'CONTROL_FORM'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;command = 'PROTECT'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call function 'WRITE_FORM'&lt;/P&gt;&lt;P&gt;exporting&lt;/P&gt;&lt;P&gt;window = 'MAIN'&lt;/P&gt;&lt;P&gt;element = 'ITEM_LINE'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'CONTROL_FORM'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;command = 'ENDPROTECT'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*********************************************************&lt;/P&gt;&lt;P&gt;How much the above method is useful?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2007 13:19:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/protect-endprotect-command/m-p/2255486#M488280</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-21T13:19:27Z</dc:date>
    </item>
  </channel>
</rss>

