How to enable/disable button

Hi,
i m new to pcui, i got how to hide the button in toolbar group. but could you please guide be how to enable r disable the button which is in toolbar group.
thanks in advance

Hi venkat,
Follow the step, it's example of Lead CRMD_BUS2000108 & View is *ZMSR_RE5 *
1)     Go to CRMC_PCUITOOLS.
2)     Go to Analysis Tools -> Determine the Correct Model Access Class.
3)     Give Application - CRMD_BUS2000108 & View – ZMSR_RE5 & execute.
4)     Click on New -> MFT Sales (Transaction type)
5)     Note Toolbar Group - > LEA_SR_50.
6)     Go to CRMC_BLUEPRINT_C.
7)     Go to Toolbar Group -> Toolbar Group Structure.
8)     Give Toolbar Group - LEA_SR_50.
9)     Search for ZMSR_RE5 Toolbar elements.
10)     Click on Details.
11)     Check whether FLAG is Not Set in Exp. Display. Choose Flag set Event has Occurred to Hide the Button.
it will help u
On.........................

Similar Messages

  • How to enable/disable the input fields based on the data entered/user action in the web dynpro abap?

    How to enable/disable the input fields based on the data entered in the web dynpro application abap?  If the user enters data in one input field then only the next input field should be enabled else it should be in disabled state. Please guide.

    Hi,
    Try this code.
    First create a attribute with the name readonly of type wdy_boolean and bind it read_only property of input field of which is you want to enable or disable.
    Next go to Init method.
    Set the readonly value as 'X'.
    DATA lo_el_context TYPE REF TO if_wd_context_element.
         DATA ls_context TYPE wd_this->element_context.
         DATA lv_visible TYPE wd_this->element_context-visible.
    *   get element via lead selection
         lo_el_context = wd_context->get_element( ).
    *   @TODO handle not set lead selection
         IF lo_el_context IS INITIAL.
         ENDIF.
    *   @TODO fill attribute
    *   lv_visible = 1.
    *   set single attribute
         lo_el_context->set_attribute(
           name =  `READONLY`
           value = 'X').
    After that Go to the Action  ENTER.
    First read the input field ( first input field, which is value entered field) , next give a condition
    if input value is not initial  then set the readonly value is '  '.
    DATA lo_nd_input TYPE REF TO if_wd_context_node.
         DATA lo_el_input TYPE REF TO if_wd_context_element.
         DATA ls_input TYPE wd_this->element_input.
         DATA lv_vbeln TYPE wd_this->element_input-vbeln.
    *   navigate from <CONTEXT> to <INPUT> via lead selection
         lo_nd_input = wd_context->get_child_node( name = wd_this->wdctx_input ).
    *   @TODO handle non existant child
    *   IF lo_nd_input IS INITIAL.
    *   ENDIF.
    *   get element via lead selection
         lo_el_input = lo_nd_input->get_element( ).
    *   @TODO handle not set lead selection
         IF lo_el_input IS INITIAL.
         ENDIF.
    *   get single attribute
         lo_el_input->get_attribute(
           EXPORTING
             name =  `VBELN`
           IMPORTING
             value = lv_vbeln ).
    if lv_vbeln IS not INITIAL.
        DATA lo_el_context TYPE REF TO if_wd_context_element.
        DATA ls_context TYPE wd_this->element_context.
        DATA lv_visible TYPE wd_this->element_context-visible.
    *  get element via lead selection
        lo_el_context = wd_context->get_element( ).
    *  @TODO handle not set lead selection
        IF lo_el_context IS INITIAL.
        ENDIF.
    *  @TODO fill attribute
    *  lv_visible = 1.
    *  set single attribute
        lo_el_context->set_attribute(
          name =  `READONLY`
          value = ' ' ).

  • Enabling/disabling buttons problem

    Hello,
    I'm using jdev 10.1.3.3.0 and I want to enable/disable buttons based on the value in a tableSelectOne. I wrote a function isNextButtonEnabled() in my backing bean and I have set the disabled option of the nextButton (=CoreCommandButton) to #{!backing_bean.nextButtonEnabled}. Then I putted the autoSubmit option of the TableSelectOne to true and made a partialTrigger on the nextButton to the TableSelectOne. In the print statements everything is fine, but it is never displayed.
    Does anyone know what to do about this.

    Well,
    the nextButton is in a cellFormat which on itself is in a HtmlRowLayout. I putted partial triggers on the cellformat, the rowLayout and the panelPage to the TableSelectOne, but this doesn't do the trick neither. Strange.

  • How to Enable/Disable suppressUpload and suppressDownload

    my xml doesnt have this attribute
    how to enable /disable supressUpload and suppressDownload.
    <?xml version="1.0" encoding="utf-8" ?>
    - <MeRepApplication schemaVersion="1.1" id="ZAM_09" version="09">
      <Property name="CLIENT.BUILDNUMBER" />
      <Property name="C_APPLRESOLVE" />
      <Property name="DATA_VISIBLE_SHARED">X</Property>
      <Property name="E_APPLRESOLVE" />
      <Property name="FACADE_C_CLIENT">X</Property>
      <Property name="FACADE_E_CLIENT">X</Property>
      <Property name="HOMEPAGE.INVISIBLE" />
      <Property name="INITVALUE" />
      <Property name="RUNTIME">JSP</Property>
      <Property name="TYPE">APPLICATION</Property>
    - <SyncBO id="ZAM_09" version="2" type="twoWay" allowCreate="false" allowModify="true" allowDelete="false" reqDirectSync="true" downloadOrder="1">
    - <TopStructure name="TOP">
    - <Field name="SYNC_KEY" type="N" length="10" decimalLength="0" signed="false" isKey="true" isIndex="true">
      <Input type="create">false</Input>
      <Input type="modify">false</Input>
      </Field>
    - <Field name="BUKRS" type="C" length="4" decimalLength="0" signed="false" isKey="false" isIndex="false">
      <Input type="create">false</Input>
      </Field>
    - <Field name="ANLN1" type="C" length="12" decimalLength="0" signed="false" isKey="false" isIndex="false">
      <Input type="create">false</Input>
      </Field>
    - <Field name="ANLN2" type="C" length="4" decimalLength="0" signed="false" isKey="false" isIndex="false">
      <Input type="create">false</Input>
      </Field>
    - <ChildStructure name="010">
    - <Field name="SYNC_KEY" type="N" length="10" decimalLength="0" signed="false" isKey="true" isIndex="true">
      <Input type="create">false</Input>
      <Input type="modify">false</Input>
      </Field>
    - <Field name="BUKRS" type="C" length="4" decimalLength="0" signed="false" isKey="false" isIndex="false">
      <Input type="create">false</Input>
      </Field>
    - <Field name="ANLN1" type="C" length="12" decimalLength="0" signed="false" isKey="false" isIndex="false">
      <Input type="create">false</Input>
      </Field>
    - <Field name="ANLN2" type="C" length="4" decimalLength="0" signed="false" isKey="false" isIndex="false">
      <Input type="create">false</Input>
      </Field>
    - <Field name="KOSTL" type="C" length="10" decimalLength="0" signed="false" isKey="false" isIndex="false">
      <Input type="create">false</Input>
      </Field>
    - <Field name="WERKS" type="C" length="4" decimalLength="0" signed="false" isKey="false" isIndex="false">
      <Input type="create">false</Input>
      </Field>
    - <Field name="STORT" type="C" length="10" decimalLength="0" signed="false" isKey="false" isIndex="false">
      <Input type="create">false</Input>
      </Field>
    - <Field name="TXT50" type="C" length="50" decimalLength="0" signed="false" isKey="false" isIndex="false">
      <Input type="create">false</Input>
      </Field>
    - <Field name="TXA50" type="C" length="50" decimalLength="0" signed="false" isKey="false" isIndex="false">
      <Input type="create">false</Input>
      </Field>
      </ChildStructure>
      </TopStructure>
      </SyncBO>
      </MeRepApplication>

    Just adding on to Nameeta's post, there is a supress download checkbox in the advanced setting s link(Settings -> Advanced Settings) on the client, this will supress downloads for all syncbos and not just for any one syncbo. Also there are no tools in the middleware to add these settings, the only way to do this is to modify the xml manually.
    Best Regards,
    Karthik
    Message was edited by:
            Karthik V Setty

  • Trigger enable/disable button

    Does anyone know why sometimes when a trigger is created you get an "enable/disable" button and sometimes you don't?
    We are on Application Express 3.1.2.00.02

    Sue:
    Good question. I see similar behaviour with my 3.1.2.00.2 APEX installation.
    I do not know the answer. Could possible be a bug.
    Varad

  • How to enable /disable a command Button based on a table's selectOne choice

    Hi everyone.
    I am using JDeveloper 10.1.3.3 and wish to enable / disable a commandButton based on the user's selection of the selectOne radio button.
    The idea is that a row of a table may have an associated document so I want to enable or disable the button that downloads it based n the current row selected.
    I have followed the advice on problem with table I defined my selectOne component as follows :
    <af:tableSelectOne text="#{res['tables.selectionFacet.title']}"
        autoSubmit="true"
        attributeChangeListener="#{backing_browseCVs.onSelectionChange}">The function inside the backing bean looks like this
        public void onSelectionChange(AttributeChangeEvent attributeChangeEvent)
            // access the faces context
            FacesContext fc = FacesContext.getCurrentInstance();
            // get value of the expression #{row.hasCVDocument} that indicates
            // if a document has been added
            ValueBinding vb =
                fc.getApplication().createValueBinding("#{row.hasCVDocument}");
            Boolean hasDoc = (Boolean)vb.getValue(fc);
            // enable the doownload button accordingly
            downloadCVDocBtn.setDisabled(!hasDoc);
        }My problem is that the method never fires. I have placed a breakpoint at the first line but it is never reached.
    Any advice will be most welcome.
    Thanassis

    Hi,
    You might need to add 'dataProvider' part in the expression language in your selectionListener:
    #{bindings.CVList.currentRow.[b]dataProvider.hasCVDocument}
    #{bindings.CVList.currentRow} returns an instance of ViewRowImpl which does not have 'getHasCVDocument()' method, but does have:
    Object getCurrentRow()
    method, which returns objects from your CVList list, which do have getHasCVDocument() method...
    Expression language is resolved through reflection, so when you write:
    #{processScope.someClass.someReferencedClass.someAttribute} it is something like:
    Get someClass from processScope map, then:
    someClass.getSomeReferencedClass().getSomeAttribute()
    It's a bit more complex but you get the idea.
    Vladimir

  • How to enable a button only when a tilelist item is selected

    Simple question but it seems quite awkward to me. How do I enable a button only when an item within a tilelist is currently selected?
    For example lets say if I have a button called button1 that is disabled by default and a tilelist called tilelist1 what would I have to add into the brackets of the following code (enabled property of the button) to ensure that the button is only enabled when an item in the tilelist is currently selected but disabled when no items are selected:-
    enabled="{}"

    enabled="{tilelist1.selectedItem}"
    that should do it, it's making an implicit comparision with null (tilelist1.selectedItem == null) which will result in a boolean.
    SelectedItem is null when nothing is selected , not null when something is.

  • Enable/Disable Button Depending On User Role

    Hi all,
    I have some buttons in a portlet. I have consumed this portlet in a webcenter portal application. Now i want to disable/enable these buttons according to the user role. How can i achieve this??
    Thanks,
    Dhiraj

    Thinking aloud,
    - should the button be a resource from Webcenter, you could modify its visibility (property) via EL: #{WCSecurityContext.userInGroup['Administrators']} will display the button only if the user is in Administrators group
    - does your portlet have a parameter like that? If so, you should be able to fill it in with EL. If not, I doubt you will be able to achieve visibility changes - you might try to contact the producer of your portlet to do the necessary changes, though.

  • Enable/disable buttons

    Hi All
    I have created an application wherein datablock is supposed to display 5 records at a time. In addition to it i have displayed 5 buttons alonside these records. But all the buttons are addresed by single name.
    I want to change the enable/disable property of the button in such a way that only those buttons get disabled where records value match with those given by me in procedure.
    Since all the buttons are having same name i am not able to target button corresponding to specific record.
    I will make the problem more clear:
    This is how my GUI looks
    Record1.element1 Record1.element2 Button1
    Record2.element1 Record2.element2 Button1
    Record3.element1 Record3.element2 Button1
    Record4.element1 Record4.element2 Button1
    Record5.element1 Record5.element2 Button1
    I want to disable button1 only corresponding to the record3.
    Can anyone help me out in this regard?

    Thanks Roel for your reply. I had already designed the way you mentioned(by using 1 button) but this is not the way application should look.
    Also I have to work on this application using designer only, that is the reason i have posted it in Designer forum so that i could get any clue as to how i have to proceed using designer.

  • Enable/Disable buttons in Portal.

    How are buttons in EP 2004s enabled/disabled?  Not in the toolbar but in the iViews.  Such as Account Sales Area, we had a button "Additional Sales Areas" enabled, but now it has become grayed out.
    Is the enabling/disabling of buttons a PCUI issue that needs to be handled through DynPro or SPRO, or an authorizations issue that needs to be handled in the CRM backend system? 
    In this particular scenario the "Additional Sales Areas" button is also disabled in the GUI, but there are others such as a "print" button where it is only disabled in the PCUI.
    Any help with this or documentation on how to enable buttons would be much appreciated.
    Thanks!

    Buttons are coming from the PCUI applications, check out the following weblog
    People-Centric User Interface (PCUI) - Getting Started...
    'The Book' contains all the details. For enabling/disabling the buttons either you can change in the blueprint tables or use the blueprint application builder.
    Check out the CRM forum you will get all the details

  • How to Enable/Disable MessageTextInput Read Only property in PFR?

    Dear All,
    When i click on a submit button i need to enable/disable the Read only property of MessageTextInput item.
    Can any one tell me how to do this?
    I am executing the code
    if (pageContext.getParameter("EnableBT") != null) {
    OAMessageTextInputBean beanEmployeeIdCL = (OAMessageTextInputBean)webBean.findIndexedChildRecursive("EmployeeIdCL");
    beanEmployeeIdCL.setReadOnly(false);
    When i used the above code in Process Form Request method it is showing developer mode exception in run time as we can call the above code only in Process Request form.
    Request to please help regarding this.
    Thanks & Regards,
    CAK

    CAK,
    You need to make use of Partial Page Rendering (PPR) & SPELL. Modifying the bean property in PFR is not supported in OAF.
    Refer - PPR section of Devguide for more.
    Regards
    Gyan

  • Does anyone know how to enable/disable a dropdown menu in Forms at runtime?

    Is there a way how to disable/enable dropdown menu for menus that have multiple sub levels in Oracle Forms? I am trying to use the set_menu_item_property function but this takes 'menu.item' format for the first argument. I am trying to enable/disable a menu item in the form of 'menu.item.subitem' and was not able to do it using this function. If anyone knows a different function or method, please reply. I have shown an example below.
    Setup -> Software -> Front Page
    From the above example, I can enable/disable Software using set_menu_item_property function. But, how do I enable/disable the Front Page menu in Oracle forms at runtime?
    Thanks
    Edited by: user480347 on Aug 24, 2010 3:37 PM

    Yes you are on the right track. You need to pass then complete menu name to set_menu_item_property
    Immediate_parent menu.item_name e.g
    For example you have menu like this
    Id like
    A1    A10 > A1010
    Home > Input > Form 1
    A1    A10 > A1020
    Home > Input > Form 2 To disable Form 2 you must pass menu name as
    A10.A1020Hope it helps

  • How to enable /disable MWI ?

    Hi,
    I want to write a small application to enable/disable IP Phone lamp. But confused by how to enable MWI(Message Waiting indicator). TAPI ? AXL ? or some others , which can implement it . Could you give me some direction, thank you !

    I never checked what happens on a database level. However, for any actions that have a direct influence on a device, writing directly into the database is the wrong approach.
    As an example: if you set a forward (callforward all) via database (and not AXL), calls may well be forwarded, but the phone's status won't be adapted (so you don't have the callforward indicator and no information about the callforward). If you set the callforward via JTAPI or AXL, the phone's status will also be updated to show that it has been forwarded.
    When you configure a phone, you'll see the same thing in many cases.. especially in older CCM releases, you were often told that you need to reset the phone to apply a change you've made. In newer versions, this is often (but not always done automatically.. you'll see the phone restart after pressing update).. it's the same thing here.. you write into the database, but then you also have to apply those changes to the phone (one good example is changing a line label.. you won't get the label to change on the phone by just writing to the database.. you have to restart the phone for it to load the new label name).
    Even if you need to get the mwi status, JTAPI will do that for you (CiscoAddress.getMessageWaiting - and to set it, it's CiscoAddress.setMessageWaiting). Since you need a CTI command to set the MWI, you can as well resort to CTI to get the MWI status as well and don't bother with the database.
    fkcallingsearchspace_mwi is definitely not it though - I can tell you that without looking at the diagram since fk_anything is a foreign key and you have an uuid value in that field. The mwi status would be a boolean since it can have just two values. In fact, it's numplan.ismessagewaitingon but as I said.. with any element that has a direct influence on a phone's appearance or behavior, you cannot just change it... at best you need a phone reset. And if you do it with JTAPI (and probably TAPI too.. I can't be sure because I've never done TAPI and hope to never have to), you can change the MWI status on the fly without having to restart the phone, which is much more elegant.

  • How to enable / disable SSRS Parameter

    Hi
    I want to enable a parameter called "start date" (type is date) when another (value from dropdown) parameter is selected
    Say for an example, i have below 3 parameters
    1. drop down which 2 values called "vtextbox","vdate"
    2. start (data type is date)
    3. finish (data type is date)
    when i select "vdate"value from the dropdown 2nd and 3rd parameters has to be enable
    similarly when i select "vtextbox" value from the dropdown 2nd and 3rd parameter has to disable
    I have searched many forums every one says this is not possible in report manager interface
    But this is possible in custom code
    please make a note all three parameters are independant
    It would be great if any one provide the custom code for same
    Regards
    Santosh

    Hi itsmesantosh1982,
    According to your description, you want to use a parameter to control enable/disable other two parameters. Right?
    In Reporting Services, when we create a parameter, this parameter has been enabled. The only way you want to disable the parameter is deleting it. In this scenario, disable the two parameter is same as selecting all values in these two parameters. So
    we can just modify the default values in 2nd and 3rd parameter instead of using cascading parameter. We can create a dataset, put in the query below:
    IF @Param='vtextbox'
    select distinct startdate from [table]
    else
    select '[value]'
    The [value] can be any value which is not existing in [table]. So when you select 'vtextbox', the default value will be all values in the table. If you select 'vdate', it will need you to select value automatically because the return value is not existing
    in the table. This can be an effective workaround for your requirement.
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou

  • How to Enable a Button

    Hello,
    I have a little problem to Enable a Button.
    I have a Text-Item and a Button in my Form-Modul. I want to write a Code which checks if the Text-Item is Null. If it is then the Button must be enabled.
    But which Form-Trigger must I use to do this.

    This question is definitely more clear then Sven's;-)
    I would use the when-validate-item-trigger on your text field,
    and in addition the post-query-trigger if you want to set the
    property already when retrieving records from the database.
    IF :MY_BLOCK.EINGABE IS NULL THEN
      SET_ITEM_INSTANCE_PROPERTY('MY_BLOCK.MY_BUTTON', :SYSTEM.TRIGGER_RECORD, ENABLED, PROPERTY_FALSE);
    ELSE
      SET_ITEM_INSTANCE_PROPERTY('MY_BLOCK.MY_BUTTON', :SYSTEM.TRIGGER_RECORD, ENABLED, PROPERTY_TRUE);
    END IF;

Maybe you are looking for