SPEL to disable a button

Hi gurus
I need to make a button field enabled / disabled based on another field.
From the concurrent requests window users can choose the Option Reprint / Republish (Tools > Reprint / Republish ). This opens a page and we want to disable a button (apply) for a Particular Request.
So I am looking for an SPEL something like
${oa.RequestDetailsVO.ProgramShortName} != 'MYREQUEST'
and use the same as Rendered Property in Forms Personalization. Which expression should I use?

Hi Sharath,
The SPEL as you mentioned will not work, you need to extend VO and add one transient attribute which returm false when it returns required Pragram short name otherwise true.
Regards,
Reetesh Sharma

Similar Messages

  • How do I disable "Exceptions" button for "Block pop-up windows" in Content tab?. I am able to Disable other Exception buttons in this tab using about:config preference.

    Need a way to disable "Exception" button for "Block Pop-up windows" in Tools-> Options -> Content tab. I want to be able to do this for Locking Down Firefox preferences.
    == User Agent ==
    Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Win64; x64; Trident/4.0; .NET CLR 2.0.50727; SLCC2; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0)

    That button doesn't have a pref associated with it, so you can't disable that button with a pref on the about:config page or a lockPref call.
    That only leaves the choice to remove that button with code in userChrome.css
    <pre><nowiki>#popupPolicyButton {display:none!important;}</nowiki></pre>
    See http://kb.mozillazine.org/Editing_configuration#How_to_edit_configuration_files

  • Oracle Apps Sys Admin -- Disabling a button on a form

    Hi Guys,
    I want to disable a button on a form in oracle applications. Normally, i disable a button by goin to that MENU, SUBMENU(if there are any) and take the button's sub-function and add it in FUNCTION and MENU Exclusions in the reponsibility define form.
    But in some forms in Oracle Inventory, i have a NEW button and am not able to find a sub-function for that. NEW and OPEN , two buttons are there . How can i disable or make that button vanish from that form. I know that it can be done thru CUSTOM.pll but without custom.pll , is there a way using this sub-functions or watever.
    help appreciated.
    Thanks

    Yes I know about form personalization, however I still couldn't hide 2 buttons. Open vision database, under purchasing superuser > requisition summary, if you click the Find button it will open Requisition Header Summary window. In that window there are New and Open button. Now, I couldn't hide those 2 buttons cause I couldn't found the name in Item. What's the name of those 2 buttons? Thanks.

  • To Disable 'CREATE' button

    Hi i have a requirement like to disable one CREATE Button(Creating of Business Partner IS-FS-CM) which is in standard ALV report.I can eliminate that button from PF status of that screen but we are not supposed to change the existing code.But that screen is BDT implemented.
    Can you please help out me how to disable that button w/o changing the standard SAP code

    Hi Krishna,
    For example say your PF sataus name is 'STATUS-100' and function code for create is 'CREATE'.
    then in your part of code use the following syntax,
    SET PF-STATUS 'STATUS-100'  EXCLUDING 'CREATE'.
    I hope this will help you.
    Regards,
    Manoj Kumar P

  • Disable return button

    I have created an action link on main report that opens second report in a new window and second report has a return button on it by default and when i click on it its is taking me to main report in new tab, Is there any way we can disable return button on second report ?
    thanks

    Check this Re: Unable to hide Refresh link in "No Result" view in BISE1 10.1.3.2.1 version

  • How to disable Print button on WebDynpro ABAP ALV

    In WebDynpro ABAP, a standard menu appears around the ALV,  that has a PRINT button and an EXPORT button.
    Is there anyway to disable those buttons????
    Thanks
    John

    Hi John,
    Check the interface if_salv_wd_std_functions. It contains methods which are used to hide the standard ALV toolbar buttons.
    Also refer : Removing "print version" button in alv
    How to hide Print and Filter option from dynamic ALV

  • How Can i Disable this Button (Screenshots)

    Hi,
    I need to disable 2 buttons (Approve - Reject) for a specific responsibility (+see screenshot link below+)
    http://img825.imageshack.us/i/44310429.jpg/
    Path : Intercompany User --> Transactions: Inbound --> Search for transaction --> Update Transaction
    Through Personalize Page, i personalized the button and set it's Render to FALSE but they still appear (+see screenshot link below+)
    http://img801.imageshack.us/i/87584812.jpg/
    Am i missing something? Please Help,
    Your advice is highly appreciated,
    Best Regards,

    Dear Kali Thanks for your response,
    I tried to set the Render FALSE at the site Level , but the buttons are still appearing.
    you mean the "Disable Self-Service Personal" Profile option? it is set to NO
    the outputs as per your :
    exec jdr_utils.listcustomizations(p_document => '/oracle/apps/fun/transaction/entry/webui/UpdateInTrxPG');
    /oracle/apps/fun/transaction/entry/webui/customizations/org/81/UpdateInTrxPG
    /oracle/apps/fun/transaction/entry/webui/customizations/site/0/UpdateInTrxPG
    /oracle/apps/fun/transaction/entry/webui/customizations/responsibility/51450/UpdateInTrxPG
    /oracle/apps/fun/transaction/entry/webui/customizations/responsibility/51451/UpdateInTrxPG
    exec jdr_utils.printDocument('/oracle/apps/fun/transaction/entry/webui/customizations/org/81/UpdateInTrxPG');
    <?xml version='1.0' encoding='UTF-8'?>
    <customization xmlns="http://xmlns.oracle.com/jrad" version="9.0.6.0.0_35" xml:lang="en-US" customizes="/oracle/apps/fun/transaction/entry/webui/UpdateInTrxPG" developerMode="true">
    <modifications>
    <modify element="ApproveButton" userCustomizable="true"/>
    <modify element="RejectButton" userCustomizable="true"/>
    </modifications>
    </customization>
    exec jdr_utils.printDocument('/oracle/apps/fun/transaction/entry/webui/customizations/site/0/UpdateInTrxPG');
    <?xml version='1.0' encoding='UTF-8'?>
    <customization xmlns="http://xmlns.oracle.com/jrad" version="9.0.6.0.0_35" xml:lang="en-US" customizes="/oracle/apps/fun/transaction/entry/webui/UpdateInTrxPG" developerMode="true">
    <modifications>
    <modify element="ApproveButton" rendered="false" userCustomizable="true"/>
    <modify element="RejectButton" userCustomizable="true"/>
    </modifications>
    </customization>
    exec jdr_utils.printDocument('/oracle/apps/fun/transaction/entry/webui/customizations/responsibility/51450/UpdateInTrxPG');
    <?xml version='1.0' encoding='UTF-8'?>
    <customization xmlns="http://xmlns.oracle.com/jrad" version="9.0.6.0.0_35" xml:lang="en-US" customizes="/oracle/apps/fun/transaction/entry/webui/UpdateInTrxPG" developerMode="true">
    <modifications>
    <modify element="ApproveButton" userCustomizable="true"/>
    <modify element="RejectButton" rendered="false" userCustomizable="true"/>
    </modifications>
    </customization>
    exec jdr_utils.printDocument('/oracle/apps/fun/transaction/entry/webui/customizations/responsibility/51451/UpdateInTrxPG');
    <?xml version='1.0' encoding='UTF-8'?>
    <customization xmlns="http://xmlns.oracle.com/jrad" version="9.0.6.0.0_35" xml:lang="en-US" customizes="/oracle/apps/fun/transaction/entry/webui/UpdateInTrxPG">
    <modifications/>
    </customization>
    Best Regards,

  • Disable Delete Button

    Hi All,
    In the menu Shopping cart Status, I could able to see all the shopping cart.
    Now the requierment is , DELETE button should be disable if there is any corresponding PO for that SC.
    Please let me know how to do this. I tried with BADI BBP_UI_CONTROL_BADI. But this will hide alll the SC's irrespective of PO's.
    Please let me know any other way to do this?
    I am working on SRM 5
    Regards,
    Nikhil V.Kumar
    Edited by: Nikhil V Kumar on Aug 30, 2010 1:58 PM

    Hi
    It will be too complex(if at all possible) to implement a solution for enabling/disabling delete button depending on the follow on document of the cart.
    I will recommend you to put some code in Check BADI which could check the follow on documents for a Shopping cart on Action DELETE and throw an error if someone tries to delete such shopping carts.
    Regards
    Virender Singh

  • Disable Delete Button for infotype 2001 subtype 0025

    I want to Disable Delete Button for infotype 2001 subtype 0025 only in PA30/61.
    Is there any EXIT available

    Hi
    Try it .
    Somebody already given this type of answers.
    Pls first use Search then post.
    Well FYI,
    <b>There is a standard User Exit for PA30 / 40 for PBO and PAI events.
    ZXPADU01 for PBO and
    ZXPADU02 for PAI events.
    By writing proper code in here for the IT2001, you can write your rules.
    PBAS0001 ( PA: Pers.Admin./Recruitment: Default values and checks ),</b>
    Manoj Shakya.

  • Enable/disable lov button in a multi-row bloc

    Hi all,
    I have a form in which there is a multi-row block with some lov buttons related to some items,
    in query mode, user should not be able to modify item, item property update_allowed is set to false, that worked, but user is able to modify item when he clicks on the lov button...so i want to disable the button for query records and for record in (insert or new), button should be enable,
    i tried some tips but don't work, do you have any idea
    Thanks for your help.

    Hi,
    Can you suggest some methods to enable/disable LOVs in my search query? I have a customized VC which performs search and I need to enable/disable the LOVs depending on requirement.
    Abhishek

  • Delete/disable delete button in PA30

    Hi
    I transaction PA30 we want to remove/disable delete button.
    How it can be done??
    Pls help
    Regards

    Hi
    I have done it using transaction variant. If anybody has same requirement please contact us,  I will send a step-by-step document.
    Regards

  • Disable delete button in PO Modify transaction

    Hi
    I am new to SAP. I want certain user to prevent deleting PO line item in ME22N transaction (either by disabling delete button). Please let me know how go about it. thanks

    Hi,
       You may create a transaction variant in SHD0 for ME22N transaction and maintain the deletion  button as invisible as shown below:
       Activate the variant, and check again in ME22N.
       You can activate the variant to specific users who are not supposed to delete the item. Refer the doc: http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a070bfbb-d34a-2d10-b092-ecbe0b0d4a4c?QuickLink=index&…
    Regards,
    AKPT

  • Disable delete button in ALV grid

    Hi Experts,
    I have a functionality to disable some buttons in alv grid such as delete row,cut,print etc.
    I know how to exclude them by using it_toolbar_excluding , but I need to disable them.
    Can you please let me know how to handle this.
    I am displaying the ALV grid by calling the method set_table_for_first_display.
    Thanks in Advance
    Prasanth

    Hi,
    By using below code you can disable any button in ALV display
    data : tool_wa_exclude  type ui_func.
      tool_wa_exclude  = cl_gui_alv_grid=>mc_fc_loc_delete_row.
    append tool_wa_exclude  to tool_it_exclude .
      call method grid2->set_table_for_first_display
        exporting
          it_toolbar_excluding          = tool_it_exclude
        changing
          it_outtab                            = it_ekpo
          it_fieldcatalog                    = it_fcat
        exceptions
          invalid_parameter_combination = 1
          program_error                           = 2
          too_many_lines                         = 3
          others                                        = 4.
    U need to pass tool_it_exclude internal table to  method for displaying

  • Disable Delete Button in Administrator Tab of OIM 11g

    Hi All,
    When we open a user in Administration tab, there are buttons like Lock/Unloc Account , Enable/Disable ,Delete button.
    I want to disable the delete button for all Users. No user should be able to delete the user in OIM.
    Please suggest an appropriate way....if any one has already tried....
    Thanks!!
    Awaiting Respose,
    Regards,
    T

    once login OIM with normal user it want allow you to disable/delete operation.
    Else for better usage use authorization policy. create a group/role and provide certain privilege to that group using authorization policy.
    --nayan                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Disable delete button in Table Maintainance Generator

    Hello all,
      How to disable delete button in Table maintainance generator???

    Hi Maya,
    It is very interesting question. If you debug your table maintenance screen, the program of table maintenance screen will not have statically defined pf status. So you cannot exclude delete functionalities using the below statement.
    SET PF-STATUS <the GUI status> EXCLUDING 'DELE'.
    For viewing pf status SAP has programmed in dynamic manner using this FM VIEW_SET_PF_STATUS.
    Before calling above FM you need to exclude delete function. Follow the following step for achieving this
    Go to sm30. Put your table name and press on maintain push button. It will display table entries in maintenance screen.
    Go to system->status
    Click on program name.
    Go to your flow logic of you table maintenance screen number.
    It will have following code in flow logic
    PROCESS BEFORE OUTPUT.
    MODULE LISTE_INITIALISIEREN.
    LOOP AT EXTRACT WITH CONTROL
      TCTRL_ZMAINTAIN CURSOR NEXTLINE.
       MODULE LISTE_SHOW_LISTE.
    ENDLOOP.
    PROCESS AFTER INPUT.
    MODULE LISTE_EXIT_COMMAND AT EXIT-COMMAND.
    MODULE LISTE_BEFORE_LOOP.
    LOOP AT EXTRACT.
       MODULE LISTE_INIT_WORKAREA.
       CHAIN.
        FIELD ZMAINTAIN-MATNR .
        FIELD ZMAINTAIN-KUNNR .
        FIELD ZMAINTAIN-LIFNR .
        MODULE SET_UPDATE_FLAG ON CHAIN-REQUEST.
       ENDCHAIN.
       FIELD VIM_MARKED MODULE LISTE_MARK_CHECKBOX.
       CHAIN.
        FIELD ZMAINTAIN-MATNR .
        MODULE LISTE_UPDATE_LISTE.
       ENDCHAIN.
    ENDLOOP.
    MODULE LISTE_AFTER_LOOP.
    Add new module in PBO for excluding delete function. ex  module set_pf.
    PROCESS BEFORE OUTPUT.
    ****here I added my own code for excluding delete function
    ****begin of addion
    module set_pf.
    ****end of addition
    MODULE LISTE_INITIALISIEREN.
    LOOP AT EXTRACT WITH CONTROL
      TCTRL_ZMAINTAIN CURSOR NEXTLINE.
       MODULE LISTE_SHOW_LISTE.
    ENDLOOP.
    PROCESS AFTER INPUT.
    MODULE LISTE_EXIT_COMMAND AT EXIT-COMMAND.
    MODULE LISTE_BEFORE_LOOP.
    LOOP AT EXTRACT.
       MODULE LISTE_INIT_WORKAREA.
       CHAIN.
        FIELD ZMAINTAIN-MATNR .
        FIELD ZMAINTAIN-KUNNR .
        FIELD ZMAINTAIN-LIFNR .
        MODULE SET_UPDATE_FLAG ON CHAIN-REQUEST.
       ENDCHAIN.
       FIELD VIM_MARKED MODULE LISTE_MARK_CHECKBOX.
       CHAIN.
        FIELD ZMAINTAIN-MATNR .
        MODULE LISTE_UPDATE_LISTE.
       ENDCHAIN.
    ENDLOOP.
    MODULE LISTE_AFTER_LOOP.
    *****inclule one line of code for excluding delete fucion
    module set_pf output.
          MOVE 'DELE' TO excl_cua_funct-function. COLLECT excl_cua_funct.
    endmodule.
    Basically sap fetching status dynamically from program SAPLSVIM using FM VIEW_SET_PF_STATUS. Status name is EULG.
    Please donu2019t hardcode anything by using set pf status statment, you just add one line of code the PBO by creating new module.
    Let me know if you need any help .
    Cheers.
    Regards,
    Peranandam

Maybe you are looking for

  • Dump: Component not found

    Hello all, I have a strange error in my Web Dynpro application. It dumps with the message "Component ID_00010003000700080011 not found". I can reproduce this error, but I don't know why it happens, because it dumps only on test machine, not on develo

  • How to hide elements to printer inside muse? / Como esconder elementos a la impresora en muse

    English Hello guys, there is any option to hide elements on muse site for no printing, I'm working on a catalog with pront option but i dont want the navigation menu buttons on my print sheets, any idea? Spanish Hola a todos, hay alguna opcion que bl

  • If you've "upgraded" from EA6500 to EA6900 please share your results

    I have have had EA6500 Version 1 for 15 months.  It is getting a bit long in the tooth.  (Hardware reset button no longer works, software UI reboot function does not work), unit will stop working once a week or two and require a 30 minute power disco

  • Noisy Universal Dock?

    I just received a new universal dock w/ remote. The only problem I have is that when connected to a amplifier it makes noise if connected first and then the amp is turned on. If I turn the amp on and then connect the ipod there is no noise. The noise

  • Can't open control centre

    I have a Griffin survivor cover on my iPhone 4S and have just installed iOS 7. I can't open the control centre because of the case covering the edge of the screen. It seems strange because I can open the camera from the locked screen which is the sam