<?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: Main Window in SAP Script in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/main-window-in-sap-script/m-p/3738055#M899651</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Script without mainwindow is not possible but We can have a smartform without a mainwindow.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;We can have a total of 99 mainwindows for a script.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;But we can have only one main window for  each page in a script.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Each form must have one window of type MAIN. Such a window is called the main window of the form. For SAPscript forms, the main window has a central meaning:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;It controls the page break.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;It contains the text body that may cover several pages.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;It allows to fix text elements at the upper and lower margins of the allocated page window (for example, for column headings).&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As soon as a window of type MAIN is full, SAPscript automatically triggers a page break and continues to output the remaining text in the main window of the subsequent page. Page windows of type MAIN have the same width throughout the form. The SAPscript composer thus avoids reformatting of the text after each page break.&lt;/P&gt;&lt;P&gt;If a page does not have a main window, the system implicitly processes all other windows of the page and continues with the subsequent page. This page must not call itself as subsequent page (recursive call), since this would produce an endless loop. In such a case, SAPscript terminates the output after three subsequent pages.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;For printing header lines or totals, the different output areas of the main window are of special importance.&lt;/STRONG&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;thnx&lt;/P&gt;&lt;P&gt;sravani&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Plz reward if useful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 30 Apr 2008 06:08:20 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-04-30T06:08:20Z</dc:date>
    <item>
      <title>Main Window in SAP Script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/main-window-in-sap-script/m-p/3738054#M899650</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wanted to know as to why is it possible to create multiple main window in SAP Script.&lt;/P&gt;&lt;P&gt;      In most theory it is written a SAP Script can only use 1 main window, If thats the case why is it still possible to create more than 1 of them.&lt;/P&gt;&lt;P&gt;      Can you explain its use and functionality.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Helpful answers will be duly rewarded.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Apr 2008 05:57:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/main-window-in-sap-script/m-p/3738054#M899650</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-30T05:57:25Z</dc:date>
    </item>
    <item>
      <title>Re: Main Window in SAP Script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/main-window-in-sap-script/m-p/3738055#M899651</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Script without mainwindow is not possible but We can have a smartform without a mainwindow.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;We can have a total of 99 mainwindows for a script.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;But we can have only one main window for  each page in a script.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Each form must have one window of type MAIN. Such a window is called the main window of the form. For SAPscript forms, the main window has a central meaning:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;It controls the page break.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;It contains the text body that may cover several pages.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;It allows to fix text elements at the upper and lower margins of the allocated page window (for example, for column headings).&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As soon as a window of type MAIN is full, SAPscript automatically triggers a page break and continues to output the remaining text in the main window of the subsequent page. Page windows of type MAIN have the same width throughout the form. The SAPscript composer thus avoids reformatting of the text after each page break.&lt;/P&gt;&lt;P&gt;If a page does not have a main window, the system implicitly processes all other windows of the page and continues with the subsequent page. This page must not call itself as subsequent page (recursive call), since this would produce an endless loop. In such a case, SAPscript terminates the output after three subsequent pages.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;For printing header lines or totals, the different output areas of the main window are of special importance.&lt;/STRONG&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;thnx&lt;/P&gt;&lt;P&gt;sravani&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Plz reward if useful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Apr 2008 06:08:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/main-window-in-sap-script/m-p/3738055#M899651</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-30T06:08:20Z</dc:date>
    </item>
    <item>
      <title>Re: Main Window in SAP Script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/main-window-in-sap-script/m-p/3738056#M899652</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;U can have multiple main windows in Sapscripts(Upto 99)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Main Windows (MAIN)&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Each form must have one window of type MAIN. Such a window is called the main window of the form. For SAPscript forms, the main window has a central meaning:-&lt;/P&gt;&lt;P&gt;? It controls the page break.&lt;/P&gt;&lt;P&gt;? It contains the text body that may cover several pages.&lt;/P&gt;&lt;P&gt;? It allows to fix text elements at the upper and lower margins of the allocated page window (for example, for column headings).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As soon as a window of type MAIN is full, SAPscript automatically triggers a page break and continues to output the remaining text in the main window of the subsequent page. Page windows of type MAIN have the same width throughout the form. The SAPscript composer thus avoids reformatting of the text after each page break.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If a page does not have a main window, the system implicitly processes all other windows of the page and continues with the subsequent page. This page must not call itself as subsequent page (recursive call), since this would produce an endless loop. In such a case, SAPscript terminates the output after three subsequent pages.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For printing header lines or totals, the different output areas of the main window are of special importance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The diffetent Output areas of main window are &lt;/P&gt;&lt;P&gt;                                                                  &lt;STRONG&gt;TOP&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;                                                                  &lt;STRONG&gt;BODY&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;                                                                  &lt;STRONG&gt;BOTTOM&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; its use and functionality.*&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suppose you have requirement that you r displaying data from two line item tables which can flow multiple pages.&lt;/P&gt;&lt;P&gt;In this case u have to use multiple mail windows. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sandipan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Apr 2008 06:16:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/main-window-in-sap-script/m-p/3738056#M899652</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-30T06:16:53Z</dc:date>
    </item>
    <item>
      <title>Re: Main Window in SAP Script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/main-window-in-sap-script/m-p/3738057#M899653</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As far as i know i can create atleast 2 main windows in one page itself.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Apr 2008 07:14:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/main-window-in-sap-script/m-p/3738057#M899653</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-30T07:14:02Z</dc:date>
    </item>
    <item>
      <title>Re: Main Window in SAP Script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/main-window-in-sap-script/m-p/3738058#M899654</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;nope.....there is only 1 main window in one page in script&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Apr 2008 10:33:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/main-window-in-sap-script/m-p/3738058#M899654</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-30T10:33:01Z</dc:date>
    </item>
    <item>
      <title>Re: Main Window in SAP Script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/main-window-in-sap-script/m-p/3738059#M899655</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;  By some of our brother posted about windows that is enfough&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are 3 windows in SAP Script.&lt;/P&gt;&lt;P&gt;1.Main window&lt;/P&gt;&lt;P&gt;2.Constant window.&lt;/P&gt;&lt;P&gt;3.Variable window&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if it is usefull &lt;/P&gt;&lt;P&gt;rewarwd me,&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Satish.chekuri.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Apr 2008 11:07:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/main-window-in-sap-script/m-p/3738059#M899655</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-30T11:07:33Z</dc:date>
    </item>
    <item>
      <title>Re: Main Window in SAP Script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/main-window-in-sap-script/m-p/3738060#M899656</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;U can have only one in one page.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sandipan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Apr 2008 11:14:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/main-window-in-sap-script/m-p/3738060#M899656</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-30T11:14:46Z</dc:date>
    </item>
    <item>
      <title>Re: Main Window in SAP Script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/main-window-in-sap-script/m-p/3738061#M899657</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Jayesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In SAP Script more than one main window is allowed within a single page also. Whenever we are going to print the Address labels we can use the same which is print multiple dynamic data in single window.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Mani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Apr 2013 07:40:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/main-window-in-sap-script/m-p/3738061#M899657</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-04-23T07:40:54Z</dc:date>
    </item>
    <item>
      <title>Re: Main Window in SAP Script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/main-window-in-sap-script/m-p/3738062#M899658</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin-left: .25in;"&gt;&lt;SPAN style="background: white;"&gt;Each form must have one window of type MAIN. Such a window is called the &lt;/SPAN&gt;&lt;STRONG&gt;main window&lt;/STRONG&gt;&lt;SPAN&gt; of the form.&lt;/SPAN&gt; The text in the main window can extend over several pages. If the text fills one page, output continues in the window of the next and subsequent pages, &lt;SPAN style="background: white;"&gt;Don’t lose any data.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; background: white;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Every page we have use max 99 MAIN window. (00-98).&lt;/SPAN&gt;&lt;SPAN style="background: white;"&gt;&amp;nbsp;&amp;nbsp; It controls the page break&lt;/SPAN&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 24 Aug 2013 21:13:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/main-window-in-sap-script/m-p/3738062#M899658</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-08-24T21:13:17Z</dc:date>
    </item>
  </channel>
</rss>

