<?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: Script PAGE1 AND PAGE2 concept in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/script-page1-and-page2-concept/m-p/5585889#M1273695</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sowmya ,&lt;/P&gt;&lt;P&gt;Thanks for the reply.I dinot get the clear idea .Please look at the below coding and please reply me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From the driver program&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : num type i.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do 100 times .&lt;/P&gt;&lt;P&gt;num = sy-index.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call function 'open_form'.&lt;/P&gt;&lt;P&gt;form name = ''.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call function 'write_form'.&lt;/P&gt;&lt;P&gt;element  = 'ele1'.&lt;/P&gt;&lt;P&gt;window  = 'MAIN'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'close_form'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*****&lt;STRONG&gt;In the layout&lt;/STRONG&gt; :*****&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;page1 : contains only main window .The text in the main window is.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;              &amp;amp;num&amp;amp; (  from the driver program).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;page2 : given as next page for the page1 in the layout.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;conans one variable window only.ANd it contains some static text ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If write like aboce , it is giving me some error (page contains more data....)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 May 2009 08:17:08 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-05-20T08:17:08Z</dc:date>
    <item>
      <title>Script PAGE1 AND PAGE2 concept</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/script-page1-and-page2-concept/m-p/5585886#M1273692</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi This is Ramakrishna,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If i have the 2 pages in scripot layout (page1 and page2).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--&amp;gt;I have given the next page of page 1 is page2 in he layout.&lt;/P&gt;&lt;P&gt;--&amp;gt;Page1 contains main window&lt;/P&gt;&lt;P&gt;--&amp;gt;Page2 does not contain mainwindow.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My doubt is ,After first page of page 1 ,will it go to second page ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 May 2009 07:55:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/script-page1-and-page2-concept/m-p/5585886#M1273692</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-20T07:55:49Z</dc:date>
    </item>
    <item>
      <title>Re: Script PAGE1 AND PAGE2 concept</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/script-page1-and-page2-concept/m-p/5585887#M1273693</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you call the window present in the second page in your print program, it should display second page.&lt;/P&gt;&lt;P&gt;If this is not displaying, try to use the command "NEW-PAGE Page2" in the last element called in the main window.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sowmya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 May 2009 07:59:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/script-page1-and-page2-concept/m-p/5585887#M1273693</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-20T07:59:58Z</dc:date>
    </item>
    <item>
      <title>Re: Script PAGE1 AND PAGE2 concept</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/script-page1-and-page2-concept/m-p/5585888#M1273694</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If u r calling the second page in u r driver program after first page it will go, otherwise it will not go automatically to second page.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;             Kumar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 May 2009 08:00:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/script-page1-and-page2-concept/m-p/5585888#M1273694</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-20T08:00:08Z</dc:date>
    </item>
    <item>
      <title>Re: Script PAGE1 AND PAGE2 concept</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/script-page1-and-page2-concept/m-p/5585889#M1273695</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sowmya ,&lt;/P&gt;&lt;P&gt;Thanks for the reply.I dinot get the clear idea .Please look at the below coding and please reply me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From the driver program&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : num type i.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do 100 times .&lt;/P&gt;&lt;P&gt;num = sy-index.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call function 'open_form'.&lt;/P&gt;&lt;P&gt;form name = ''.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call function 'write_form'.&lt;/P&gt;&lt;P&gt;element  = 'ele1'.&lt;/P&gt;&lt;P&gt;window  = 'MAIN'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'close_form'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*****&lt;STRONG&gt;In the layout&lt;/STRONG&gt; :*****&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;page1 : contains only main window .The text in the main window is.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;              &amp;amp;num&amp;amp; (  from the driver program).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;page2 : given as next page for the page1 in the layout.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;conans one variable window only.ANd it contains some static text ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If write like aboce , it is giving me some error (page contains more data....)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 May 2009 08:17:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/script-page1-and-page2-concept/m-p/5585889#M1273695</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-20T08:17:08Z</dc:date>
    </item>
    <item>
      <title>Re: Script PAGE1 AND PAGE2 concept</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/script-page1-and-page2-concept/m-p/5585890#M1273696</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just check if you have enough space declared for the window in second page.&lt;/P&gt;&lt;P&gt;If you have enough space and still it is a problem, you can do a simple thing.. I had a similar problem and i followed the below method and it worked for me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Declare the main window in the second page also. (Need not give more space on the window).&lt;/P&gt;&lt;P&gt;Now in the main page, declare a new text element. Inside the text element write the command NEW-PAGE. Call this text element from the print program.&lt;/P&gt;&lt;P&gt;So the text in the second page gets printed in next page.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just try this . Hope it works.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 May 2009 10:38:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/script-page1-and-page2-concept/m-p/5585890#M1273696</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-20T10:38:46Z</dc:date>
    </item>
  </channel>
</rss>

