<?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: SAPscript layout -Repeating Main window in same page in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-layout-repeating-main-window-in-same-page/m-p/4506612#M1066129</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Viraj for you suggestion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will try the options that you gave me..Thanks again... &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/651/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Debrath&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 13 Mar 2014 13:37:57 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2014-03-13T13:37:57Z</dc:date>
    <item>
      <title>SAPscript layout -Repeating Main window in same page</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-layout-repeating-main-window-in-same-page/m-p/4506604#M1066121</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 a requirement in sapscript layout to duplicate content within a page in two sections, of which the content can span across multiple pages.&lt;/P&gt;&lt;P&gt;Can anyone give an idea how this can be achieved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This particular layout has 3 sections:&lt;/P&gt;&lt;P&gt;1st window (Top window): invoice Details (multiple items)&lt;/P&gt;&lt;P&gt;2nd window (Middle window): Check Details single item&lt;/P&gt;&lt;P&gt;3rd window (Bottom window): invoice Details (multiple items) {same content of the 1st window}&lt;/P&gt;&lt;P&gt;The invoice details can span across multiple pages.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Main window alone works perfect with the requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have attempted with a copy of a Main window for the 3rd window, and as it's specified it can only continue from the 1st main Window and i couldn't find a way to control it's value passing from the calling program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have also tried using a dynamic window for the 3rd window, but haven't worked  to get the desired values shown across multiple pages. When it cross to a new page it repeats its last value across all pages.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me with this. Thanks in Advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Viraj.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Sep 2008 16:58:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-layout-repeating-main-window-in-same-page/m-p/4506604#M1066121</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-29T16:58:56Z</dc:date>
    </item>
    <item>
      <title>Re: SAPscript layout -Repeating Main window in same page</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-layout-repeating-main-window-in-same-page/m-p/4506605#M1066122</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For this, you need to some workarounds.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you have more than one main window in your page, and if the first main window gets overflow, it will start writing the data in the second main window.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To achieve the functionality in your SAPScript, you have to fill your table in such a way that if the window gets overflowed, it will start writing the same data in the second window.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example: Your both main window are with identical height and can occupy 5 items.&lt;/P&gt;&lt;P&gt;So, you have duplicate the 5 items in your internal table. You have to put those duplicated records from the index 6 to 10. You need to repeat this for all the items in the internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This way, when the first main window gets overflowed, it will right the same data (index 6 to 10) in the second main window and so on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Naimesh Patel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Sep 2008 17:06:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-layout-repeating-main-window-in-same-page/m-p/4506605#M1066122</guid>
      <dc:creator>naimesh_patel</dc:creator>
      <dc:date>2008-09-29T17:06:19Z</dc:date>
    </item>
    <item>
      <title>Re: SAPscript layout -Repeating Main window in same page</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-layout-repeating-main-window-in-same-page/m-p/4506606#M1066123</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Naimesh for your speedy reponse.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have attempted this already but my difficulty in doing this is, I'm customizing the requirement on a standard layout. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you said, the repetition required window sizes are equal in size.&lt;/P&gt;&lt;P&gt;However, The current Main window has few more elements such as summary, carried forward details incorporated of which also needs to repeated in each 1st(top) and 3rd(bottom) windows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you suggested replicating an internal table was an option i was trying out. But i found it difficult to get the elements such as Summary lines and conditioning spaces was becoming even more difficult to trace.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would you happen to have any idea to may be simplify this further?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also would like to hear thoughts on the feasibility on using a Dynamic window to replicate the content option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; regards,&lt;/P&gt;&lt;P&gt;Viraj.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Sep 2008 17:46:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-layout-repeating-main-window-in-same-page/m-p/4506606#M1066123</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-29T17:46:09Z</dc:date>
    </item>
    <item>
      <title>Re: SAPscript layout -Repeating Main window in same page</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-layout-repeating-main-window-in-same-page/m-p/4506607#M1066124</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be you can try by using the combination of the FM READ_FORM_LINES and WRITE_FORM_LINES. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is a command called NEW-WINDOW which will call your next main window. You can also use that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Naimesh Patel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Sep 2008 18:34:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-layout-repeating-main-window-in-same-page/m-p/4506607#M1066124</guid>
      <dc:creator>naimesh_patel</dc:creator>
      <dc:date>2008-09-29T18:34:14Z</dc:date>
    </item>
    <item>
      <title>Re: SAPscript layout -Repeating Main window in same page</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-layout-repeating-main-window-in-same-page/m-p/4506608#M1066125</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;This seems to be a like a long back post.&lt;/P&gt;&lt;P&gt;But I&amp;nbsp; am facing kind of just opposite issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my case the main window details are printing twice and client want to rectify that&lt;/P&gt;&lt;P&gt;I have attached the file regarding this..can anyone suggest me with this..&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/409500" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Mar 2014 08:12:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-layout-repeating-main-window-in-same-page/m-p/4506608#M1066125</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-03-13T08:12:23Z</dc:date>
    </item>
    <item>
      <title>Re: SAPscript layout -Repeating Main window in same page</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-layout-repeating-main-window-in-same-page/m-p/4506609#M1066126</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Debrath,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your question seems a bit unclear.&lt;/P&gt;&lt;P&gt;Is this related to a cheque layout?&lt;SPAN style="font-size: 10pt;"&gt;or a payment voucher?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Mar 2014 12:15:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-layout-repeating-main-window-in-same-page/m-p/4506609#M1066126</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-03-13T12:15:01Z</dc:date>
    </item>
    <item>
      <title>Re: SAPscript layout -Repeating Main window in same page</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-layout-repeating-main-window-in-same-page/m-p/4506610#M1066127</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;Thanks for your response. This is a check layout..Bottom of the form the check is printing fine...But the above details which I have sent the screen shot is printing twice as you see. They run this through F110 t.code...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Mar 2014 12:50:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-layout-repeating-main-window-in-same-page/m-p/4506610#M1066127</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-03-13T12:50:37Z</dc:date>
    </item>
    <item>
      <title>Re: SAPscript layout -Repeating Main window in same page</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-layout-repeating-main-window-in-same-page/m-p/4506611#M1066128</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;The Standard layout only prints the invoice details once.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;If your existing layout prints invoice repeated, which means that already a customization is in place which repeats the invoice breakdown. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;SPAN style="text-decoration: underline;"&gt;If the items are being repeated&lt;/SPAN&gt; in the &lt;STRONG&gt;main window&lt;/STRONG&gt;, it could be that the repetition customization is done on the calling program, then a solution could be to remove/comment that call&amp;nbsp; in the calling program by searching text element name.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;SPAN style="text-decoration: underline;"&gt;If the items are being repeated&lt;/SPAN&gt; from a &lt;STRONG&gt;non-main window&lt;/STRONG&gt;, then a solution could be to remove/comment the entire element in the non-main window.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;hope this helps&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Best Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Viraj.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Mar 2014 13:30:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-layout-repeating-main-window-in-same-page/m-p/4506611#M1066128</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-03-13T13:30:49Z</dc:date>
    </item>
    <item>
      <title>Re: SAPscript layout -Repeating Main window in same page</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-layout-repeating-main-window-in-same-page/m-p/4506612#M1066129</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Viraj for you suggestion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will try the options that you gave me..Thanks again... &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/651/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Debrath&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Mar 2014 13:37:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-layout-repeating-main-window-in-same-page/m-p/4506612#M1066129</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-03-13T13:37:57Z</dc:date>
    </item>
  </channel>
</rss>

