<?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: Text printing in smartforms in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/text-printing-in-smartforms/m-p/2064919#M427196</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;    program lines is a node that we can insert in a loop within a window...you can code any logic just like in a normal abap program..so, you could do something like this &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: page1 type i, page2 type i, totalpage type i.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;---&amp;gt;in your first page&lt;/P&gt;&lt;P&gt;totalpage = &amp;amp;sfsy-formpages&amp;amp;&lt;/P&gt;&lt;P&gt;page1 = &amp;amp;sfsy-page&amp;amp;&lt;/P&gt;&lt;P&gt;if page1 &amp;lt; ( totalpage - 2 )&lt;/P&gt;&lt;P&gt;write: T1, T2.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--&amp;gt;in your second page&lt;/P&gt;&lt;P&gt;totalpage = &amp;amp;sfsy-formpages&amp;amp;&lt;/P&gt;&lt;P&gt;page1 = &amp;amp;sfsy-page&amp;amp;&lt;/P&gt;&lt;P&gt;if page1 &amp;lt; ( totalpage - 2 )&lt;/P&gt;&lt;P&gt;write: T1, T2.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;if page1 = totalpage - 1.&lt;/P&gt;&lt;P&gt;write T2.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if helpful, reward&lt;/P&gt;&lt;P&gt;Sathish. R&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 Mar 2007 11:19:37 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-03-28T11:19:37Z</dc:date>
    <item>
      <title>Text printing in smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/text-printing-in-smartforms/m-p/2064913#M427190</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;My smartform has 3 pages namely FIRST, NEXT and TERMS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have 2 texts ( T1 and T2) to be printed on the smartforms. These texts are defined only in the first and the next pages.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The condition is that these 2 texts(T1 and T2) should be printed only till the 3rd last page and in the second last page only one text( T2) needs to be printed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example if there are 5 pages in a smartform then T1 and T2 both should be printed till page 3 and then T2 only should be printed on page 4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Plz help me out to achieve this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Mar 2007 10:13:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/text-printing-in-smartforms/m-p/2064913#M427190</guid>
      <dc:creator>sharadendu_agrawal</dc:creator>
      <dc:date>2007-03-28T10:13:21Z</dc:date>
    </item>
    <item>
      <title>Re: Text printing in smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/text-printing-in-smartforms/m-p/2064914#M427191</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;U need to put the condition for this.. in the CONDITIONS tab..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Mar 2007 10:20:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/text-printing-in-smartforms/m-p/2064914#M427191</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-28T10:20:32Z</dc:date>
    </item>
    <item>
      <title>Re: Text printing in smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/text-printing-in-smartforms/m-p/2064915#M427192</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am putting the conditions for this but the thing is that SFSY-PAGE and SFSY-JOBPAGES are getting generated dynamically so am not able to get the right thing.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Mar 2007 10:26:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/text-printing-in-smartforms/m-p/2064915#M427192</guid>
      <dc:creator>sharadendu_agrawal</dc:creator>
      <dc:date>2007-03-28T10:26:41Z</dc:date>
    </item>
    <item>
      <title>Re: Text printing in smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/text-printing-in-smartforms/m-p/2064916#M427193</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 think you could insert a program lines node in all the three pages and write a condition in all of them...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if helpful, reward&lt;/P&gt;&lt;P&gt;Sathish. R&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Mar 2007 10:37:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/text-printing-in-smartforms/m-p/2064916#M427193</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-28T10:37:12Z</dc:date>
    </item>
    <item>
      <title>Re: Text printing in smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/text-printing-in-smartforms/m-p/2064917#M427194</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi sathish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ne pointers to hw we can achieve to what u r saying.??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;sharadendu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Mar 2007 11:00:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/text-printing-in-smartforms/m-p/2064917#M427194</guid>
      <dc:creator>sharadendu_agrawal</dc:creator>
      <dc:date>2007-03-28T11:00:55Z</dc:date>
    </item>
    <item>
      <title>Re: Text printing in smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/text-printing-in-smartforms/m-p/2064918#M427195</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;right click on the Text element...&lt;/P&gt;&lt;P&gt;go to flow logic..&lt;/P&gt;&lt;P&gt;select Program line..&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;sai ramesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Mar 2007 11:08:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/text-printing-in-smartforms/m-p/2064918#M427195</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-28T11:08:08Z</dc:date>
    </item>
    <item>
      <title>Re: Text printing in smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/text-printing-in-smartforms/m-p/2064919#M427196</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;    program lines is a node that we can insert in a loop within a window...you can code any logic just like in a normal abap program..so, you could do something like this &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: page1 type i, page2 type i, totalpage type i.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;---&amp;gt;in your first page&lt;/P&gt;&lt;P&gt;totalpage = &amp;amp;sfsy-formpages&amp;amp;&lt;/P&gt;&lt;P&gt;page1 = &amp;amp;sfsy-page&amp;amp;&lt;/P&gt;&lt;P&gt;if page1 &amp;lt; ( totalpage - 2 )&lt;/P&gt;&lt;P&gt;write: T1, T2.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--&amp;gt;in your second page&lt;/P&gt;&lt;P&gt;totalpage = &amp;amp;sfsy-formpages&amp;amp;&lt;/P&gt;&lt;P&gt;page1 = &amp;amp;sfsy-page&amp;amp;&lt;/P&gt;&lt;P&gt;if page1 &amp;lt; ( totalpage - 2 )&lt;/P&gt;&lt;P&gt;write: T1, T2.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;if page1 = totalpage - 1.&lt;/P&gt;&lt;P&gt;write T2.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if helpful, reward&lt;/P&gt;&lt;P&gt;Sathish. R&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Mar 2007 11:19:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/text-printing-in-smartforms/m-p/2064919#M427196</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-28T11:19:37Z</dc:date>
    </item>
    <item>
      <title>Re: Text printing in smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/text-printing-in-smartforms/m-p/2064920#M427197</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sathish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to incorporate this logic but the pblem that i am facing is that at runtime the value sfsy-formpages and sfsy-page is the same hence i am not able to get the required output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it is page 1 then sfsy-formpages is 1 and sfsy-page is also 1.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Mar 2007 11:33:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/text-printing-in-smartforms/m-p/2064920#M427197</guid>
      <dc:creator>sharadendu_agrawal</dc:creator>
      <dc:date>2007-03-28T11:33:28Z</dc:date>
    </item>
  </channel>
</rss>

