<?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: Scenario in script in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/scenario-in-script/m-p/5361059#M1233983</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you use main window in the page then the same page should be mentioned as next page. In your case... its not possible to use main window in the page1 &amp;amp; page3 because....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you use then you need to do like ... Page1-&amp;gt;Page2&lt;/P&gt;&lt;P&gt;                                                       Page2-&amp;gt;Page1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the problem is since you are maintaining main window in Page1, the same page should be set as next page.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: You can create script without main window also, but you cant print more than 3 pages without main window.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Satya suresh Donepudi on Apr 2, 2009 1:05 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 02 Apr 2009 06:05:29 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-04-02T06:05:29Z</dc:date>
    <item>
      <title>Scenario in script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/scenario-in-script/m-p/5361056#M1233980</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear sir, &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;            I am doing a script : The scenario is in first page i need to bring the header and item informations in main window and header. In the next page i need to print the some characters(Some terms and conditions). In the third page i need to print the remaining items of the first page, followed by the terms and conditions page as 4th page.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am clear with the first and third page. But how to bring a page without main window and header information. When i execute i am getting : Output is continuous or contains too many pages&lt;/P&gt;&lt;P&gt;(&amp;gt;4).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly suggest me a solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards,&lt;/P&gt;&lt;P&gt;Rakesh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Apr 2009 05:37:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/scenario-in-script/m-p/5361056#M1233980</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-02T05:37:18Z</dc:date>
    </item>
    <item>
      <title>Re: Scenario in script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/scenario-in-script/m-p/5361057#M1233981</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;Page without a main window probably would not be possible in Script. You need to look other ways around.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Apr 2009 05:54:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/scenario-in-script/m-p/5361057#M1233981</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-02T05:54:47Z</dc:date>
    </item>
    <item>
      <title>Re: Scenario in script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/scenario-in-script/m-p/5361058#M1233982</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rakesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Seems to be confusion but you can do like this...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In First page main window, you have a fixed length of Main window.....&lt;/P&gt;&lt;P&gt;Just thinking logicall, Loop exactly same no. of records as to fit exactly into main window by indexes...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And in Script, use the If conditon in Command line with the help of a counter.....&lt;/P&gt;&lt;P&gt;lets say.. when counter EQ 1.. print main window with headed and items,,, when EQ 0. print your special characters,,..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And by logically we can make counter to 0 or 1 after looping.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope you understand,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; regards,&lt;/P&gt;&lt;P&gt;Dileep .C&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Apr 2009 05:57:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/scenario-in-script/m-p/5361058#M1233982</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-02T05:57:49Z</dc:date>
    </item>
    <item>
      <title>Re: Scenario in script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/scenario-in-script/m-p/5361059#M1233983</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you use main window in the page then the same page should be mentioned as next page. In your case... its not possible to use main window in the page1 &amp;amp; page3 because....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you use then you need to do like ... Page1-&amp;gt;Page2&lt;/P&gt;&lt;P&gt;                                                       Page2-&amp;gt;Page1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the problem is since you are maintaining main window in Page1, the same page should be set as next page.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: You can create script without main window also, but you cant print more than 3 pages without main window.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Satya suresh Donepudi on Apr 2, 2009 1:05 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Apr 2009 06:05:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/scenario-in-script/m-p/5361059#M1233983</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-02T06:05:29Z</dc:date>
    </item>
    <item>
      <title>Re: Scenario in script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/scenario-in-script/m-p/5361060#M1233984</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dileep, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      I hope this is clear:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First Page : Header and main window informations with logo.&lt;/P&gt;&lt;P&gt;Second page : only terms and conditions.&lt;/P&gt;&lt;P&gt;if page1 had line items more than 3.&lt;/P&gt;&lt;P&gt;Third page : Continuation of the Main window contents.&lt;/P&gt;&lt;P&gt;Fourth page :Only terms and conditons.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then new items and same page formats.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think it is to be done both in coding part and in Script part.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly suggest me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards,&lt;/P&gt;&lt;P&gt;Rakesh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Apr 2009 06:10:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/scenario-in-script/m-p/5361060#M1233984</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-02T06:10:24Z</dc:date>
    </item>
    <item>
      <title>Re: Scenario in script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/scenario-in-script/m-p/5361061#M1233985</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rakesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this type of scenario I will do like this...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wil take a &lt;STRONG&gt;Very Long text&lt;/STRONG&gt; and pass the &lt;STRONG&gt;TERMS &amp;amp; CONDITIONS&lt;/STRONG&gt; in it accordingly,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Note:&lt;/STRONG&gt; There will be no HARD CODING in the script... Everything passed throught Variables...&lt;/P&gt;&lt;P&gt;Now I declare the condition here,,!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Loop Itab index 1 to 3. &lt;/P&gt;&lt;P&gt;if sy-tabix eq 3.&lt;/P&gt;&lt;P&gt;count = 1.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;write form...&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;If count eq 1.&lt;/P&gt;&lt;P&gt;"Terms &amp;amp; Conditions"&lt;/P&gt;&lt;P&gt;Else &lt;/P&gt;&lt;P&gt;Line Items.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count = 0.&lt;/P&gt;&lt;P&gt;Loop Itab index 4 to 6. &lt;/P&gt;&lt;P&gt;if sy-tabix eq 3.&lt;/P&gt;&lt;P&gt;count = 1.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can work on this logic more clearly,,, Surely it will help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when situation is worst, copy itab to new itab and delete records while looping and print ... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I mean Use TEXT ELEMENTS &amp;amp; Pass the relavant data from Program itself...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; regards,&lt;/P&gt;&lt;P&gt;Dileep .C&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Apr 2009 08:45:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/scenario-in-script/m-p/5361061#M1233985</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-02T08:45:44Z</dc:date>
    </item>
  </channel>
</rss>

