<?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: issue in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue/m-p/948528#M64740</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is a bug in SMARTFORM.&lt;/P&gt;&lt;P&gt;Define a Global Variable FPAGE TYPE CHAR4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the window where you print the page info , make it a "FINAL WINDOW".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Add an ABAP code before your TEXT node &lt;/P&gt;&lt;P&gt;( FPAGE SHOULD BE IN OUTBOUND PARAMMETERS ON ABAP NODE)&lt;/P&gt;&lt;P&gt;WRITE SFSY-FORMPAGES TO FPAGE LEFT-JUSTIFIED .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the text you may use&lt;/P&gt;&lt;P&gt;&amp;amp;sfsy-page(4Z)&amp;amp; OF &amp;amp;FPAGE4Z)&amp;amp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You amy also CHECK OSS 588352.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 Sep 2005 18:00:28 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-09-21T18:00:28Z</dc:date>
    <item>
      <title>issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue/m-p/948524#M64736</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi folks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To display the page numbers in the form like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Page: 1 of 5 in this format, I used &amp;amp;sfsy-page(4Z)&amp;amp; OF &amp;amp;sfsy-formpages(4Z)&amp;amp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is displaying correct values for pages less than 10 like 'Page : 1 of 9' but when it reaches two digit numbers&lt;/P&gt;&lt;P&gt;it says Page: 1 of * Where is the error coming here?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is enough space in the text window  in the form too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why is it happening?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vinu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Sep 2005 17:46:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue/m-p/948524#M64736</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-21T17:46:52Z</dc:date>
    </item>
    <item>
      <title>Re: issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue/m-p/948525#M64737</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry I used &lt;/P&gt;&lt;P&gt;I used &amp;amp;sfsy-page(Z)&amp;amp; OF &amp;amp;sfsy-formpages(Z)&amp;amp; what is the difference out here?&lt;/P&gt;&lt;P&gt;should I be using '4Z' value there and only then it works?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vinu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Sep 2005 17:48:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue/m-p/948525#M64737</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-21T17:48:24Z</dc:date>
    </item>
    <item>
      <title>Re: issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue/m-p/948526#M64738</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think the "4" tells it to display 4 characters of the field.   Does it work when you use "(4Z)"?  Does it work when you take the "4" away?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Sep 2005 17:51:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue/m-p/948526#M64738</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2005-09-21T17:51:36Z</dc:date>
    </item>
    <item>
      <title>Re: issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue/m-p/948527#M64739</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't remember having seen before that someone had to specify the lenght of the field in order to have the page functionality work correct.  But maybe you have to.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich HEilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Sep 2005 17:53:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue/m-p/948527#M64739</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2005-09-21T17:53:00Z</dc:date>
    </item>
    <item>
      <title>Re: issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue/m-p/948528#M64740</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is a bug in SMARTFORM.&lt;/P&gt;&lt;P&gt;Define a Global Variable FPAGE TYPE CHAR4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the window where you print the page info , make it a "FINAL WINDOW".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Add an ABAP code before your TEXT node &lt;/P&gt;&lt;P&gt;( FPAGE SHOULD BE IN OUTBOUND PARAMMETERS ON ABAP NODE)&lt;/P&gt;&lt;P&gt;WRITE SFSY-FORMPAGES TO FPAGE LEFT-JUSTIFIED .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the text you may use&lt;/P&gt;&lt;P&gt;&amp;amp;sfsy-page(4Z)&amp;amp; OF &amp;amp;FPAGE4Z)&amp;amp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You amy also CHECK OSS 588352.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Sep 2005 18:00:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue/m-p/948528#M64740</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-21T18:00:28Z</dc:date>
    </item>
    <item>
      <title>Re: issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue/m-p/948529#M64741</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you mean to say that I do not need to use '4Z'? without using that I had an issue and then it was working but now it is not.  I want to understand the logic behind that as to why it occurs like that ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vinu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Sep 2005 18:01:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue/m-p/948529#M64741</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-21T18:01:23Z</dc:date>
    </item>
    <item>
      <title>Re: issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue/m-p/948530#M64742</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 smartforms are designed to give the total pages only if the total number of pages is a single character eg:7. But if it exceeds 1 character,eg. 13, it just displays *. For this you need to declare explicitly the number of characters for total number of pages.&lt;/P&gt;&lt;P&gt;eg: &amp;amp;SFSY-FORMPAGES(3ZC)&amp;amp; or &amp;amp;SAPSCRIPT-FORMPAGES(3ZC)&amp;amp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So in your program you need to declare the way given above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vamsi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Sep 2005 20:00:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue/m-p/948530#M64742</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-21T20:00:39Z</dc:date>
    </item>
    <item>
      <title>Re: issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue/m-p/948531#M64743</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what difference it makes if we declare it as&lt;/P&gt;&lt;P&gt;&amp;amp;SFSY-FORMPAGES(4Z)&amp;amp; or &amp;amp;Sfsy-FORMPAGES(4Z)&amp;amp;&lt;/P&gt;&lt;P&gt;Can anyone explain If this is not right, should we declare it as&lt;/P&gt;&lt;P&gt;&amp;amp;SFSY-FORMPAGES(3ZC)&amp;amp; or &amp;amp;Sfsy-FORMPAGES(3ZC)&amp;amp;&lt;/P&gt;&lt;P&gt;what '3ZC' means?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Vinu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Sep 2005 20:37:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue/m-p/948531#M64743</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-21T20:37:39Z</dc:date>
    </item>
    <item>
      <title>Re: issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue/m-p/948532#M64744</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;4Z --&amp;gt; 2 digit output&lt;/P&gt;&lt;P&gt;3ZC --&amp;gt; 3 digit output&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suresh Datti&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Sep 2005 20:45:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue/m-p/948532#M64744</guid>
      <dc:creator>suresh_datti</dc:creator>
      <dc:date>2005-09-21T20:45:01Z</dc:date>
    </item>
    <item>
      <title>Re: issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue/m-p/948533#M64745</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;when I give '3ZC' it is not displaying the number of pages&lt;/P&gt;&lt;P&gt;it shows&lt;/P&gt;&lt;P&gt; Page 1 of blank why is it taking that way?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Sep 2005 21:38:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue/m-p/948533#M64745</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-21T21:38:32Z</dc:date>
    </item>
    <item>
      <title>Re: issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue/m-p/948534#M64746</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what difference it makes if we declare it as&lt;/P&gt;&lt;P&gt;&amp;amp;SFSY-FORMPAGES(4Z)&amp;amp; or &amp;amp;Sfsy-FORMPAGES(4Z)&amp;amp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No Difference &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone explain If this is not right, should we declare it as&lt;/P&gt;&lt;P&gt;&amp;amp;SFSY-FORMPAGES(3ZC)&amp;amp; or &amp;amp;Sfsy-FORMPAGES(3ZC)&amp;amp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is right way to declare but will not work if you are on WAS610 or above . Read the OSS I mentioned in the thread earlier.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what '3ZC' means?&lt;/P&gt;&lt;P&gt;3 - No Of Places reserved for Printing the Variable&lt;/P&gt;&lt;P&gt;Z - Omit the leading zeros for numeric field&lt;/P&gt;&lt;P&gt;    ( SYSY-FORMPAGES in INT4 field . Check in SE11 &lt;/P&gt;&lt;P&gt;      fro SFSY )&lt;/P&gt;&lt;P&gt;C - Omit the leading spaces for character fields i.e. a &lt;/P&gt;&lt;P&gt;    left justified output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you dont get the total page number follow the procedure mentioned earlier and also read the OSS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Sep 2005 01:12:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue/m-p/948534#M64746</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-22T01:12:10Z</dc:date>
    </item>
    <item>
      <title>Re: issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue/m-p/948535#M64747</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Sanjay for your explanation. It really helped I have not tried that yet, I shall go ahead and use that piece of code, and will award the points to you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vinu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Sep 2005 14:23:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue/m-p/948535#M64747</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-22T14:23:09Z</dc:date>
    </item>
    <item>
      <title>Re: issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue/m-p/948536#M64748</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you please award points for answers which have helped you.  Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Sep 2005 15:45:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue/m-p/948536#M64748</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2005-09-22T15:45:27Z</dc:date>
    </item>
    <item>
      <title>Re: issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue/m-p/948537#M64749</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was able to use this thread in solving the same issue. Setting the window type to "FINAL" got it working properly. Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Feb 2013 01:42:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue/m-p/948537#M64749</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-02-20T01:42:28Z</dc:date>
    </item>
  </channel>
</rss>

