<?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 How to trigger a new page in smartforms when using tableformat? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-trigger-a-new-page-in-smartforms-when-using-tableformat/m-p/3306749#M791938</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;  Could you tell me how to trigger a new page on the end of a particular date?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually I am passing an internal table from the program to the smartform. And in the smart form i have used table format to display all the records. The requirement now is I need to display all the records belong to a particualar date should be in one page. How can i achieve this? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  I tried setting command line in footer of the table. But it is nowhere showing such option for command line.Do anybody have an idea. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 25 Jan 2008 12:22:29 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-01-25T12:22:29Z</dc:date>
    <item>
      <title>How to trigger a new page in smartforms when using tableformat?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-trigger-a-new-page-in-smartforms-when-using-tableformat/m-p/3306749#M791938</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;  Could you tell me how to trigger a new page on the end of a particular date?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually I am passing an internal table from the program to the smartform. And in the smart form i have used table format to display all the records. The requirement now is I need to display all the records belong to a particualar date should be in one page. How can i achieve this? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  I tried setting command line in footer of the table. But it is nowhere showing such option for command line.Do anybody have an idea. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jan 2008 12:22:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-trigger-a-new-page-in-smartforms-when-using-tableformat/m-p/3306749#M791938</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-25T12:22:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to trigger a new page in smartforms when using tableformat?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-trigger-a-new-page-in-smartforms-when-using-tableformat/m-p/3306750#M791939</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi feddie,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;your problem can be solved in the following way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;create one more table which contains only the dates in distinct number. this means, the number of records in the table are the number of page breaks you need.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now pass both the date table and data table to smartform &lt;/P&gt;&lt;P&gt;and follow the logic shown below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop IT_DATE table&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  loop at IT_DATA table where IT_DATA-date = IT_DATE-date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        &amp;lt;display your data&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;command &amp;lt;go to next page&amp;gt; where IT_DATA-date NE IT_DATE-date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used this logic in my smartform and it works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this solves your problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if useful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jan 2008 12:44:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-trigger-a-new-page-in-smartforms-when-using-tableformat/m-p/3306750#M791939</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-25T12:44:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to trigger a new page in smartforms when using tableformat?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-trigger-a-new-page-in-smartforms-when-using-tableformat/m-p/3306751#M791940</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks rambo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    I got solution. Many thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 27 Jan 2008 06:29:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-trigger-a-new-page-in-smartforms-when-using-tableformat/m-p/3306751#M791940</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-27T06:29:48Z</dc:date>
    </item>
  </channel>
</rss>

