<?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: sapscipts without main window in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapscipts-without-main-window/m-p/1865783#M365017</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One of the window type is main window, so if you define all windows as either constant or variable windows then where will be main window. Main window will be created automatically even if you want to change its type it will not allow, it will raise error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A window mainly contains the SAP scripts text and the variable to be printed. There is one special window, MAIN, which contains the output of the line item of a document and is created by the system. The window can be of type VAR or CONST except for the MAIN. But in the present version, SAP system does not distinguish between these two types. The content of variable window is regenerated on every page. The content of a constant window is generated once at the beginning and later printed on every page.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 05 Feb 2007 08:34:26 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-02-05T08:34:26Z</dc:date>
    <item>
      <title>sapscipts without main window</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapscipts-without-main-window/m-p/1865780#M365014</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want 2 pages to be displayed&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On page1, main gets created by default,but i did not copy it in page windows,in place of that i created a PRI window in page windows of Page1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Similarly i created a SEC window in page window section of page2.&lt;/P&gt;&lt;P&gt; also, page1 =&amp;gt; next page is page2&lt;/P&gt;&lt;P&gt;page2 =&amp;gt; next page is page2.&lt;/P&gt;&lt;P&gt;But, the problem is when i run the code in se38, it displays only single page.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Bijal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Feb 2007 08:28:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sapscipts-without-main-window/m-p/1865780#M365014</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-05T08:28:33Z</dc:date>
    </item>
    <item>
      <title>Re: sapscipts without main window</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapscipts-without-main-window/m-p/1865781#M365015</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Yes, it will print only the single page because the first page still avialable for the data, if the first is full with the data then only the control will be goes to second page and it will create the second page, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt; Sudheer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Feb 2007 08:32:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sapscipts-without-main-window/m-p/1865781#M365015</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-05T08:32:27Z</dc:date>
    </item>
    <item>
      <title>Re: sapscipts without main window</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapscipts-without-main-window/m-p/1865782#M365016</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;when you don't create a main window the second page will not automatically triggered .&lt;/P&gt;&lt;P&gt;you need to trigger it explicitely using NEW-PAGE in first page of your script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sumit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Feb 2007 08:34:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sapscipts-without-main-window/m-p/1865782#M365016</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-05T08:34:03Z</dc:date>
    </item>
    <item>
      <title>Re: sapscipts without main window</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapscipts-without-main-window/m-p/1865783#M365017</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One of the window type is main window, so if you define all windows as either constant or variable windows then where will be main window. Main window will be created automatically even if you want to change its type it will not allow, it will raise error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A window mainly contains the SAP scripts text and the variable to be printed. There is one special window, MAIN, which contains the output of the line item of a document and is created by the system. The window can be of type VAR or CONST except for the MAIN. But in the present version, SAP system does not distinguish between these two types. The content of variable window is regenerated on every page. The content of a constant window is generated once at the beginning and later printed on every page.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Feb 2007 08:34:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sapscipts-without-main-window/m-p/1865783#M365017</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-05T08:34:26Z</dc:date>
    </item>
    <item>
      <title>Re: sapscipts without main window</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapscipts-without-main-window/m-p/1865784#M365018</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;Try control command&lt;/P&gt;&lt;P&gt;/: NEW-PAGE&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;/: NEW-PAGE SEC&lt;/P&gt;&lt;P&gt;in you SAPscript&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Feb 2007 08:34:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sapscipts-without-main-window/m-p/1865784#M365018</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-05T08:34:47Z</dc:date>
    </item>
    <item>
      <title>Re: sapscipts without main window</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapscipts-without-main-window/m-p/1865785#M365019</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;Try control command&lt;/P&gt;&lt;P&gt;/: NEW-PAGE&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;/: NEW-PAGE SEC&lt;/P&gt;&lt;P&gt;in you SAPscript&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Feb 2007 08:34:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sapscipts-without-main-window/m-p/1865785#M365019</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-05T08:34:54Z</dc:date>
    </item>
    <item>
      <title>Re: sapscipts without main window</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapscipts-without-main-window/m-p/1865786#M365020</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;but in that case will it not print the second page data on first page...since in my case i m not able to veiw any data of page 2.and so wat is the use of giving next page of page 1 asc page2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can u provide me solution as in wat approch i sud use since my first and second page data are independent......also first page data is just few lines,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope it clears the need&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Bijal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Feb 2007 08:37:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sapscipts-without-main-window/m-p/1865786#M365020</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-05T08:37:10Z</dc:date>
    </item>
    <item>
      <title>Re: sapscipts without main window</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapscipts-without-main-window/m-p/1865787#M365021</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bijal,&lt;/P&gt;&lt;P&gt;Call                  /: NEW-PAGE&lt;/P&gt;&lt;P&gt;after performing all operation on the First page.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Feb 2007 08:38:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sapscipts-without-main-window/m-p/1865787#M365021</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-05T08:38:17Z</dc:date>
    </item>
    <item>
      <title>Re: sapscipts without main window</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapscipts-without-main-window/m-p/1865788#M365022</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;no ..&lt;/P&gt;&lt;P&gt;new-page just triggeres the next page. &lt;/P&gt;&lt;P&gt;secon page will show only second page data and first will first's.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;sumit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Feb 2007 08:43:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sapscipts-without-main-window/m-p/1865788#M365022</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-05T08:43:02Z</dc:date>
    </item>
    <item>
      <title>Re: sapscipts without main window</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapscipts-without-main-window/m-p/1865789#M365023</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;Where should I write the 'NEW-PAGE' command?&lt;/P&gt;&lt;P&gt;Please give me the exact syntax to be written.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Feb 2007 08:51:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sapscipts-without-main-window/m-p/1865789#M365023</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-05T08:51:25Z</dc:date>
    </item>
    <item>
      <title>Re: sapscipts without main window</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapscipts-without-main-window/m-p/1865790#M365024</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please find docu for new page.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ideally it shld come in the last window last line.&lt;/P&gt;&lt;P&gt;only &lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;/: new-page&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;will do the job for you&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sumit&lt;/P&gt;&lt;P&gt;	Explicit Page Break: NEW-PAGE &lt;/P&gt;&lt;P&gt;SAPscript automatically inserts a page break when the main window of a page (MAIN) is full. You can use the NEW-PAGE command to force a page break in the text at any point you want one. The text following this command then appears on a new page. The page break is always performed (it is an unconditional page break).&lt;/P&gt;&lt;P&gt;The NEW-PAGE command completes the current page. This means that all the windows that are still on the page are printed immediately. If you use the NEW-PAGE command without parameters, the page defined in the current form as the next page will be taken next. If, however, your form contains a number of different pages, then you can specify any one of these as the next page to be used.&lt;/P&gt;&lt;P&gt;Syntax:&lt;/P&gt;&lt;P&gt;/: NEW-PAGE [page_name]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/: NEW-PAGE &lt;/P&gt;&lt;P&gt;The current page will be completed and the text in the following lines will be written to the page specified in the form.&lt;/P&gt;&lt;P&gt;/: NEW-PAGE S1 &lt;/P&gt;&lt;P&gt;As above, except that the page S1 will be taken as the next page. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;#149;	If, in a NEW-PAGE command, you specify a page not contained in the form, the specification is ignored.&lt;/P&gt;&lt;P&gt;&amp;#149;	Take care that there are no blank lines immediately before a NEW-PAGE command. If an implicit page break occurs within the blank lines, an unexpected blank page may be printed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Feb 2007 08:59:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sapscipts-without-main-window/m-p/1865790#M365024</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-05T08:59:46Z</dc:date>
    </item>
  </channel>
</rss>

