<?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: How to restrict data in main window SAPscript? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-restrict-data-in-main-window-sapscript/m-p/6203533#M1376511</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;Inside the MAIN window, you can put an explicit NEW-PAGE for a given condition. Or you can play around with the height of your window until it goes to the next page after 30 records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 12 Oct 2009 00:40:09 GMT</pubDate>
    <dc:creator>aris_hidalgo</dc:creator>
    <dc:date>2009-10-12T00:40:09Z</dc:date>
    <item>
      <title>How to restrict data in main window SAPscript?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-restrict-data-in-main-window-sapscript/m-p/6203532#M1376510</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am developing the SAPscript , there are total 48 records are available,Now its displaying around 43 records in Main window but  I wanted to restrict the MAIN window for only 30 records and the remaining records should print in the NEXT window, please help me out, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance, &lt;/P&gt;&lt;P&gt;Mounesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 11 Oct 2009 19:33:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-restrict-data-in-main-window-sapscript/m-p/6203532#M1376510</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-11T19:33:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to restrict data in main window SAPscript?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-restrict-data-in-main-window-sapscript/m-p/6203533#M1376511</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;Inside the MAIN window, you can put an explicit NEW-PAGE for a given condition. Or you can play around with the height of your window until it goes to the next page after 30 records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Oct 2009 00:40:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-restrict-data-in-main-window-sapscript/m-p/6203533#M1376511</guid>
      <dc:creator>aris_hidalgo</dc:creator>
      <dc:date>2009-10-12T00:40:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to restrict data in main window SAPscript?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-restrict-data-in-main-window-sapscript/m-p/6203534#M1376512</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN __default_attr="blue" __jive_macro_name="color"&gt;Hi Mounesh, 
Try this way in the driver program explicitly.
&lt;PRE&gt;&lt;CODE&gt;
LOOP AT itab.
  lv_count = lv_count + 1.
  CALL FUNCTION 'WRITE_FORM' " THis is used to print data in the form.
  IF lv_count EQ 25.
    CALL FUNCTION 'CONTROL_FORM' " start on new page
    EXPORTING
    command = 'NEW-PAGE'.
    CLEAR lv_count.
  ENDIF.
ENDLOOP.&lt;/CODE&gt;&lt;/PRE&gt;

Thanks
Venkat.O&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Oct 2009 03:32:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-restrict-data-in-main-window-sapscript/m-p/6203534#M1376512</guid>
      <dc:creator>venkat_o</dc:creator>
      <dc:date>2009-10-12T03:32:04Z</dc:date>
    </item>
  </channel>
</rss>

