<?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: Smartforms - Print 4 pages with different layout under loop in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-print-4-pages-with-different-layout-under-loop/m-p/10947778#M1892682</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;Hope you are printing same contents&amp;nbsp; in different layouts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try,&lt;/P&gt;&lt;P&gt;print all table contents in one layout first by using loop statement, then goes to next layout page by adding conditions ie: internal table line count&amp;nbsp; EQ&amp;nbsp; sy-tabix then&amp;nbsp; goto to next page layout, follow the above process for third and fourth layout.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helpful,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ramesh.V&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 Feb 2015 11:37:51 GMT</pubDate>
    <dc:creator>VenkatRamesh_V</dc:creator>
    <dc:date>2015-02-13T11:37:51Z</dc:date>
    <item>
      <title>Smartforms - Print 4 pages with different layout under loop</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-print-4-pages-with-different-layout-under-loop/m-p/10947769#M1892673</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;&lt;/P&gt;&lt;P&gt;I have this requirement:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to create a smartform that &lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;prints&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;four pages&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;with&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;different layouts&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;for every&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;item of the&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;internal table&lt;/SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;I tried to use command 'new page' under loop but it doesn't work fine.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;I found several discussion about similar topic, but it seems no one &lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;with&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;reference&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;to pages&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;with&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;completely different&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;layout.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;Please, could someone help me ?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;Regards.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Feb 2015 09:36:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-print-4-pages-with-different-layout-under-loop/m-p/10947769#M1892673</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-02-13T09:36:07Z</dc:date>
    </item>
    <item>
      <title>Re: Smartforms - Print 4 pages with different layout under loop</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-print-4-pages-with-different-layout-under-loop/m-p/10947770#M1892674</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Paolo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use COMMAND in smartform and mention the next screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sreekanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Feb 2015 09:47:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-print-4-pages-with-different-layout-under-loop/m-p/10947770#M1892674</guid>
      <dc:creator>former_member202818</dc:creator>
      <dc:date>2015-02-13T09:47:02Z</dc:date>
    </item>
    <item>
      <title>Re: Smartforms - Print 4 pages with different layout under loop</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-print-4-pages-with-different-layout-under-loop/m-p/10947771#M1892675</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sreekanth,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you for your answer.&lt;/P&gt;&lt;P&gt;I use command "New page" to page2 under LOOP in page1, and It work fine; the problem is that the for the fist page is printed only for the fist item of the internal table, for all other items only page2 is printed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Feb 2015 10:09:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-print-4-pages-with-different-layout-under-loop/m-p/10947771#M1892675</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-02-13T10:09:28Z</dc:date>
    </item>
    <item>
      <title>Re: Smartforms - Print 4 pages with different layout under loop</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-print-4-pages-with-different-layout-under-loop/m-p/10947772#M1892676</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Paolo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do u want to display the same item in four different pages?&lt;/P&gt;&lt;P&gt;for ex : if internal table have 3 records 12(3*4) pages will be there?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sreekanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Feb 2015 10:18:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-print-4-pages-with-different-layout-under-loop/m-p/10947772#M1892676</guid>
      <dc:creator>former_member202818</dc:creator>
      <dc:date>2015-02-13T10:18:03Z</dc:date>
    </item>
    <item>
      <title>Re: Smartforms - Print 4 pages with different layout under loop</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-print-4-pages-with-different-layout-under-loop/m-p/10947773#M1892677</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sreekanth,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, this is the scenario&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My table:&lt;/P&gt;&lt;P&gt;VENDOR1&lt;/P&gt;&lt;P&gt;VENDOR2&lt;/P&gt;&lt;P&gt;VENDOR2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The output should be the output&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Page1 - VENDOR1 - Master data&lt;/P&gt;&lt;P&gt;Page2 - VENDOR1 - Bank data&lt;/P&gt;&lt;P&gt;Page3 - VENDOR1 - Custom data&lt;/P&gt;&lt;P&gt;Page1 - VENDOR2 - Master data&lt;/P&gt;&lt;P&gt;Page2 - VENDOR2 - Bank data&lt;/P&gt;&lt;P&gt;Page3 - VENDOR2 - Custom data&lt;/P&gt;&lt;P&gt;Page1 - VENDOR3 - Master data&lt;/P&gt;&lt;P&gt;Page2 - VENDOR3 - Bank data&lt;/P&gt;&lt;P&gt;Page3 - VENDOR3 - Custom data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Paolo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Feb 2015 10:25:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-print-4-pages-with-different-layout-under-loop/m-p/10947773#M1892677</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-02-13T10:25:11Z</dc:date>
    </item>
    <item>
      <title>Re: Smartforms - Print 4 pages with different layout under loop</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-print-4-pages-with-different-layout-under-loop/m-p/10947774#M1892678</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it_tab1 having unique IDs. "Say unique Classes&lt;/P&gt;&lt;P&gt;it_tab2 having whole records. "Say students details&lt;/P&gt;&lt;P&gt;In smartforms,&lt;/P&gt;&lt;P&gt;Loop it_tab1 into wa1. "Element LOOP&lt;/P&gt;&lt;P&gt;Element TABLE with it_tab2 , In where condition pass wa1-class.&lt;/P&gt;&lt;P&gt;COMMAND1 next page 2&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Element TABLE with it_tab2 , In where condition pass wa1-class.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;COMMAND2 next page 3&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Element TABLE with it_tab2 , In where condition pass wa1-class.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;COMMAND3 next page 4&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Element TABLE with it_tab2 , In where condition pass wa1-class.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Feb 2015 10:28:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-print-4-pages-with-different-layout-under-loop/m-p/10947774#M1892678</guid>
      <dc:creator>former_member202818</dc:creator>
      <dc:date>2015-02-13T10:28:46Z</dc:date>
    </item>
    <item>
      <title>Re: Smartforms - Print 4 pages with different layout under loop</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-print-4-pages-with-different-layout-under-loop/m-p/10947775#M1892679</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;Can u share the smartform element arrangement. Take a snap.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sreekanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Feb 2015 10:33:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-print-4-pages-with-different-layout-under-loop/m-p/10947775#M1892679</guid>
      <dc:creator>former_member202818</dc:creator>
      <dc:date>2015-02-13T10:33:41Z</dc:date>
    </item>
    <item>
      <title>Re: Smartforms - Print 4 pages with different layout under loop</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-print-4-pages-with-different-layout-under-loop/m-p/10947776#M1892680</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 is my actual smarforms, I'm working on a Vistual Machine I hope you can see the image&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/644793" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Feb 2015 10:40:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-print-4-pages-with-different-layout-under-loop/m-p/10947776#M1892680</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-02-13T10:40:25Z</dc:date>
    </item>
    <item>
      <title>Re: Smartforms - Print 4 pages with different layout under loop</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-print-4-pages-with-different-layout-under-loop/m-p/10947777#M1892681</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Main window is acceptable only for Page 1. For other pages just design as u want with secondary windows.&lt;/P&gt;&lt;P&gt;For your understanding from the position where u called COMMAND, content of main window break and continue from the called page.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try by add a new COMMAND1 (call page 1) before COMMAND2 (call page 2). Give condiotion&lt;/P&gt;&lt;P&gt;sy-tabix &amp;lt;&amp;gt; 1 for COMMAND1. "To prevent the execution of COMMAND1 at first time.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Feb 2015 11:00:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-print-4-pages-with-different-layout-under-loop/m-p/10947777#M1892681</guid>
      <dc:creator>former_member202818</dc:creator>
      <dc:date>2015-02-13T11:00:40Z</dc:date>
    </item>
    <item>
      <title>Re: Smartforms - Print 4 pages with different layout under loop</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-print-4-pages-with-different-layout-under-loop/m-p/10947778#M1892682</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;Hope you are printing same contents&amp;nbsp; in different layouts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try,&lt;/P&gt;&lt;P&gt;print all table contents in one layout first by using loop statement, then goes to next layout page by adding conditions ie: internal table line count&amp;nbsp; EQ&amp;nbsp; sy-tabix then&amp;nbsp; goto to next page layout, follow the above process for third and fourth layout.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helpful,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ramesh.V&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Feb 2015 11:37:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-print-4-pages-with-different-layout-under-loop/m-p/10947778#M1892682</guid>
      <dc:creator>VenkatRamesh_V</dc:creator>
      <dc:date>2015-02-13T11:37:51Z</dc:date>
    </item>
    <item>
      <title>Re: Smartforms - Print 4 pages with different layout under loop</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-print-4-pages-with-different-layout-under-loop/m-p/10947779#M1892683</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;&lt;/P&gt;&lt;P&gt;thank you again for your help; this is an example of my code now.&lt;/P&gt;&lt;P&gt;It seems these is a problem when calling the page2 due to "overflow of non main window" but&lt;/P&gt;&lt;P&gt;the window size in page2 is compliance with the fields to print.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/644906" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Feb 2015 11:57:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-print-4-pages-with-different-layout-under-loop/m-p/10947779#M1892683</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-02-13T11:57:29Z</dc:date>
    </item>
  </channel>
</rss>

