<?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: Problem with Secondary window in smartforms in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-secondary-window-in-smartforms/m-p/7630411#M1571233</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;could you process differently from your driver...loop at table, pass structure values to SmartForm, essentially calling your form for each row in the internal table?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 02 Mar 2011 19:59:18 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-03-02T19:59:18Z</dc:date>
    <item>
      <title>Problem with Secondary window in smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-secondary-window-in-smartforms/m-p/7630410#M1571232</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an issue with smartforms while looping internal table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the scenario:&lt;/P&gt;&lt;P&gt;I have two records in my internal table. For each record, I need to print two pages &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example: In internal table records like..&lt;/P&gt;&lt;P&gt;TEST1&lt;/P&gt;&lt;P&gt;TEST2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First for TEST1, it supposed to print two pages and then for TEST2, it supposed to print two pages from third page onwards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have designed my smartform with two pages named as.. FIRST and SECOND&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the FIRST page, I created one window type is MAIN window.&lt;/P&gt;&lt;P&gt;In the MAIN window...Template1 has designed.&lt;/P&gt;&lt;P&gt;At the end of Template, I used command option to go to SECOND page.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the SECOND page, I created one window type is Seconary window.&lt;/P&gt;&lt;P&gt;In the Seconadry window...Template2 has designed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;==========&lt;/P&gt;&lt;P&gt;With this design, smartform is working is displaying two pages irrespective of the internal table records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Option1: &lt;/P&gt;&lt;P&gt;When I used LOOP in between MAIN Window and Template1. No output displayed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Option2: &lt;/P&gt;&lt;P&gt;When I tried to change the Secondary window as MAIN window, only second record TEST2 is displaying.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Option3: &lt;/P&gt;&lt;P&gt;So, I removed LOOP and written some program lines based on iteration.&lt;/P&gt;&lt;P&gt;For that, it supposed to go to FIRST page,as soon as SECOND page printing for the record TEST1.&lt;/P&gt;&lt;P&gt;and then second record TEST2 starts from third page and should print two pages for second record TEST2 and so on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I am trying to use command to go to FIRST page in the sceondary window of SECOND page, it's not allowing. &lt;/P&gt;&lt;P&gt;I am getting error message like.."No new page allowed in secondary window".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;====&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please suggest solution for this..&lt;/P&gt;&lt;P&gt;basically... If the internal table has two records, For each record, it should print two pages.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance&lt;/P&gt;&lt;P&gt;Raghu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Mar 2011 18:36:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-secondary-window-in-smartforms/m-p/7630410#M1571232</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-03-02T18:36:04Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Secondary window in smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-secondary-window-in-smartforms/m-p/7630411#M1571233</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;could you process differently from your driver...loop at table, pass structure values to SmartForm, essentially calling your form for each row in the internal table?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Mar 2011 19:59:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-secondary-window-in-smartforms/m-p/7630411#M1571233</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-03-02T19:59:18Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Secondary window in smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-secondary-window-in-smartforms/m-p/7630412#M1571234</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I getting internal table from interface. It has two records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically.., If the internal table has more than one record, For each record, it should print two pages.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Mar 2011 13:56:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-secondary-window-in-smartforms/m-p/7630412#M1571234</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-03-03T13:56:22Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Secondary window in smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-secondary-window-in-smartforms/m-p/7630413#M1571235</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can anybody tell max height of the MAIN window and SECONDARY window in Centi Meters.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Mar 2011 14:46:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-secondary-window-in-smartforms/m-p/7630413#M1571235</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-03-03T14:46:44Z</dc:date>
    </item>
  </channel>
</rss>

