<?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 - page protection problem in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-page-protection-problem/m-p/1589367#M265413</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Varun, &lt;/P&gt;&lt;P&gt;thank You for Your answer!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have changed the table-node into a loop-node. The page protection ist working fine. But in the end of the loop, I´m calculating the sum. But the problem is, if only one position is shown on the second page, it is adding the amount of this position into my carrying over sum, although it is shown on the next page. &lt;SPAN __jive_emoticon_name="sad"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I don´t have an idea to solve that problem, but it´s an urgent issue in my project....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers Arne&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 Sep 2006 13:34:10 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-09-26T13:34:10Z</dc:date>
    <item>
      <title>Smartforms - page protection problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-page-protection-problem/m-p/1589365#M265411</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 have made an invoice form with smartforms. To protect the positions of page breakes, I have made all position nodes in one folder note and set the page protection flag for that folder. Because in tables the page protection option is not working, I have made it all with paragraphs...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is my problem now:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the form has more than one page, I have to show the sum of all positions of the first page on the bottom of the page and one the top of the next page. Therefore I have calculated the sum inside the loop of the positions (at the end of the loop).&lt;/P&gt;&lt;P&gt;This is normaly working... But if I have two pages and only &amp;lt;b&amp;gt;ONE&amp;lt;/b&amp;gt; position does not fit on the first page, the calculated sum contains the sum of &amp;lt;b&amp;gt;ALL&amp;lt;/b&amp;gt; positions, although the last position is shown on the next page!&lt;/P&gt;&lt;P&gt;Any ideas, how I can only calculate the positions that fit on one page &amp;lt;b&amp;gt;FOR REAL&amp;lt;/b&amp;gt;?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank You very much!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers Arne&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Sep 2006 13:11:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-page-protection-problem/m-p/1589365#M265411</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-26T13:11:16Z</dc:date>
    </item>
    <item>
      <title>Re: Smartforms - page protection problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-page-protection-problem/m-p/1589366#M265412</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 encountered a similar problem as ur doing.In dat scenario what i did was that I created a &amp;lt;b&amp;gt;Loop&amp;lt;/b&amp;gt; instead of a table and secondly based on the page size please create a style with proper an appropriate tab and use this through out while displaying the line items.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using a tab will ensure equal spacing everywhere and the data will not overflow from any line and where ur writing a variable place an addition (C) at the end of that variables between the &amp;amp;. This also ensures that the data doesnt overflow and confines to the space.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Varun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Sep 2006 13:19:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-page-protection-problem/m-p/1589366#M265412</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-26T13:19:01Z</dc:date>
    </item>
    <item>
      <title>Re: Smartforms - page protection problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-page-protection-problem/m-p/1589367#M265413</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Varun, &lt;/P&gt;&lt;P&gt;thank You for Your answer!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have changed the table-node into a loop-node. The page protection ist working fine. But in the end of the loop, I´m calculating the sum. But the problem is, if only one position is shown on the second page, it is adding the amount of this position into my carrying over sum, although it is shown on the next page. &lt;SPAN __jive_emoticon_name="sad"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I don´t have an idea to solve that problem, but it´s an urgent issue in my project....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers Arne&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Sep 2006 13:34:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-page-protection-problem/m-p/1589367#M265413</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-26T13:34:10Z</dc:date>
    </item>
    <item>
      <title>Re: Smartforms - page protection problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-page-protection-problem/m-p/1589368#M265414</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Arne,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it dat ur showing the sum page wise???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess the sum which u will display will be the total for the entire document.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Varun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Sep 2006 13:42:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-page-protection-problem/m-p/1589368#M265414</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-26T13:42:36Z</dc:date>
    </item>
    <item>
      <title>Re: Smartforms - page protection problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-page-protection-problem/m-p/1589369#M265415</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, I have to show a sum for each page, if there are more than one page. It is, that you can check the sum of all positions on one page.&lt;/P&gt;&lt;P&gt;And the problem is, that the this sum includes also the position on the next page, if there is only one left, which fits not on the first page...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Sep 2006 13:49:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-page-protection-problem/m-p/1589369#M265415</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-26T13:49:25Z</dc:date>
    </item>
    <item>
      <title>Re: Smartforms - page protection problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-page-protection-problem/m-p/1589370#M265416</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Arne,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Handling the sum page wise is tricky.One thing that u can try is to restrict the number or records displayed per page and then sum them up at the end every page.It should be possible by doing some coding in the loop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also this is happening becoz ur doing it in a loop. Iam not sure if we have any system variable for the forms which can tell us the current page number.If we have one we can control this..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me try to look for a logic for this.U can try if the above solutions r feasible for our scenario.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;Varun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Sep 2006 13:16:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-page-protection-problem/m-p/1589370#M265416</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-27T13:16:09Z</dc:date>
    </item>
  </channel>
</rss>

