<?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 Using tables in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-using-tables/m-p/9233681#M1718902</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;create a program lines in main area of your table node.&lt;/P&gt;&lt;P&gt;here you have to write code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;g_counter = g_counter + 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;abc = g_counter mod 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if abc = 0.&lt;/P&gt;&lt;P&gt;g_flag = 'X'.&lt;/P&gt;&lt;P&gt;else&lt;/P&gt;&lt;P&gt;clear g_flag.&lt;/P&gt;&lt;P&gt;g_flag = '&amp;nbsp; '.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you have to put g_flag and g_counter in output parameters of program lines.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;define g_flag and g_counter in global definition part of smartform.&lt;/P&gt;&lt;P&gt; you have to create a command in main area of table node.&lt;STRONG&gt; select main area of table node and right click on it and create loop. here you have to put your final internal table. then right click on loop node and create command. in your program 8 cell present. right click on any of cell and create program lines. create 1st command, next create program lines.&lt;/STRONG&gt; in command, 2 tabs present. general attributes tab-&amp;gt; you have to check go to new page and give next page name like NEXT.&amp;nbsp; in condition tab, put g_flag = 'X'. at last in next page, you have to copy main window node from page 1 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i explained details and step by step.. follow it....hope your problem will be solve.........&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sabyasachi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 Jan 2013 19:57:40 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2013-01-03T19:57:40Z</dc:date>
    <item>
      <title>SMARTFORMS Using tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-using-tables/m-p/9233680#M1718901</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello guys, i need some help with respect to, designing a smart-forms using tables pa0001, pa0002, pa0006, T527X. Where, i have to fetch a details from a mentioned tables, which will display the PERNR values in two different pages, where-in each page will display only 2 PERNR values, I,e., PERNR Number 1 and PERNR Number 2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: Fields from the Tables are:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" height="104" style="border: 1px solid #000000; width: 196px; height: 67px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Table&lt;BR /&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Field_name&lt;BR /&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;&lt;STRONG&gt;PA0001&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;ORGEH&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;&lt;STRONG&gt;PA0002&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;&lt;P&gt;VORNA&lt;/P&gt;&lt;P&gt;NACHN&lt;/P&gt;&lt;P&gt;NATIO&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;&lt;STRONG&gt;PA0006&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;&lt;P&gt;PERNR&lt;/P&gt;&lt;P&gt;BEGDA&lt;/P&gt;&lt;P&gt;ENDDA&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;&lt;STRONG&gt;T527X&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;ORGTX&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AND THE OUT-PUT SHOULD LOOK LIKE AS BELOW&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;PAGE: 1&lt;/STRONG&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid #000000; width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;PERNR&lt;BR /&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;VORNA&lt;BR /&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;NACHN&lt;BR /&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;NATIO&lt;BR /&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;ORGEH&lt;BR /&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;BEGDA&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;ENDDA&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;ORGTX&lt;BR /&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;&lt;SPAN style="text-align: center;"&gt;1&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;XXXXX&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;&lt;SPAN style="text-align: center;"&gt;XXXXX&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;&lt;SPAN style="text-align: center;"&gt;XXXXX&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;&lt;SPAN style="text-align: center;"&gt;XXXXX&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;&lt;SPAN style="text-align: center;"&gt;XXXXX&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;&lt;SPAN style="text-align: center;"&gt;XXXXX&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;&lt;SPAN style="text-align: center;"&gt;XXXXX&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;&lt;SPAN style="text-align: center;"&gt;2&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;&lt;SPAN style="text-align: center;"&gt;XXXXX&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;&lt;SPAN style="text-align: center;"&gt;XXXXX&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;&lt;SPAN style="text-align: center;"&gt;XXXXX&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;&lt;SPAN style="text-align: center;"&gt;XXXXX&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;&lt;SPAN style="text-align: center;"&gt;XXXXX&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;&lt;SPAN style="text-align: center;"&gt;XXXXX&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;&lt;SPAN style="text-align: center;"&gt;XXXXX&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;PAGE: 2&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid #000000; width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;PERNR&lt;BR /&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;VORNA&lt;BR /&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;NACHN&lt;BR /&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;NATIO&lt;BR /&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;PERNR&lt;BR /&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;BEGDA&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;ENDDA&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;ORGTX&lt;BR /&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;&lt;SPAN style="text-align: center;"&gt;3&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;XXXXX&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;&lt;SPAN style="text-align: center;"&gt;XXXXX&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;&lt;SPAN style="text-align: center;"&gt;XXXXX&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;&lt;SPAN style="text-align: center;"&gt;XXXXX&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;&lt;SPAN style="text-align: center;"&gt;XXXXX&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;&lt;SPAN style="text-align: center;"&gt;XXXXX&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;&lt;SPAN style="text-align: center;"&gt;XXXXX&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;&lt;SPAN style="text-align: center;"&gt;4&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;&lt;SPAN style="text-align: center;"&gt;XXXXX&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;&lt;SPAN style="text-align: center;"&gt;XXXXX&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;&lt;SPAN style="text-align: center;"&gt;XXXXX&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;&lt;SPAN style="text-align: center;"&gt;XXXXX&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;&lt;SPAN style="text-align: center;"&gt;XXXXX&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;&lt;SPAN style="text-align: center;"&gt;XXXXX&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;&lt;SPAN style="text-align: center;"&gt;XXXXX&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt; &lt;STRONG&gt;NOTE: 'X'&lt;/STRONG&gt; some values&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Anand Maverick&#xD;
kindly, replay with a screen shots&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jan 2013 19:18:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-using-tables/m-p/9233680#M1718901</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-01-03T19:18:35Z</dc:date>
    </item>
    <item>
      <title>Re: SMARTFORMS Using tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-using-tables/m-p/9233681#M1718902</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;create a program lines in main area of your table node.&lt;/P&gt;&lt;P&gt;here you have to write code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;g_counter = g_counter + 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;abc = g_counter mod 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if abc = 0.&lt;/P&gt;&lt;P&gt;g_flag = 'X'.&lt;/P&gt;&lt;P&gt;else&lt;/P&gt;&lt;P&gt;clear g_flag.&lt;/P&gt;&lt;P&gt;g_flag = '&amp;nbsp; '.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you have to put g_flag and g_counter in output parameters of program lines.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;define g_flag and g_counter in global definition part of smartform.&lt;/P&gt;&lt;P&gt; you have to create a command in main area of table node.&lt;STRONG&gt; select main area of table node and right click on it and create loop. here you have to put your final internal table. then right click on loop node and create command. in your program 8 cell present. right click on any of cell and create program lines. create 1st command, next create program lines.&lt;/STRONG&gt; in command, 2 tabs present. general attributes tab-&amp;gt; you have to check go to new page and give next page name like NEXT.&amp;nbsp; in condition tab, put g_flag = 'X'. at last in next page, you have to copy main window node from page 1 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i explained details and step by step.. follow it....hope your problem will be solve.........&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sabyasachi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jan 2013 19:57:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-using-tables/m-p/9233681#M1718902</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-01-03T19:57:40Z</dc:date>
    </item>
    <item>
      <title>Re: SMARTFORMS Using tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-using-tables/m-p/9233682#M1718903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can create a command with condition to trigger a new page within loop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jan 2013 03:47:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-using-tables/m-p/9233682#M1718903</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-01-04T03:47:03Z</dc:date>
    </item>
    <item>
      <title>Re: SMARTFORMS Using tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-using-tables/m-p/9233683#M1718904</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;1.Collect all the required data into an internal table and pass it to the smartform.&lt;/P&gt;&lt;P&gt;2.Create a table or a template inside the loop.&lt;/P&gt;&lt;P&gt;3.Create a variable and increment the counter in the beginning of every loop, create a command and check the box 'Go to Neew Page' and give the current page number.&lt;/P&gt;&lt;P&gt;In the condition tab give the condition as Counter variable = 2(The new page will be triggered whenever a count of 2 employees has been processed) and clear the counter variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Swarna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jan 2013 07:20:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-using-tables/m-p/9233683#M1718904</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-01-04T07:20:30Z</dc:date>
    </item>
    <item>
      <title>Re: SMARTFORMS Using tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-using-tables/m-p/9233684#M1718905</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi you can follow sathya's idea to implement your requirement that is the best procedure to achieve page break in smartform. i.e. Put a command to go to new page based on the temporary counter variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Praveen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jan 2013 11:06:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-using-tables/m-p/9233684#M1718905</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-01-04T11:06:41Z</dc:date>
    </item>
    <item>
      <title>Re: SMARTFORMS Using tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-using-tables/m-p/9233685#M1718906</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sabyasachi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also had similar type of requirement like this displaying one record in one page (multiple records in multiple pages).&amp;nbsp; For this I used the same concept as you said above,but in my case the data in second page is not getting populated.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created smartform as below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PAGE1&lt;/P&gt;&lt;P&gt;mainwindow &lt;/P&gt;&lt;P&gt;code populating final table&lt;/P&gt;&lt;P&gt;created table&lt;/P&gt;&lt;P&gt;created loop with final internal table&lt;/P&gt;&lt;P&gt;created command line(had put the condition w_pgbrk_flg = 'X')&lt;/P&gt;&lt;P&gt;the rows to be be printed&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Created PAGE2 and copied MAIN WINDOW of page1 to page2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The number of pages are coming correct but the data is not getting populated from the second page.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please help me out with this.what did i miss here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Kumar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jan 2013 19:51:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-using-tables/m-p/9233685#M1718906</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-01-09T19:51:23Z</dc:date>
    </item>
  </channel>
</rss>

