Smartforms: SFSY-FORMPAGES = star very strange

Hi,
I have a very strange problem:
In a smartform i use as usually &SFSY-PAGE&/&SFSY-FORMPAGES& for numer of pages/total pages.
If the spool has less than ten pages all is right, if it has greater than ten pages (in the example 14) i get that:
1/*
2/*
3/*
4/*
5/*
6/*
7/*
8/*
9/*
10/14
11/14
12/14
13/14
14/14
I don't understand why.
I tried to increase the space for window but nothing changes.
Please, help me.
Matteo Vernile.

Use &SFSY-PAGE& of &SFSY-FORMPAGES(4ZC)&  instead of the &SFSY-PAGE&/&SFSY-FORMPAGES&.
This will not print astrik upto 9999 pages.
REgards,
Naimesh Patel

Similar Messages

  • Smartform output error &SFSY-FORMPAGES& &SFSY-JOBPAGES&

    Hi, everyone.
    I have a issue about smartform printing.
    My smartform contains system variables
    &SFSY-PAGE&, &SFSY-FORMPAGES&, &SFSY-JOBPAGES&
    example as below.
    I have a 64 pages form printing.
    but I got preview like this
    PAGE:  6/ 46/46
    6: &SFSY-PAGE&
    46:&SFSY-FORMPAGES&
    46:&SFSY-JOBPAGES&
    AS I print it out, as preview.
    Does anybody have the issue like this?
    Please help solve. Thank in advance.

    Hi,
        If you use &SFSY-PAGE& of &SFSY-FORMPAGES&
    the output will be like 1 of 64
                                    2 of 64........
    &SFSY-PAGE&:-     Inserts the number of the current print page into the text. You determine the format of the page number (for example, Arabic, numeric) in the page node
    &SFSY-FORMPAGES&:- Displays the total number of pages for the currently processed form. This allows you to include texts such as u2018Page x of yu2019 into your output.
    &SFSY-JOBPAGES&:-Contains the total page number of all forms in the currently processed print request.
    Since in your case job contains only one form so you are getting 46 for both form pages and job pages(job can have any number of forms).
    Thank U,
    Jay....

  • Can visit every website except one? Very strange a...

    This is a very strange problem, and one that has started today but is already driving me mad. I'm on BT Infinity Broadband, using a BT homehub, and have done for a while now... So far it's been fine until today.
    Every aspect of my internet connection is fine - I can get and send emails, use skype, and view websites through every browser...But all of a sudden I can't visit one particular website anymore? It just times out every single time and wont let me on. It's definitely not the website becuase all my colleagues can go on there, and if i turn off my wifi on my iphone I can get to it on 3G also, so the problem is definitely in the router or something to do with my settings here. I've tried on my Macbook on Chrome, Safari and Firefox, and also on my Powermac on the same three browsers. 
    It's vital that I get back online becuase as luck would have it, my job is updating the blog on this one site I can't access, so any help from anyone at all would be very much appreciated. Here's the site in question: www.4downdistribution.com/v3
    Cheers
    James

    it's unlikely that any settings have changed in the router  - have you tried deleting the cache/history/temp internet files and see if that help
    If you like a post, or want to say thanks for a helpful answer, please click on the Ratings star on the left-hand side of the post.
    If someone answers your question correctly please let other members know by clicking on ’Mark as Accepted Solution’.

  • A very strange phenomenon in my N81.

    Hi everybody,
    Iam confronting a very strange phenomenon
    in my N81.
    Messages in my Inbox, My folders and Drafts
    are regularly, every few days, disappearing.
    Is there any settings that causes such SMS
    deletion. Does anybody ran across such phenomena.
    Thanks in anticipation for your comments.
    Fattan

    m8,
    Indeed very strange, there is no option in any model for auto clearing for such items. Check the sticky post regarding reset codes, to put it to factory, hard reset or format it.
    Knowledge not shared is knowledge wasted!
    If you find it helpfull, it's not hard to click the STAR..

  • SFSY-FORMPAGES not displayed in XSF output

    I am trying to display a smartform as an html output using XSF output option.  However, I am unable to display the total no. of pages.  I am using SFSY-FORMPAGES to display Page x of y. 
    Does anybody have a suggestion to solve this issue?  We are in WebAS 620.
    Thanks

    This is the generated XML code
    - <window name="PAGE" page="NEXT" page-id="001">
    - <text name="PAGE" style="SF_XSF_DEMO1" lang="EN">
    - <p name="AS">
      Page
      <sym name="SFSY-PAGE">2</sym>
      <sym name="SFSY-FORMPAGES" />
      </p>
      </text>
      </window
    Seems like SFSY-FORMPAGES is blank.

  • Smartforms - sfsy-formages - Is it determioned at the end of traitement ?

    Hello,
    the SFSY-FORMPAGES is incremented when new page is created.... so
    how is it possible to know the total number of pages when I call the smartforms ?
    tks.

    Hi
    U can know the total of the pages at the end of the print, that means the system can't know how many pages will be printed.
    Max

  • Problem with &SFSY-FORMPAGES&

    Hi All,
        When i was using the &SFSY-FORMPAGES& in smartforms, it was showing '*' till it reaches 10th page, from 11th page onwards it was showing total number of pages in the smartform. Can any one tell me the reason.
    Thanks in advance
    Jaya

    try this jaya....
    &SFSY-PAGE& of &SFSY-FORMPAGES(2z)&    or
    &SFSY-PAGE& / &SFSY-FORMPAGES(2z)&
    If you find it useful mark the points
    ~~Guduri

  • Populate List from Database (Very Strange Behaviour)

    Dear Fellows,
    I have developed a from which has two lists One for Major (say) and Other for Minor (say), thesr minors are based on the value of Major.
    Now I have developed this system on Windows XP Professional, Developer/2000 6i and Oracle 8i (release 8.1.7).
    Major list is populated from database and it shows all major values now using 'when_list_change' trigger the minor list is populated from the database based on the value of major list. Interestingly enough it is working fine without any problem.
    Now I have deployed the software to Windows 2000 Professional/Server (tried on both), Developer/2000 6i and Oracle 8.0.5, but strangly the lists are not working now. First list (major) is still working but the other dependent lists are not working.
    Another strange thing is that it populate the second list for one particular value (only at times).
    The logic is that I have used a program unit to which i am passing 'list element' and 'query' and call it for each list in the when-list-change trigge.
    Now its a very strange behaviour, I don't know what to do?
    Your cooperation will be highly appreciated.
    regards.

    rolrollerx wrote:
    Hi,
    I have Nokia N8 (a great phone, btw) with Symbian Anna. I wanted to download the maps. But the PC Ovi Suite is just busy forever, without downloading anything (I used Performance Monitor to find out it was doing nothing for hours).
    As I have unlimited data plan from my phone, I decided to try updating directly from the phone instead. It successfully downloaded the list of maps, but when I selected one of them
    "No Wi-Fi network available. Please configure a WiFi access point in the phone Internet destination settings."
    Why should I do that? I have a working connection on that phone (as evidenced by the successful download of the list of maps). So now, I am stuck. How can I download the maps?
    Well, the suggestion is there. Use a router.
    ‡Thank you for hitting the Blue/Green Star button‡
    N8-00 RM 596 V:111.030.0609; E71-1(05) RM 346 V: 500.21.009

  • Error in Page SFSY-PAGE of SFSY-FORMPAGES

    Hi;
    When i enumerate the smartform pages with this in a textbox Page &SFSY-PAGE& of &SFSY-FORMPAGES&, and the number of pages is more than 10 it displays:
    Page 1 of  *, Page 2 of  *.....Page 1 of 10.. Page 1 of 11.....
    the first 9 pages the SFSY-FORMPAGES displays '*' but if the number of pages is less than 10 it doit well:
    Page 1 of 8... Page 2 of 8 ....
    What could be the problem...?
    Thanks on advance.
    David Fúnez
    Tegucigalpa, Honduras
    Corp. Mandofer

    Hi David,
    Look at OSS Note 588352. Use format like &SFSY-FORMPAGES(3Z)&.
    The length of the field will be longer and zero suppress.
    I hope you will get it
    Thanks
    Seshu

  • Issue happened for SFSY-FORMPAGES sometimes

    I took SFSY-FORMPAGES to display the total pages, most of time, it works very well, but some time, the total pages are displayed as '*'.
    After deleting some spool on own spool list, it works again.
    Please give some advice.

    Try to use like this it will solve your problem for ever
    &SFSY-formpages(3CZ)&
    Close the thread once your question is answered.
    Regards,
    SaiRam

  • Page Numbering SFSY-FORMPAGES = *

    Hi,
    I have a Smartform where i'm using SFSY-FORMPAGES to get the total no of pages.
    The thing is that sometimes it prints ok like "11 of N", but sometimes it prints "23 of" or "9 of *".
    Any ideas why sometimes the total no of pages is not displayed or is displayed like *??.
    thanks!.

    You can correct it by following one of these two options:
    1. Write Page numbering with formatting option (4ZC). It would not get you * untill 9999 pages.
    Page &SFSY-PAGE& of &SFSY-FORMPAGES(4ZC)&
    2. Change the window type of the window which has the Page number text element to "Final Window"
    Regards,
    Naimesh Patel

  • Error with SFSY-FORMPAGES and  SFSY-PAGE

    hi,
    i m having a problem in smartforms using SFSY-PAGE and SFSY-FORMPAGES . This two system feilds always returs with one value added. for an example if total # of pages 10 , SFSY-FORMPAGES  returns 11 ,for the first page SFSY-PAGE returns 2.
    Looking for a quick response...
    [email protected]
    Thanks ...
    Dilum-Sri lanka

    Hi Dilum,
    Use these two variables in a text in a smart form:
    &SFSY-FORMPAGES &
    &SFSY-PAGE&
    You will see that in the print preview itself ; the values which are getting displayed for the two variables are absolutely correct.
    So there is no problem as such while using these two variables.
    And no error is there even if you just have one page. In your case the value for the two variables is 1 each whihc is getting displayed in the print preview .
    Regards,
    Kunal.
    Message was edited by: Kunal Kumar

  • SFSY-FORMPAGES showing as * when it exceeds 9

    Hi All,
    I have a field in my smartform which shows the total no. of pages generated.
    I have put SFSY-FORMPAGES for this purpose. It displays correctly till the no. of pages are 9.
    When the total no. of pages become 10, its showing me *
    The space for this field is 7cm so I think the space should not be a problem.
    Please let me know how I can resolve this.

    Hello,
    You can use &SFSY-FORMPAGES(3ZC)& instead of &SFSY-FORMPAGES&,
    as described in the SAP note: 588352.
    Regards,
    David

  • SFSY-FORMPAGES and SFSY-JOBPAGES

    Hi
    I have given SFSY-FORMPAGES and SFSY-JOBPAGES in smartforms but in the output form * is getting printed instead of page numbers and total pages.
    thanks
    Satish

    Hi Satish,
    Please refer the below thread(s),
    Page Number in Smartform
    Best Regards.

  • Help with getting values from request. Very Strange!!

    Hello,
    My very strange problem is the following.
    I have created three dynamic list boxes. When the user select
    the first list box, the second becomes populated with stuff
    from a database. The third becomes populated when the second
    is selected. Now, I have used hidden values in order for
    me to get the selected value from the first listbox. The
    following code is my first listbox:
    <SELECT NAME="resources" onChange="document.hiddenform.hiddenObject.value = this.option [this.selectedIndex].value; document.hiddenform.submit();">
    <OPTION VALUE =""> Resource</OPTION>
    <OPTION VALUE ="soil"> Soil </OPTION>
    <OPTION VALUE ="water"> Water </OPTION>
    <OPTION VALUE ="air"> Air </OPTION>
    <OPTION VALUE ="plants"> Plants </OPTION>
    <OPTION VALUE ="animals"> Animals </OPTION>
    </SELECT>
    I use the getRequest method to get the value of hiddenObject.
    At this time I am able to get the value of hiddenObject to populate
    the second list box.
    But, when the user selects an item from the second list box
    and the second form is also submitted,
    I lose the value of hiddenObject. Why is this??
    The code to populate my second listbox is the following:
    <SELECT NAME ="res_categories" onChange="document.hiddenform2.hiddenObject2.value = this.options[this.selectedIndex].value; document.hiddenform2.submit(); ">
    <OPTION VALUE ="" SELECTED> Category</OPTION>
    Here I access a result set to populate the list box.
    Please help!!

    Form parameters are request-scoped, hence the request.getParameter("hiddenObject"); call after the submission of the second form returns a null value because the hiddenObject parameter does not exist within the second request.
    A solution would be to add a hiddenObject field to your second form and alter the onChange event for res_categories to read
    document.hiddenform2.hiddenObject.value=document.1stvisibleformname.resources.option[document.1stvisibleformname.resources.selectedIndex].value;
    document.hiddenform2.hiddenObject2.value = this.options[this.selectedIndex].value;
    document.hiddenform2.submit();You will then come across a similar problem with your third drop-down if indeed you need to resubmit the form...
    A far better approach would be to create a session scoped bean, and a servlet to handle these requests. Then when the servlet is called, it would set the value of the bean property, thus making it available for this request, and all subsequent requests within the current session. This approach would eliminate the need for the clunky javascript, making your application far more stable.

Maybe you are looking for

  • Drive Failure and Replacement

    Hi - My 5th Gen 80gb hard drive gave in after around 20 months of use. Out of warranty, so purchased a replacement from ebay. Popped it inside and the iPod came back to life. On trying to sync my music etc it seemed to take much longer than usual - 1

  • MSG 306 ERROR

    I am getting a MSG 306 ERROR. I think it is because one field is 30 Characters and other field is TEXT. Just guessing. Here is the code,  error message and DDL. Select SD.Sales_Order As [SO #] ,SD.SO_Line As [Ln]     ,Cast(Min(SD.Status)   As Varchar

  • Settlement of  Asset Under construction

    Hi Folks Can someone please explain an overview of settling Assets under construction. I am having some issues with AUC. The actual value of asset is being taken from AUC, not from final asset. Any kind of assistance will be highly appreciated.

  • Cs3 word count slow

    the word count in my indesign cs3 takes several minutes to calculate a 120 000 word document. i never had this issue with cs2. (apart from changing from cs2 to cs3, i've upgraded from tiger to leopard, and upped the ram on my imac g5 from 768mb to 2g

  • OCA 10G...(1Z0-047 or 1Z0-007 )

    Hi All, I am planning to give OCA 10G Certification. For that Any one of 1Z0-047 & 1Z0-007 exam must be given as 1st exam. I need to know which one is better and why or any one of the option will do. Thanks for the suggestions in advance! :) Cheers!!