<?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 automatic page break in smartforms in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/automatic-page-break-in-smartforms/m-p/974445#M70487</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Gurus....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a report which is to be integrated with smart form. I want each PO should start from a new page. I have tried putting an alternative and command in main window but it doesnot solve my problem. Please help me out as i need the solution very urgently... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please mail me the solution here or to my mail id ajayjha_1@rediffmail.com.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 23 Jul 2005 14:03:56 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-07-23T14:03:56Z</dc:date>
    <item>
      <title>automatic page break in smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/automatic-page-break-in-smartforms/m-p/974445#M70487</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Gurus....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a report which is to be integrated with smart form. I want each PO should start from a new page. I have tried putting an alternative and command in main window but it doesnot solve my problem. Please help me out as i need the solution very urgently... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please mail me the solution here or to my mail id ajayjha_1@rediffmail.com.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Jul 2005 14:03:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/automatic-page-break-in-smartforms/m-p/974445#M70487</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-23T14:03:56Z</dc:date>
    </item>
    <item>
      <title>Re: automatic page break in smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/automatic-page-break-in-smartforms/m-p/974446#M70488</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ajay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you using Table or Loop to display your data?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Page break can be acheived using the 'Command node'. In this you have to select the 'Go to next page' check box and give the next page in the adjusant field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But this cannot be used inside the Table node. The solution for this could be like;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope you are displaying the line items. Then get the unique POs in one internal table. Then use the LOOP node to loop thru these POs. Inside the LOOP, use a TABLE node to loop thru its items. Once the TABLE node is processed (after the table node) call the command option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will help you. Should you require more clarifications please let me know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Vinod&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Jul 2005 15:42:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/automatic-page-break-in-smartforms/m-p/974446#M70488</guid>
      <dc:creator>Vinod_Chandran</dc:creator>
      <dc:date>2005-07-23T15:42:02Z</dc:date>
    </item>
    <item>
      <title>Re: automatic page break in smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/automatic-page-break-in-smartforms/m-p/974447#M70489</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi vinod,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thx for the reply.. i m using table control..i hav tried tht option... i hav crewated a mail loop in tht i put the item loop and at end i hav added the alternative it_ekpo-ebeln &amp;lt;&amp;gt; it_ekko-ebeln and in tht i put the checked the move to next page... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it works well but it displays 1 page extra at the end with no data... i wish to knw how shd i get the correct no of pages..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ajay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jul 2005 14:16:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/automatic-page-break-in-smartforms/m-p/974447#M70489</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-26T14:16:59Z</dc:date>
    </item>
    <item>
      <title>Re: automatic page break in smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/automatic-page-break-in-smartforms/m-p/974448#M70490</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ajay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;below links might help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/smartforms/sap-smart-forms.htm" target="test_blank"&gt;http://www.sap-img.com/smartforms/sap-smart-forms.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapgenie.com/abap/smartforms_detail.htm" target="test_blank"&gt;http://www.sapgenie.com/abap/smartforms_detail.htm&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-basis-abap.com/sapsf001.htm" target="test_blank"&gt;http://www.sap-basis-abap.com/sapsf001.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;venu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jul 2005 14:22:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/automatic-page-break-in-smartforms/m-p/974448#M70490</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-26T14:22:28Z</dc:date>
    </item>
    <item>
      <title>Re: automatic page break in smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/automatic-page-break-in-smartforms/m-p/974449#M70491</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ajay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This can be done using a variable. Pls follow these steps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Get the number of distinct POs in a variable, say w_pocnt. (type i).&lt;/P&gt;&lt;P&gt;2. Just before the page break add a program line node and in that write a code to subtract one from this variable. (w_pocnt = w_pocnt - 1).&lt;/P&gt;&lt;P&gt;3. In the condition of the page break give, w_pocnt &amp;gt; 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example if there are 3 PO's. First time when the page break happens the value of w_pocnt become 2 (because of step 2). Second time it will become 1 and third time 0. Becuase we have given a condition (step 3) there that w_pocnt must be greater than zero to execute this node, you will not get an extra page.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Vinod&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jul 2005 08:28:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/automatic-page-break-in-smartforms/m-p/974449#M70491</guid>
      <dc:creator>Vinod_Chandran</dc:creator>
      <dc:date>2005-07-27T08:28:31Z</dc:date>
    </item>
  </channel>
</rss>

