Why the statement: "IF SFSY-PAGE EQ SFSY-FORMPAGES" do not work?

Hi gurus,
I want to check if the current page is the last page and use this statement in Code Node:
IF SFSY-PAGE EQ SFSY-FORMPAGES.
    V_G_SHOW = 'X'.
ELSE.
But when I try to debug this part of code, I find   SFSY-PAGE  and SFSY-FORMPAGES always have same value.
Why?
thanks

Smartforms evaluate &SFSY-FORMPAGES& during the execution of the form.
If you want to know the final number of pages, you have to execute the Windows at the end of the form. Look at OSS [Note 588352 - '*' when you output the total number of pages |https://service.sap.com/sap/support/notes/588352] so the window will be "late" executed and the data of &SFSY-FORMPAGES& and &SFSY-PAGE& may be different. (the note relates to "final" window)
Regards

Similar Messages

  • Why the buttons created by Acrobat XI in window do not work in android mobile or ipod touch?

    Why the buttons created by Acrobat XI in window do not work in android mobile or ipod touch?

    Hi,
    Could you please send us a test file which has those form buttons? Please email that file to us at DL-adobereader-android <[email protected]>
    Thanks,
    - Reader Mobile team

  • 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

  • Hi, can someone please tell me why the spell check in pages doesn't work. I went to preferences and enabled this auto spell checker and have set the language to british english. But still it doesn't work while it works perfectly in TextEdit.

    Hi, can someone please tell me why the spell check in pages doesn't work. I went to preferences and enabled this auto spell checker and have set the language to british english. But still it doesn't work while it works perfectly in TextEdit.

    Inspector > Text > More > Language
    Only applies to selected text, like making it a particular font.
    It is not a setting that sticks. If you continue to paste in text from elsewhere particularly the Internet it will have a different or None language set to it. You need to select it and make it B.E.
    Peter

  • I just updated to the new software and now my app Store is not working It is just a white blank page

    I just updated the new software and now my app store will not work I have shut it down and opened up again and nothing just a blank white page ?

    I'm having a similar problem.
    New iPad with iOS6 just downloaded.
    I cannot purchase any new items from the new Apple Store now!
    It keeps asking me to fill in CC details, asking for security number, but stays red when i fill in the 3 numerals and when I click done I get a Time Out message.
    This is not good Apple!!
    Looks as if I will have to use my iPad One to purchase from the Apple Store.

  • Why the audio of my video in my itunes is not playing when i fullscreen it? :( HElp me please..

    why the audio of my video in my itunes is not playing when i fullscreen it? HElp me please..

    Hi eversonjm,
    Thanks for using Apple Support Communities.  If you are out of authorizations but only have 1 computer, deauthorizing all computers and reauthorizing your correct computer might be a good idea.  See this article for instructions:
    iTunes Store: About authorization and deauthorization
    http://support.apple.com/kb/ht1420
    If after deauthorizing and reauthorizing your computer, you are still not authorized for the 96 songs, this article has some steps for seeing the account name that was used to purchase a song, in the event that a different account may have been used:
    Recovering a forgotten iTunes Store account name
    http://support.apple.com/kb/ht1920
    Cheers,
    - Ari

  • F.05 -   why the entries are being reversed even though I did not tick the

    Hi,
    Please advice why the entries are being reversed even though I did not tick the reversal button in F.05.
    Your assitance is very much appreciated.

    Hi,
    It is a standard SAP procedure by which the revaluation entries are automatically reversed. If you do not want to reverse the revaluation entries, you will have to Activate Delat Logic for the Valuation Area. SPRO Path is Financial Accounting (New)--> General Ledger Accounting (New) > Periodic Processing> Valuate --> Activate Delta Logic.
    Once you activate this Delta Logic, at the time of fc valuation, you will get the check box for Annual or Mid Term revalation will come. If you select the annual option, the automatic reversal will not happen.
    Regards,
    Amit

  • Hi APPLE! I have one question, Why does my iPod Touch 5-th generation WiFi is not working, When an iPod is in sleep position It appeared after the update iOS seven!! Please tell me how to fix it!!

    Hi APPLE! I have one question, Why does my iPod Touch 5-th generation WiFi is not working, When an iPod is in sleep position It appeared after the update iOS seven!! Please tell me how to fix it!!

    You are not addressing APple here. We are all just users like yourself.
    See if this long discussion for iOS 6 helps
    How do I make IOS 6 keep wifi on when...: Apple Support Communities

  • I am confused by the layout of the I tunes Store...recently the entire graphics on the i tunes store pages are a complete mess, not downloading, creating odd layover and jumbled data and making it virtually impossible to access or read. Help!?

    I am confused by the layout of the I tunes Store...Ive had no problems or troubel for YEARS with the I Tunes store, but recently the entire graphics on the i tunes store pages are a complete mess, not downloading, creating odd layover and jumbled data and making it virtually impossible to access or read. I am looking for information or guidance on how to re-boot or fix this - Help?!

        I can see that this issue has been quite extensive, and frustrating, and I am so sorry for all that has happened societygirl! I would like to help you work this issue out. Please follow & send me a Direct Message, so I can get your account specifics and help finally bring this to a resolution.
    Thank you,
    MichelleH_VZW
    Follow us on Twitter @VZWSupport

  • Why the sapscript called as client dependent? y smartform not?

    why the sapscript called as client dependent? y smartform not?

    Few more reasons why....? Please read below:
    SAPscript technology is based on a mainframe product from the 1980s,
    while Smart Forms have only been around since (roughly) 2001. With that sort of time gap,
    there are bound to be significant differences between the two tools. As you have noted correctly, client dependence is a fundamental one.
    Although SAPscript has had some incremental improvements over time,
    its forms have always been -- under the hood -- relatively passive objects, with minimal embedded logic.
    These forms were designed to be driven and controlled by ABAP programs,
    much in the way ABAP programs read in database tables to produce reports;
    if you ever download a SAPscript form (e.g., via utility program RSTXSCRP),
    and look at the portable text file it produces you'll see what I mean.
    Many text objects (e.g., invoice header texts) are bound directly to documents which are client-dependent, so it makes sense for these text objects to also be client-dependent. From a complexity standpoint, SAPscript forms are close enough to these text objects where I can see how it made sense at the time to make them client-dependent too.
    Conversely, a Smart Form is significantly more robust and complex. For instance, it can contain program nodes and nested tables with patterns. When a Smart Form is compiled, it generates an ABAP function module – and these are always client-independent. This is appropriate, given that this form has more in common with an ABAP program than its predecessor. For instance, when a print program calls a Smart Form, the form itself takes over to produce output, without any further direction from the print program. In fact, the join is so seamless that I often find myself using a Smart Form's Initialization section for logic to handle any data gathering not handled by the print program. I would never even think to attempt this with SAPscript.
    Several factors figured into SAP's decision to make Smart Forms client-independent, including customer feedback. There are significant advantages to client-independence. For instance, a change made in one development client happens immediately across all development clients. Among other things, this means we don't have to waste time figuring which client contains the most recent version -- they all do! In addition, transporting Smart Forms is easier, since we can safely bundle them together in the same transport as their client-independent print programs (no worry about mixing client-dependent and independent objects).
    Thanks,
    Santosh

  • I got my Imac and Trackpad in may so its new and the batterys have run out on the trackpad, so i have put new batterys in and its not even turning back on i have tried the batterys the other way round ( i used duracell) and still not working, HELP

    I got my Imac and Trackpad in may so its new and the batterys have run out on the trackpad, so i have put new batterys in and its not even turning back on i have tried the batterys the other way round ( i used duracell) and still not working, so i put the old batterys in and it still wont turn on. I am getting so angry woth apple things, the make it sound better than it is and over pice it, i paid over a grand for my imac and it dont even come with a cd SLOT. Please can some one help!

    Edge has very clear restrictions, one being that you must have 6 months of clean payment history which you don't. Either wait until April 14, or good luck at Sprint.
    I am unsure how it can be determined the payment mix up was the fault of CS, but regardless, the mix up was done. There can be any number of reasons why a payment could be missed without any fault on your part, however you are still the responsible party for the account and must live with the repercussions.

  • I want to eliminate an autofill choice that pops up when I sign into yahoo using the Firefox browser. I tried yahoo help which said hover over the unwanted line and press delete, but that did not work. I am using a Mac if that makes a difference.

    Question
    I want to eliminate an autofill choice that pops up when I sign into yahoo using the Firefox browser. I tried yahoo help which said hover over the unwanted line and press delete, but that did not work. Do you know how I can get rid of this autofill? I am using a Mac if that makes a difference. Thanks.

    Use Shift+Delete on Mac.
    *http://kb.mozillazine.org/Deleting_autocomplete_entries
    *Click the (empty) input field on the web page to open the drop down list
    *Highlight an entry in the drop down list
    *Press the Delete key (on Mac: Shift+Delete) to remove it.

  • HT3180 In the middle of the updating, iTV was unplugged. Now it does not work at all. Do you have experience, what to do now?

    In the middle of the updating, iTV was unplugged. Now it does not work at all. Do you have experience, what to do now?

    Ouch.  I am afriad the news is not good.  If there is no longer a working firmware instance on ATV there is nothing you can do.  That's why it has that message about not unplugging it during the update.
    Nothing happens when you plug it in?

  • My iPod 5 will not sync ANY music. All my music was on prior to syncing. The sync deleted all my music. I can now no longer add any music. I have the "sync music" checked. Restoring factory settings did not work. Any thoughts?

    All my music was on prior to syncing. The sync deleted all my music. I can now no longer add any music. I have the "sync music" checked. Restoring factory settings did not work. Any thoughts?

    When you synced with iTunes It would have tried to replace the music on the iPhone with what is on the computer. which is what happens when you sync with iTunes.
    If the songs are purchased you can re-downloaded them Pretty easily. You mentioned that you still see the songs and that you could not play them. Do they have a Cloud symbol next to them? If so this means that you can download them but that they are not on the device.

  • My DVR security sofware that I access remotely uses a "dvr .ocx" file....when I try it in Firefox , either the latest non beta (3.6.1.5) or the new beta version (4.0 rc) it will NOT work as it says the plugin is missing... it works in IE 8,but not IE9...

    My machine is Top of the range (my Company builds them so it had better be :) )
    Amd 1100t , 8gb ram , Windows 7 64 bit etc, etc...
    The is not a hardware problem , but a software problem with FF...Any help would be appreciated as I hate using IE 8 for anything at all :( but I have to keep it on my machines just to run my remote security cameras at my Computer shop ???
    Original question...as question length is limited ...not very bright that limit by the way :(
    "My DVR security sofware that I access remotely uses a "dvr .ocx" file....when I try it in Firefox , either the latest non beta (3.6.1.5) or the new beta version (4.0 rc) it will NOT work as it says the plugin is missing... it works in IE 8 (unfortunately) but not IE9...
    As I own a Computer company I am fairly computer literate but cannot find a plugin that allows this to work in Firefox.... but I would have expected it to work in the new Firefox :(
    All the best, Brett :)

    The longer this thread continues, the more ancillary comments you throw in that aren't directly pertinent to your problem with your DVR software not working with Firefox 4.0. Sorry, I don't intend to continue with this discussion.
    I do agree that ''something'' needs to be done better with regards to plugins for Firefox, but I do disagree with you as to whose responsibility that ''something'' is.

Maybe you are looking for

  • Delivering Error and Scheduling Error

    I just wanna schedule a report, when I'v configured schedule, and click 'submit', the following error displayed: 'java.sql.SQLException: ORA-02289: sequence does not exist ' Same error occurred when I wanna deliver it to a printer which is already co

  • How do I change my search engine away from Bing?

    I changed the preferences in Safari so that the search engine should be Google, yet when I do a search, it still seems to be using Bing.

  • Assignment of Logical Structures to Users

    Hi, I have a question regarding the assignment of logical structures to users of a database. The following is what Sam Alapati states in his book "Expert Oracle9i Database Administration:" "By organizing space into logical structures and assigning th

  • BDLS t-code Doubt after copying existing ECC to the new ECC

    Hi, We are creating a new ECC client by copying other already exist ECC Client with SAP_ALL Profile. Both are at  ECC 6.0.  Source and Destination ECC have Development and Demo Server respectively. Old ECC Client : ECDCLNT801   New ECC Client :  PHDC

  • Use reflection to access static constant

    I have a class with a static constant value. Can somebody show me to access the constant value using reflection. Thanks Regards, Stephen