<?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: Get data from main window in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-data-from-main-window/m-p/10601821#M1862022</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ram,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it use full.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Follow syntax.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create Element with following syntax in &lt;STRONG&gt;script&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;/: NEW-PAGE&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;IN ABAP EDITOR.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;call the element whenever you need a contents to be print in next page.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Venkat&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 20 Sep 2014 04:47:02 GMT</pubDate>
    <dc:creator>VenkatRamesh_V</dc:creator>
    <dc:date>2014-09-20T04:47:02Z</dc:date>
    <item>
      <title>Get data from main window</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-data-from-main-window/m-p/10601820#M1862021</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Expert's,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a script issue while i will run that script i am not able to see the line item data in first page which logic written in main window but line data displaying in second page. But my require ment is by design space line item should show in first page remaining should show in second page or next page.but in main window some conditions is there like &lt;/P&gt;&lt;P&gt;if &amp;amp;page&amp;amp; EQ '1'.&lt;/P&gt;&lt;P&gt;/: NEW-PAGE&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;So if i will comment this line then i am able to see main window data in first page.but i cannot go to next page.Anybody can help me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Sep 2014 18:17:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-data-from-main-window/m-p/10601820#M1862021</guid>
      <dc:creator>ram_sahoo</dc:creator>
      <dc:date>2014-09-19T18:17:12Z</dc:date>
    </item>
    <item>
      <title>Re: Get data from main window</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-data-from-main-window/m-p/10601821#M1862022</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ram,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it use full.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Follow syntax.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create Element with following syntax in &lt;STRONG&gt;script&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;/: NEW-PAGE&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;IN ABAP EDITOR.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;call the element whenever you need a contents to be print in next page.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Venkat&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 20 Sep 2014 04:47:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-data-from-main-window/m-p/10601821#M1862022</guid>
      <dc:creator>VenkatRamesh_V</dc:creator>
      <dc:date>2014-09-20T04:47:02Z</dc:date>
    </item>
    <item>
      <title>Re: Get data from main window</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-data-from-main-window/m-p/10601822#M1862023</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Venkat,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Already this &lt;STRONG style="font-size: 12px; color: #333333; background: #ffffff;"&gt;/: NEW-PAGE&lt;/STRONG&gt; syntax is used in main window the problem is i am not able to see the data from main window in first page but in next page everything is fine,My requirement is the mainwindow data should show in first page as possible space and remaining should show in next page.Can help me for this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 20 Sep 2014 07:20:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-data-from-main-window/m-p/10601822#M1862023</guid>
      <dc:creator>ram_sahoo</dc:creator>
      <dc:date>2014-09-20T07:20:53Z</dc:date>
    </item>
    <item>
      <title>Re: Get data from main window</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-data-from-main-window/m-p/10601823#M1862024</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ram ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The number of the records that you can see in main window on a page depends on the main window size . Now , you want to utilize the maximum possible space . Lets us assume that 19 records can fit in you main window depending on you main window size .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do one thing . Create a variable counter . Assign 1 to COUNTER&amp;nbsp; initally .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF&amp;nbsp; &amp;amp;counter&amp;amp; mod 19 = '0' .&lt;/P&gt;&lt;P&gt;/: NEW-PAGE .&lt;/P&gt;&lt;P&gt;ENDIF .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;amp;counter&amp;amp; = &amp;amp;counter&amp;amp; + 1 .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 20 Sep 2014 07:42:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-data-from-main-window/m-p/10601823#M1862024</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-09-20T07:42:11Z</dc:date>
    </item>
    <item>
      <title>Re: Get data from main window</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-data-from-main-window/m-p/10601824#M1862025</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you explain briefly where i have to put these variables and conditions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 20 Sep 2014 09:38:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-data-from-main-window/m-p/10601824#M1862025</guid>
      <dc:creator>ram_sahoo</dc:creator>
      <dc:date>2014-09-20T09:38:23Z</dc:date>
    </item>
    <item>
      <title>Re: Get data from main window</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-data-from-main-window/m-p/10601825#M1862026</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ram ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Variable you will define in your driver program .&lt;/P&gt;&lt;P&gt;And conditions you will write in main window of your script . Through editor .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2014 17:08:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-data-from-main-window/m-p/10601825#M1862026</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-09-24T17:08:48Z</dc:date>
    </item>
    <item>
      <title>Re: Get data from main window</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-data-from-main-window/m-p/10601826#M1862027</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ram,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it help full.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Comment the new page syntax and check the output ?. if it is displayed &lt;/P&gt;&lt;P&gt;you should write the logic in abap editor.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eg: itab contains 9 entries means, you add condition to display last 4 entries in next page.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if sy-tabix GT 5.&lt;/P&gt;&lt;P&gt;Call function write_form&lt;/P&gt;&lt;P&gt;Element&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Pages.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in SAP Script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/E Pages.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;/: NEW-PAGE.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Venkat.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Sep 2014 04:19:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-data-from-main-window/m-p/10601826#M1862027</guid>
      <dc:creator>VenkatRamesh_V</dc:creator>
      <dc:date>2014-09-25T04:19:07Z</dc:date>
    </item>
    <item>
      <title>Re: Get data from main window</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-data-from-main-window/m-p/10601827#M1862028</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;I have requireemnt in sapscript is to get background grey colour in mainwindow data that discription sholud come dark grey by dynamically means that description can start on a page some time middle and top of page,If it is constant or it will start particular place then it is possibe but its start dynamically,Any one can help me for this requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Oct 2014 15:39:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-data-from-main-window/m-p/10601827#M1862028</guid>
      <dc:creator>ram_sahoo</dc:creator>
      <dc:date>2014-10-08T15:39:00Z</dc:date>
    </item>
  </channel>
</rss>

