<?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: Two main windows with same content in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/two-main-windows-with-same-content/m-p/1389257#M189349</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Salter,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please send me the logic &amp;amp; solution for the same requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rama&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 17 Aug 2007 13:30:54 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-08-17T13:30:54Z</dc:date>
    <item>
      <title>Two main windows with same content</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/two-main-windows-with-same-content/m-p/1389243#M189335</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All &lt;/P&gt;&lt;P&gt;My requirement is that there has to be two main windows containing the same content. This is for a three part cheque form wherein the first two parts will look similar with the same data on all pages and the third part is the cheque. &lt;/P&gt;&lt;P&gt;I modified the SAP best practice cheque form by copying the main window again and named it as MAIN 01. Hence now there are two main windows (MAIN , MAIN 01) .&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;I added the command /:NEW-WINDOW at the end of the MAIN window , but the data is not getting displayed in MAIN 01 , the second main window. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I called using WRITE_FORM, but this did not work . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the SAPSCRIPT debugging , I am unable to see the MAIN 01 window. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is it that I am missing? &lt;/P&gt;&lt;P&gt;Please help! &lt;/P&gt;&lt;P&gt;Many Thanks&lt;/P&gt;&lt;P&gt;Bala&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jul 2006 02:50:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/two-main-windows-with-same-content/m-p/1389243#M189335</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-18T02:50:07Z</dc:date>
    </item>
    <item>
      <title>Re: Two main windows with same content</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/two-main-windows-with-same-content/m-p/1389244#M189336</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 hope you have defined the layout in Sapscript for both windows and activated the same. Then select window MAIN01 and goto editor and add the texts which are to be displayed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Activate the script.&lt;/P&gt;&lt;P&gt;In the print program, using WRITE_FORM, call the MAIN01 window as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Prashant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jul 2006 02:57:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/two-main-windows-with-same-content/m-p/1389244#M189336</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-18T02:57:37Z</dc:date>
    </item>
    <item>
      <title>Re: Two main windows with same content</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/two-main-windows-with-same-content/m-p/1389245#M189337</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bala,&lt;/P&gt;&lt;P&gt;have you related the new window to each page as a page-window?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jul 2006 03:03:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/two-main-windows-with-same-content/m-p/1389245#M189337</guid>
      <dc:creator>former_member186741</dc:creator>
      <dc:date>2006-07-18T03:03:22Z</dc:date>
    </item>
    <item>
      <title>Re: Two main windows with same content</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/two-main-windows-with-same-content/m-p/1389246#M189338</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have had a similar task in the past.  If you do it with two MAIN windows, you will have to modify (or create a custom version) of the print program RFFOUS_C.  Do you have other changes or is the three part check the only enhancement?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can duplicate the invoice information without modifying the print program.  You can use a series of DEFINE statements to capture the data in the first MAIN window and print it in the second area.  If you post an email address, I might be able to send you a copy to load with RSTXSCRP.  This example prints the check on top, then the billing documents, then it repeats the billing document information.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jul 2006 03:03:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/two-main-windows-with-same-content/m-p/1389246#M189338</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-18T03:03:55Z</dc:date>
    </item>
    <item>
      <title>Re: Two main windows with same content</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/two-main-windows-with-same-content/m-p/1389247#M189339</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI&lt;/P&gt;&lt;P&gt;GOOD&lt;/P&gt;&lt;P&gt;AS YOU HAVE MENTIONED IN YOUR QUERY PROPBABLY THERE IS SOME PROBLEM IN THE MAIN AND MAIN01,CHECK WHEATHER THE MAIN01 WINDOW IS CREATED OR NOT,OUT THE POSTION OF THE BOTH THE WINDOWS AND THAN GIVE THE NEW-WINDOW COMMAND IN THE IST MAIN WINDOW.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THANKS&lt;/P&gt;&lt;P&gt;MRUTYUN&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jul 2006 03:44:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/two-main-windows-with-same-content/m-p/1389247#M189339</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-18T03:44:25Z</dc:date>
    </item>
    <item>
      <title>Re: Two main windows with same content</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/two-main-windows-with-same-content/m-p/1389248#M189340</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Balambika,&lt;/P&gt;&lt;P&gt;  You have created an instance of the &amp;lt;b&amp;gt;MAIN&amp;lt;/b&amp;gt; window, literally its not two main windows its the same &amp;lt;b&amp;gt;MAIN&amp;lt;/b&amp;gt; window being used at two different places. If you check the &amp;lt;b&amp;gt;MAIN&amp;lt;/b&amp;gt; &amp;amp; &amp;lt;b&amp;gt;MAIN 01&amp;lt;/b&amp;gt;. It would contain the same data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What you can do is, create a new page with just the MAIN window in it. lets say &amp;lt;b&amp;gt;PAGE3&amp;lt;/b&amp;gt;. give this command where you have given NEW-WINDOW&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/: NEW-PAGE PAGE3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The control will goto the PAGE3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after this call the WRITE_FORM to write in this page.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This would definitely work. I have done this also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Tushar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jul 2006 11:25:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/two-main-windows-with-same-content/m-p/1389248#M189340</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-18T11:25:11Z</dc:date>
    </item>
    <item>
      <title>Re: Two main windows with same content</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/two-main-windows-with-same-content/m-p/1389249#M189341</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;With two MAIN windows, you have to change the RFFOUS_C print program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any issues with check processing will be handled as a "consulting request" through OSS.  It is now a custom program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will miss out on any corrections/changes made in support packages and upgrades.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SAP recommends using user exits in the ABAP program first.  There are none.&lt;/P&gt;&lt;P&gt;The second approach is to use PERFORMs if needed in the layout set.  You do not need them.&lt;/P&gt;&lt;P&gt;The third step is to handle custom logic in the layout set.  You can do this to meet the task.&lt;/P&gt;&lt;P&gt;The last step is to modify/copy the ABAP program.  From what I have read, you do not have to change the ABAP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jul 2006 15:30:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/two-main-windows-with-same-content/m-p/1389249#M189341</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-18T15:30:30Z</dc:date>
    </item>
    <item>
      <title>Re: Two main windows with same content</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/two-main-windows-with-same-content/m-p/1389250#M189342</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;Thanks for the replies. This is my emailID balambika_r@yahoo.com . &lt;/P&gt;&lt;P&gt;It would be helpful if any sample code can be given. &lt;/P&gt;&lt;P&gt;Yes, this three part form is the only enhancement needed. &lt;/P&gt;&lt;P&gt;I have copied the RFFOUS_C and changed the subroutine SCHECK with write_form calls for MAIN01. But as mentioned earlier this is not working.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jul 2006 17:32:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/two-main-windows-with-same-content/m-p/1389250#M189342</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-18T17:32:18Z</dc:date>
    </item>
    <item>
      <title>Re: Two main windows with same content</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/two-main-windows-with-same-content/m-p/1389251#M189343</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Salter &lt;/P&gt;&lt;P&gt;Thanks a lot for your file. When I tested your program it works. However in my sapscript , the duplicate main window ontent are not getting displayed. When I check texts, there are quite number of syntax errors. I am in the process of resolving the same. Could this be the reason for th data not getting duplicated in the second window? &lt;/P&gt;&lt;P&gt;Anyway thankyou for the program. It certainly helped. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bala&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jul 2006 00:29:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/two-main-windows-with-same-content/m-p/1389251#M189343</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-25T00:29:52Z</dc:date>
    </item>
    <item>
      <title>Re: Two main windows with same content</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/two-main-windows-with-same-content/m-p/1389252#M189344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bala.  Check your email.  I just replied.  Here is part of the message for the other folks...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are getting the UNKNOWN SYMBOL errors, that is okay.  The symbols are defined in a different PAGE WINDOW than they are used.  It will generate this error, but it can be ignored.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It may be the placement of the PAGE WINDOWS.  The page windows with the DEFINEs have to be above the page windows where they are used.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, MAIN has to be above (physically higher on the page) than the ZDUP page window.  CARRYFWD has to be higher than ZCARRY.  TOTAL has to be higher than TOTAL2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you put ZDUP above MAIN, the duplicated data will be blank.  SAPscript works top-down.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jul 2006 00:32:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/two-main-windows-with-same-content/m-p/1389252#M189344</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-25T00:32:34Z</dc:date>
    </item>
    <item>
      <title>Re: Two main windows with same content</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/two-main-windows-with-same-content/m-p/1389253#M189345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;None of the PAGE WINDOWS where the data is duplicated can have text elements (/E symbols).  &lt;/P&gt;&lt;P&gt;The print program (RFFOUS_C) will call the necessary text element sections.  &lt;/P&gt;&lt;P&gt;In these sections, the defined ZZ* variables will be populated.&lt;/P&gt;&lt;P&gt;The duplicated windows should just print them out.  If they are blank, nothing prints.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jul 2006 02:24:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/two-main-windows-with-same-content/m-p/1389253#M189345</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-25T02:24:28Z</dc:date>
    </item>
    <item>
      <title>Re: Two main windows with same content</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/two-main-windows-with-same-content/m-p/1389254#M189346</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Salter&lt;/P&gt;&lt;P&gt;I have the same problem to display the same data on 2 different main windows. Can you send me your custom file RFFOUS_C/RFFORI01 at shaq.peld@gmail.com&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Apr 2007 15:42:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/two-main-windows-with-same-content/m-p/1389254#M189346</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-02T15:42:14Z</dc:date>
    </item>
    <item>
      <title>Re: Two main windows with same content</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/two-main-windows-with-same-content/m-p/1389255#M189347</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Norman,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a similar requirement. Any chance you could forward your code to vaguettl@silabs.com.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~Valerie&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Apr 2007 17:02:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/two-main-windows-with-same-content/m-p/1389255#M189347</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-11T17:02:08Z</dc:date>
    </item>
    <item>
      <title>Re: Two main windows with same content</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/two-main-windows-with-same-content/m-p/1389256#M189348</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;could you please also send me a copy of this Sapscript.  I have the same requirements for check printing.  My email is freek.cavens@punchgraphix.com.&lt;/P&gt;&lt;P&gt;thanks in advance,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Freek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Apr 2007 13:32:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/two-main-windows-with-same-content/m-p/1389256#M189348</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-12T13:32:36Z</dc:date>
    </item>
    <item>
      <title>Re: Two main windows with same content</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/two-main-windows-with-same-content/m-p/1389257#M189349</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Salter,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please send me the logic &amp;amp; solution for the same requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rama&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Aug 2007 13:30:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/two-main-windows-with-same-content/m-p/1389257#M189349</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-17T13:30:54Z</dc:date>
    </item>
    <item>
      <title>Re: Two main windows with same content</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/two-main-windows-with-same-content/m-p/1389258#M189350</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Norman!&lt;/P&gt;&lt;P&gt;I have the same requirement as did earlier.&lt;/P&gt;&lt;P&gt;I was wondering if you can help me out with that.&lt;/P&gt;&lt;P&gt;I have to print the same contents on two main windows on a page and on all subsequent pages.&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;jawad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Dec 2007 17:25:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/two-main-windows-with-same-content/m-p/1389258#M189350</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-17T17:25:46Z</dc:date>
    </item>
    <item>
      <title>Re: Two main windows with same content</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/two-main-windows-with-same-content/m-p/1389259#M189351</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;All the above posts are overly complicated. I solved this problem easily years ago. I refer to this as a 2-stub check. The easiest way to do this is to have one MAIN window for stub 1 and a second "fake" MAIN window that is NOT a type MAIN for stub 2. You want to have only one type MAIN per page to control the page overflow to subsequent pages.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pseudocode:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SAPScript Form:&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="------------------------" /&gt;&lt;P&gt;Window MAIN (TYPE MAIN) (size &amp;amp; position to be 1/3 of the page)&lt;/P&gt;&lt;P&gt;/E 525  (text-element 525)&lt;/P&gt;&lt;P&gt;&amp;amp;field1&amp;amp;,,&amp;amp;field2&amp;amp;,,&amp;amp;field3&amp;amp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Window MAIN2 (TYPE VAR - type VAR makes it a "fake" MAIN)  (size &amp;amp; position to be 1/3 of the page)&lt;/P&gt;&lt;P&gt;/E 525  (text-element 525)&lt;/P&gt;&lt;P&gt;&amp;amp;field1&amp;amp;,,&amp;amp;field2&amp;amp;,,&amp;amp;field3&amp;amp;  (same field names as MAIN-525)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Window CHECK  (size &amp;amp; position to be 1/3 of the page)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So you could have stub-stub-check, check-stub-stub, or stub-check-stub printed out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Print Program:&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="--------------------" /&gt;&lt;P&gt;You will need to change the print program to do a WRITE_FORM for MAIN2-525 right after the WRITE_FORM for MAIN-525:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WRITE_FORM&lt;/P&gt;&lt;P&gt;element = '525'&lt;/P&gt;&lt;P&gt;function = 'APPEND'&lt;/P&gt;&lt;P&gt;window = 'MAIN'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WRITE_FORM&lt;/P&gt;&lt;P&gt;element = '525'&lt;/P&gt;&lt;P&gt;function = 'APPEND'&lt;/P&gt;&lt;P&gt;window = 'MAIN2'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jan 2009 18:56:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/two-main-windows-with-same-content/m-p/1389259#M189351</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-23T18:56:45Z</dc:date>
    </item>
    <item>
      <title>Re: Two main windows with same content</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/two-main-windows-with-same-content/m-p/1389260#M189352</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;But the script is triggered from a standard program RWSNASTV. Any other alternative ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Feb 2009 11:32:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/two-main-windows-with-same-content/m-p/1389260#M189352</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-18T11:32:01Z</dc:date>
    </item>
  </channel>
</rss>

