<?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 - new page in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-new-page/m-p/1355147#M177376</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mario,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you satify with my information, pls reward  corresponding points and close it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ram&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 12 Jun 2006 09:22:46 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-06-12T09:22:46Z</dc:date>
    <item>
      <title>Smartforms - new page</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-new-page/m-p/1355141#M177370</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ABAP-ers,&lt;/P&gt;&lt;P&gt;I am using smartforms to print 12 labels on one A4 paper. My problem is, when I have more than 12 lables, I can only print 2 A4 papers (24 lables). Smartform consist of 12 windows(one window, one label, one entry in int.table). In each windows is first accessd int.tab. over index(global field), data is read and filled in fields of current  window. On last window(main) is code for check, if there are in int.tab. stil entries(lables) to print. If yes, then I use COMMAND to go to NEXT PAGE, but this is functioning only once and therefore I get only 2 papers of lables. Any idea, suggestion.....thx mario&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jun 2006 07:45:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-new-page/m-p/1355141#M177370</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-12T07:45:21Z</dc:date>
    </item>
    <item>
      <title>Re: Smartforms - new page</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-new-page/m-p/1355142#M177371</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hai,&lt;/P&gt;&lt;P&gt;    Find the number of entries in your internal table. Based on that give the condition for triggering new page.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jun 2006 07:53:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-new-page/m-p/1355142#M177371</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-12T07:53:58Z</dc:date>
    </item>
    <item>
      <title>Re: Smartforms - new page</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-new-page/m-p/1355143#M177372</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;The page to which you want to branch must exist. You can branch to a new page only as long as you are still displaying the contents of a main window. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Choose Create -&amp;gt; Command in the context menu to create a command node in the main window of the page. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On the General Attributes tab strips Tick Go to new page.Determine the new page using the list box next to the checkbox (it can be the same page if you want). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The output of the main window will continues on the new page.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;********************************************************&lt;/P&gt;&lt;P&gt;just need to create a command between two loops in the main window with go to next page pointing to itself. There will still be another command with go to next page pointing to the next page&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Sudheer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jun 2006 07:54:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-new-page/m-p/1355143#M177372</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-12T07:54:03Z</dc:date>
    </item>
    <item>
      <title>Re: Smartforms - new page</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-new-page/m-p/1355144#M177373</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My intention was exactly same as yours Sudheer Junnuthula, but first window on next page isn't Main window. Cold that be a resaon, why do I get only two pages. This logic that you described, works by me fine, but ONLY ONCE!!!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jun 2006 08:03:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-new-page/m-p/1355144#M177373</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-12T08:03:54Z</dc:date>
    </item>
    <item>
      <title>Re: Smartforms - new page</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-new-page/m-p/1355145#M177374</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 already done this using only one MAIN WINDOW.&lt;/P&gt;&lt;P&gt;Why you are using constant or variable windows rather than MAIN Window..?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One one MAIN WINDOW and only one page is enough to print any number of labels.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Take only one Main Window in your layout.&lt;/P&gt;&lt;P&gt;And Create LOOP Node. With in the LOOP node, create 6 , 6 TEMPLATEs to print left and right side Labels at a time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, when the LOOP is started, you have to read first &amp;amp; second records using Program lines node. Then you can print 2 labels in the row at a time. then for the second row lables..read the third and fourth records at a time..likewsie for upto 6 rows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Within a single Loop, you are printing 12 records from internal table. Keep a flag to avoid printing of same records in the next loop. At the end of last TEMPLATE (i.e after 12th record) with in the LOOP, use COMMAND to get NEXTPAGE (NEXTPAGE is itself again same page of first)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, this way you can print upto any number of labels but labels per page is only 12.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Its very simple when you implement logic.&lt;/P&gt;&lt;P&gt;Let me know ifyou have any questions.&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;&lt;/P&gt;&lt;P&gt;Ram&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jun 2006 08:52:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-new-page/m-p/1355145#M177374</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-12T08:52:04Z</dc:date>
    </item>
    <item>
      <title>Re: Smartforms - new page</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-new-page/m-p/1355146#M177375</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes RAM, you are completly right, I didn't knew that new page command works only for main window. Because there are 12 labels, and is tricky to position them, I thought there is other way. Now I see there isn't....so i changed print program to print one by one paper....but for future is good to know. thx&lt;/P&gt;&lt;P&gt; mario&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jun 2006 09:17:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-new-page/m-p/1355146#M177375</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-12T09:17:17Z</dc:date>
    </item>
    <item>
      <title>Re: Smartforms - new page</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-new-page/m-p/1355147#M177376</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mario,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you satify with my information, pls reward  corresponding points and close it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ram&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jun 2006 09:22:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-new-page/m-p/1355147#M177376</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-12T09:22:46Z</dc:date>
    </item>
  </channel>
</rss>

