How to say that variable == null if pressed cancel button.

Hi! I have code line in jspx page:
#{viewScope.myParamSusceptibToCrackingKi == null ? SusceptibToCrackingKi.myParamInitialValue : viewScope.myParamSusceptibToCrackingKi}How can I say that myParamSusceptibToCrackingKi == null (nothing) if I press cancel Button in form, or press refresh button in browser?
Best regards, Hope You help, Debuger!

Hi, Timo! To better Understand:
In jspx page I have some inputText fields:
<af:inputText id="CropTypeKiExplain"
                                  value="#{viewScope.myParamCropTypeKi == null ? CropTypeKi.myParamInitialValue : viewScope.myParamCropTypeKi}"
                                  changed="#{changedFlagsMap['CropTypeKiSkaidr']}"
                                  partialTriggers="CropTypeKi" readOnly="true"
                                  contentStyle="color:Gray;"
                                  rendered="#{skaidrojumaApskate.radit != '5'}"/>
       <af:inputText id="VirusDiseaStatKiExplain"
                                  value="#{viewScope.myParamVirusDiseaStatKi == null ? VirusDiseaStatKi.myParamInitialValue : viewScope.myParamVirusDiseaStatKi}"
                                  changed="#{changedFlagsMap['VirusDiseaStatKiSkaidr']}"
                                  partialTriggers="VirusDiseaStatKi"
                                  readOnly="true" contentStyle="color:Gray;"
                                  rendered="#{skaidrojumaApskate.radit != '5'}"/>variables: myParamCropTypeKi and myParamVirusDiseaStatKi have some value. But I want that if I press button in my form, they will be empty. Where to put code?
And what code I need to write to say that? Mabe I can write: #{viewScope.myParamCropTypeKi is null} and #{viewScope.myParamVirusDiseaStatKi is null} . But where?
Best regards, Debuger

Similar Messages

  • How to stay back on same section of a report after pressing cancel button

    Hi,
    How we can stay back on a same section of a report page when I press Cancel button or Apply Changes button from linked Data Entry Form. For instance if I have a 200 rows in a report and I scroll down to 80th row and press Edit button when called a data entry form. Now when I press Cancel it again re-load the report from the start of the page.
    Any idea!
    Thanks
    Sabahat

    Hi Sajid,
    Thanks for reply.
    I have used RETURN statement like below.
    SUBMIT RFWT0010 WITH vendor       = 'X'
                     WITH i_lifnr  IN i_lifnr
                     WITH i_bukrs  IN i_kunnr
                     WITH test         = 'X'
                      AND RETURN.
    The output of RFWT0010 is displayed. but on pressing "back" button on toolbar, the flow is coming back  from RFWT0010 to calling report. I want that On pressing ENTER button of keyboard. The flow should come back to calling report.
    Regards,
    Ratnesh

  • How to say that report can be created

    Dear experts,
                 I have one question. A company does not have Functional consultants. If an abaper is given an requirement by company how can abaper say that whether report can be created.

    Well that depends on how talented the Abaper is If thats you, you should be knowing if you can create it or not without functional help

  • I can't change the country of my itunes account - says that the imacht must be canceled first. how can i do that?

    can anybody help me in changing my country in itunes account? I was living in US, came back to Brazil and can't change the country... it says that i must cancel the imacht / icloud before... and i just can't do that!

    You can't change countries if you have a credit on your account - if you can't spend it then you can try contacting iTunes Support and ask them if they can remove the balance so that you can do so : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then Purchases, Billing & Redemption

  • How to open new window when i press submit button/submit button.

    Hi,
    When i press a button, I need to capture an item value in current from and I need to pass that value to another form. The child form should open in the new form.
    For that Iam using the java script, But when i use the java script my page is not able to re-size, scroll bars address bar and menu bars are missing. if any one did this kind of requirment please share with me how to solve this issue.
    Thanks

    Re: How to show Popup window in OAF on click of a button
    Thanks
    --Anil
    http://oracleanil.blogspot.com/

  • How to cancel changes in Panels that does not contains a "Cancel button"

    Hi,
    I'm new to Mac, and noted that some dialogs does not contains a "Cancel" Button. Is there some "keyboard combination" that can be used to revert any change made? My main concern is about "Preferences Panels" which can suffer a really mess with unfamiliar users walking there.
    Thanks in advance

    Hi,
    Thanks you both for the advices. I already have used the Command Shift 3 shortcut to 'backup' my settings, just as safety procedure . The Close button instead doesn't cancel the settings changes. It only closes the window. As an example, try to change the 'Currency' field in 'International' Panel, in 'System Preferences'. You will note that it changes, even closing the window. The lock button is my safeguard, and I turned it on in most panels that I saw, but unfortunately it doesn't exists for every panel. I guess must 'take a shot' of the settings, before testing any changes.
    It should be really usefull have a 'Edit / Revert Changes' menu item, for instance.
    By the way, does Time Machine backups System Preferences?
    Thanks for your help

  • Problem when press CANCEL button

    Hello Everyone,
    I have created the block which having the LOV and this is the mandatory field. There are two buttons placed on this block canvas "OK" and "Cancel".
    This new block is calling from main block, if user don't want to choose LOV item and he simply click on "Cancel" button then control should transfer to main block. But when user press the "Cancel" button automatically control transfers to "On-Commit" trigger.
    On cancel button i have written GO_BLOCK('BLOCK_NAME'); but it does not works.
    Please suggest the way how i can close the block.
    Regards,
    JAK

    JAK,
    It sounds like you have not terminated further processing in the form. Try adding 'RAISE Form_Trigger_Failure;' after your GO_BLOCK(); call. This should ensure no further processing is done after you navigate to the specified block.
    Hope this helps.
    Craig...

  • How to Suppress Find Variants screen when pressing variant button

    Hi Experts,
       I have a problem when i am pressing the variants button in the selection-screen of a report, Find Variants subscreen is coming with parameters Variant, Environment,  Created by, Changed by and Original Language.  My requirement is to suppress this Find Variants screen. How can it possible please suggest.
    Cheers,
    Bujji.......

    DATA: IT_EXTAB  TYPE SLIS_T_EXTAB.
    DATA: WA_EXTAB LIKE LINE OF IT_EXTAB.
    WA_EXTAB-FCODE = 'APEN'.
    APPEND WA_EXTAB TO IT_EXTAB.
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
        EXPORTING
          I_BUFFER_ACTIVE          = ' '
          I_CALLBACK_PROGRAM       = G_PROGRAM
          I_CALLBACK_PF_STATUS_SET = G_PF_STATUS
          I_CALLBACK_USER_COMMAND  = G_USER_COMMAND
          IS_LAYOUT                = GS_LAYOUT
          I_SAVE                   = 'X'
          I_GRID_TITLE             = G_TITULO
          IT_FIELDCAT              = I_FIELDCAT
          IT_EXCLUDING             = IT_EXTAB
          IT_SORT                  = GS_SORT[]
        TABLES
          T_OUTTAB                 = OPERATIONS_DATA
        EXCEPTIONS
          PROGRAM_ERROR            = 1
          OTHERS                   = 2.
    IT_EXCLUDING = IT_EXTAB is the key for exclude buttons -:)

  • HT4623 I am trying to update my iPad 2 but as is shown in the update info it says that there should be an update button under the about tab. I don't have this option. What do I do now?

    I am trying to update my iPad 2 but I don't have the upgrade tab in my general list?

    You do not have iOS 5 on your iPad so you have to update by using a computer via the latest version of iTunes. You can connect the iPad to your computer and launch iTunes. Select the iPad on the left side under the devices heading. Click on the Summary Tab on the right. Click on Check for Update.
    After you update to iOS 5, you will have Software Update in you settings and can update via WiFi OTA.
    IOS 5: How to update to iOS 5.
    http://support.apple.com/kb/HT4972

  • How to capture sy-ucomm BACK EXIT or CANCEL button in webdynpro from inbox

    I have a webdynpro which is triggerd by a inbox item (the inbox item is now reserved), on pressing BACK EXIT or CANCEL i want  to release the inbox item.
    In de webdynpro view methode WDDOEXIT i can do this butr i need to know if one of the three buttons ( BACK EXIT or CANCEL) is pressed by the user.
    sy-ucomm is empty.
    Is there a way to find out if a GUI button is preesed??
    Grtz and thanks
    RIchard

    hi, thanks for your response!
    I can't use your hint, because with the code:
    SELECTION-SCREEN BEGIN OF screen 100 as window.
    there will be a "GENERATED" screen. This means, there
    is a screen with all the input fields und the label 100 which I can't
    edit! Because if I edit this screen and activate my source again,
    my changes will be undone!
    So is my question, if there is another system-field than sy-ucom?

  • "Press power button for five seconds to re-start computer" sign????

    I was using my computer and all of a sudden a black sign poped saying that I had to press the "power button" for five seconds to re-start my computer. I tried to ignore the sign but I couldn't. So I had to press the button. My computer turned off so I waited for a bit to turn it back on like I usually do. When it re-started, I had a new sign saying that my computer was turned off improperly. Is this normal? And why could this have happened?

    Hi and welcome to the forum.
    What you saw was your MacBook having what is termed a Kernel Panic. Information on what a Kernel Panic is can be found here:
    *What's a "kernel panic"? (Mac OS X)*
    http://docs.info.apple.com/article.html?artnum=106227
    Should you be worried? If it happens often the you should have it looked at. Kernel Panics are often (not always) attributed to memory module faults but anything (hardware and/or software) can cause them.
    If you do not get a Kernel Panic again then I wouldn't worry about it and carry on working as normal.
    Kryten

  • How to enable the "Cancel button" so you can stop a report while loading ...

    I have seen that some reports have a Cancel button located just below "the loading ..".
    How can I enable that button in MS Reporting service 2005?

    The following mechanism responds to any of the following events: <Esc> key, Close icon ('x'), Cancel button
    JavaScript part:
    function popupClosedListener(event){
                  var source = event.getSource();
                  var popupId = source.getClientId();
                  var params = {};
                  params['popupId'] = popupId;
                  var type = "serverPopupClosed";
                  var immediate = true;
                  AdfCustomEvent.queue(source, type, params, immediate);
    }JSF part:
             <af:popup ....>
                  <af:clientListener method="popupClosedListener"
                                           type="popupClosed"/>
                  <af:serverListener type="serverPopupClosed"
                                          method="#{myBean.serverPopupClosedMetod}"/>
            </af:popup>Finally, Java part:
    public void serverPopupClosedMetod(ClientEvent event){
    }

  • Getting portal runtime error when cancel button is pressed

    Dear team,
              When i am trying to reset password, in that screen when i press cancel, i am getting portal runtime error . Actually when i press that button it should come to the intial login screen but now it is coming to the initial login screen but getting runtime error and also the images on that login screen are not being displayed. All the images are displayed as cross marks. When i press change password, its working fine and its logging into the portal .
    Please provide me some solution.
    Regards,
    Dinesh.

    Dear Prashant,
    Sorry for my delay... please find the Error Log below.
    Full Message Text
    03:30_12/04/11_0465_8587550
    [EXCEPTION]
    com.sapportals.portal.prt.runtime.PortalRuntimeException: iView not found: portalapps.default
    at com.sapportals.portal.prt.deployment.DeploymentManager.getPropertyContentProvider(DeploymentManager.java:1937)
    at com.sapportals.portal.prt.core.broker.PortalComponentContextItem.refresh(PortalComponentContextItem.java:222)
    at com.sapportals.portal.prt.core.broker.PortalComponentContextItem.getContext(PortalComponentContextItem.java:316)
    at com.sapportals.portal.prt.component.PortalComponentRequest.getComponentContext(PortalComponentRequest.java:387)
    at com.sapportals.portal.prt.connection.PortalRequest.getRootContext(PortalRequest.java:488)
    at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:607)
    at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:235)
    at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:541)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:430)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
    at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
    at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
    at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
    at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176) 

  • How to handel cancel button in Sap Script ?

    Hi friends,
    I want to print SAP Script, in print popup screen have u201C print previewu201D  u201CPrintu201D  u201CCancelu201D  button.
    Whenever  press  Cancel button getting popup message u201COutput was cancelled by the useru201D ,
    if press u201CExitu201D button it is going to SAP Easy Access.
    I want if press cancel button it should back on the program.
    Or should not display popup message u201COutput was cancelled by the useru201D.
    Plz. Guide me .
    Thanking you.
    Regards,
    Subash.

    Hi Shiba Prasad Dutta,
    Thank you for your correct answer.
    Warm regards,
    Subash.

  • HT4972 I have an iPod touch 3rd generation with IOS 4.2.1 and the newest version of iTunes.  However, when I press "check for updates" it says that IOS 4.2.1 is the current version.  How do I update?

    I have an iPod touch 3rd generation with IOS 4.2.1 and the newest version of iTunes.  However, when I press "check for updates" it says that IOS 4.2.1 is the current version.  How do I update?

    I suspect you have a 2G iPod. Those can only go to iOS 4.2.1.
    Identifying iPod models
    iPod touch (3rd generation)
    iPod touch (3rd generation) features a 3.5-inch (diagonal) widescreen multi-touch display and 32 GB or 64 GB flash drive. You can browse the web with Safari and watch YouTube videos with Wi-Fi. You can also search, preview, and buy songs from the iTunes Wi-Fi Music Store on iPod touch.
    The iPod touch (3rd generation) can be distinguished from iPod touch (2nd generation) by looking at the back of the device. In the text below the engraving, look for the model number. iPod touch (2nd generation) is model A1288, and iPod touch (3rd generation) is model A1318.

Maybe you are looking for

  • Problem in Service Registry

    Hi All, I am facing problem with Service Registry. ( CAF ---> Administrative tools --> External Service Configuration -->Service Registry) Few days back it was working fine, but now i am getting the following exception when i click on the Srevice Reg

  • Oracle 11g r1 install check fails on - Red Hat 5

    I'm getting the below check failures - Checking for glibc-devel-2.3.4-i386; Not found.     Failed <<<< Checking for glibc-devel-2.3.4-x86_64; Not found.     Failed <<<< Checking for gcc-c++-3.4.5; Not found.     Failed <<<< Everything else is ok, can

  • Currency appearing in unit of measure

    Hello All, We have a peculiar problem. The bw extraction delta is going into an error because the unit of measure field Ounit is being populated by the currency GBP. I checked table GLPCT there in the main screen it shows GBP however when i double cl

  • PSCS5 won't associate with .jpg files

    Last night and this morning I installed PSCS5 on both my laptop and desktop after removing PSCS4.  I tried to open a .jpg attachment to an email on my desktop and received a message that it couldn't find an application.  I have tried right-clicking o

  • Please help. Downloaded os x lion and went to genius bar about touchpad issues and now it wont reboot

    ive tried safe mode, and been through page 52 - 3 of the manual but struggling to get the mbp on. Please help!