Setting the visibility of check box based on values of dropdown field

Dear Experts,
I have to set the checkbox visible/hidden based on the values of dropdown field.
Request you to please provide code example.
Regards,
Upendra

Hi,
For capturing the selected value from the dropdown (ComboBox in SAPUI5) field use the change event of the combobox UI element. Within this you can get the selected value using the getLiveValue() method of the combobox.
Then depending on the value you can set the visible boolean property of your checkbox.
Refer to the link ComboBox for more details.
Regards,
Saurabh

Similar Messages

  • How to set uncheck in Bidder check box in T-Code "BBPMAININT"

    Hi All,
    Could any body help me by providing the information "How to set uncheck in Bidder check box in T-Code "BBPMAININT". I search all the BADI and EXIT but didn't get.
        My problem is that, I want to uncheck "BIDDER" check box for Vendor whose account group is "ZORD" in transaction "BBPMAININT". I checked all the BADI and Exit but didn't get.
    Regards
    Sanjay

    Hi
    Which SRM version are you using ? Please elabore your requirments in more details in the next reply.
    <b>Meanwhile, please try the following SAP OSS Notes -></b>
    Note 512218 - Ext. partner maintenance: checkbox problems
    Note 455440 - Ext. partners without contact person: Checkbox problem
    Note 585126 Correction of Section508 implementation
    528367 Multiple company: Evaluated receipt settlement
    527097 BBPMAININT: 'Undo All' not complete
    361829 EBP (BBP2.0C): Business partner <-> vendor mapping
    Note 357201 BBP 2.0B: Business partner <--> vendor mapping
    Note 355506 Ext. no. assignment when creating business partners
    Do let me know.
    Regards
    - Atul

  • Set  the visibility false on click PopUp

    Hi,
    I want to set the visibility false of my component on the click of popup
    but the problem is when i generate the Pop Up on Page then it lost the control of all the child's on that Page and when i set the visibility false of component then it is not set
    Please guide.
    Thanks,

    You could use PopupFetchListener - to set the visibility of the button to false.
    Here, is a sample based on your use-case.
    Sample.jspx:
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
    <jsp:directive.page contentType="text/html;charset=UTF-8"/>
    <f:view>
    <af:document id="d1">
    <af:form id="f1">
    <af:panelFormLayout id="pfl1">
    <f:facet name="footer"/>
    *<af:commandButton text="CommandButton" id="cb2"*
    *binding="#{SampleBean.button}"/>*
    *<af:commandButton text="Show Popup" id="cb1" partialSubmit="true">*
    *<af:showPopupBehavior triggerType="action" popupId="p1"/>*
    *</af:commandButton>*
    </af:panelFormLayout>
    *<af:popup id="p1" popupFetchListener="#{SampleBean.popupFetchListener}"*
    *contentDelivery="lazyUncached">*
    *<af:dialog id="d2" title="Sample Dialog">*
    *<af:outputText value="Popup Contents" id="ot1"/>*
    *</af:dialog>*
    *</af:popup>*
    </af:form>
    </af:document>
    </f:view>
    </jsp:root>
    *SampleBean.java:*
    import oracle.adf.view.rich.component.rich.nav.RichCommandButton;
    import oracle.adf.view.rich.context.AdfFacesContext;
    import oracle.adf.view.rich.event.PopupFetchEvent;
    public class SampleBean {
    private RichCommandButton button;
    public SampleBean() {
    public void setButton(RichCommandButton button) {
    this.button = button;
    public RichCommandButton getButton() {
    return button;
    *public void popupFetchListener(PopupFetchEvent popupFetchEvent) {*
    *this.getButton().setVisible(false);*
    *AdfFacesContext adfFacesContext = AdfFacesContext.getCurrentInstance();*
    *adfFacesContext.addPartialTarget(this.getButton());*
    Thanks,
    Navaneeth

  • How to Set the Visibility of a field in ESS Address view through portal

    Hi experts,
      I want to set the visibility of a field in ESS Address view through portal.How to edit a field through portal? Please help me with procedures to be followed..
    Thanks&Regards,
    Karthik.

    Hi,
    Login to portal with a user having content administration role.
    Navigate to your iview which must be under content provide by SAP(if its a standard iview).
    Open the iview and click on preview button.
    Then press ctr on keyboard and rightmouseclick on the field for which you want to change.
    A popup will open. Change the visibility in the popup and save the changes. This is a way of personalization and it'll be applicable for all the users.

  • Looking for a way to programmatically set the visible portion of the front panel when a subVI opens

    I am looking for a way to programmatically set the visible portion of the front panel when a subVI opens.  Haven't found any posts that relate, but I'm not sure how to ask the right question.  To be clear, I want to write a helper VI to go through a list of subVIs to make sure the background images are all in the same place when their respective subVIs open.  I hate manually playing with scroll bars before I save each of the VIs...  I'm figuring I need to find the top/left location of the background image (know how to do this already) and then set a VI FP property to  these values or some offset, but I can't find the relevant property. FP:run-timeposition:custom looked promissing, but only affects the location of the window, not the area of the front panel the window is displaying.
    Solved!
    Go to Solution.

    Cool.  Getting closer.  The way I implemented your suggestion affects the subVI only if it is open.  I can use this to do what I'm after, perhaps putting the code into each subVI.  Maybe open all subs, run the helper, and save.    Seems like I'm missing the elegant version...
    My proof of concept code:

  • Default check on the 'Posting block' check box in the Physical Inventory

    I am looking for a default check on the 'Posting block' check box in the Physical Inventory document for T-code MI01 or MI31. Can anyone help in this?

    Thanks for your reply. Can you send me the detail process how to do it through Transaction Variant.
    Regards,
    Tt

  • How to programmatically set the Visibility of an Iview INVISIBLE ?

    Hi ..... I need to programmatically set the visibility of an IView for a user Invisible - In order to achieve that , I am trying the below code....But getting errors-
    Code -
    Hashtable env = new Hashtable();
    env.put(Context.INITIAL_CONTEXT_FACTORY,"com.sapportals.portal.pcd.gl.PcdInitialContextFactory");
                 env.put("com.sap.portal.jndi.requested_aspect","com.sap.portal.pcd.gl.PersistencyAspect");
    env.put("java.naming.factory.object", "__IPcdContext__");
    InitialContext iCtx = null;
    String iViewID = "pcd:portal_content/ABC/1Portal/mywork/iviews/XYA_iViews/adf.ivw_ess_jspdynpage";
                 iCtx = new InitialContext(env);
                 IiView result =(IiView)iCtx.lookup(iViewID);     
                 IiViews iViewSrv = (IiViews)PortalRuntime.getRuntimeResources().getService(IiViews.KEY);
    INewObjectDescriptor IVtoCreate =(INewObjectDescriptor) iViewSrv.instantiateDescriptor(CreateMethod.NEW,"par:/applications/com.sap.km.cm/components/navigation",request.getUser());
    IVtoCreate.putAttribute("com.sap.portal.navigation.invisible", true);
    the above method putAttribute is not apllicablt for (String,Boolean)\
    Please suggest as to how can I programmatically set an Iview Visible/Invisible .

    I think the property is com.sap.portal.navigation.Invisible with a capital I for invisible...
    This blog has an example: Hiding portal role content with a simple iView

  • How to Save the multiple selection check box values into the database

    i have the multiple selection check box implemented in UI through drop down list,i can choose the desired values from the drop down through checkbox, but i m unable to store these values and commit the values into the database all at a time.

    You can access the values using listbinding and can then store them as a string by using a delimiter.

  • Setting the visibility of a button after a click on a TabbedPane

    I have a page with a Tabbed Pane.
    I would like to set the visibility of a command button when I click on a Tab.
    To do that I put a disclosureListener like this:
    <af:panelTabbed position="above" testId="Tab1" >
    <af:showDetailItem id="Tab1" text="Tab1" disclosureListener="#{prova.apri}">
    <af:outputText value="Table1"/>
    </af:showDetailItem>
    <af:showDetailItem id="Tab2" text="Tab2">
    <af:outputText value="Table2"/>
    </af:showDetailItem>
    </af:panelTabbed>
    In the backing bean I have the attribute bound to the commandButton and the listener method like this:
    public void apri(DisclosureEvent disclosureEvent)
    // Add event code here...
    RichShowDetailItem o =
    (RichShowDetailItem) disclosureEvent.getSource();
    this.commandButton1.setVisible(true);
    this.commandButton1.setRendered(true);
    It doesn't work !! I guess I'm missing something....
    Could someone help me??
    Thanks a lot.
    Alfredo

    Based on the code you provided it does not look like you are using a partialPageTrigger, which would be required in this case.
    --Ric                                                                                                                                                                                                                                                                               

  • Populate f4 values of a field based on value of other field

    Hi,
    I have created select options using WDR_SELECT_OPTIONS.For one of the fields ,f4 values should be based on value of another field in the screen.
    How will i achceive this requirement.
    I got a link about the same but that is not using WDR_SELECT_OPTIONS
    http://www.sdn.sap.com/irj/scn/logon?redirect=/irj/scn/wiki?path=/display/WDABAP/Using%20Search%20help%20attachments%20for%20WebDynpro%20ABAP
    I got another link
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/606288d6-04c6-2c10-b5ae-a240304c88ea?quicklink=index&overridelayout=true
    which I am going to try
    Thanks
    Bala Duvvuri
    Edited by: Bala Duvvuri on Jun 22, 2011 6:49 AM

    Hi,
    Using OVS you can achieve this.,  In OVS Event Handler read the value based on which you  want to display F4 for other field and populate the values based on the first field.
    this link is fine., go through this: http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/606288d6-04c6-2c10-b5ae-a240304c88ea?quicklink=index&overridelayout=true
    hope this helps u.,
    Thanks & Regards,
    Kiran

  • Get values in dropdown field based on f4 help in another field

    Hi Experts,
    How to Get values in dropdown field based on another field which is F4 Help. If I select one value in f4 help field(ex: 1) I need to get values in dropdown field (ex:a, b, c),If I select another value in f4 help (ex:2) I need to populate different values (ex: d). Can any one please provide sample code that can help more.
    Thanks,
    Ashok.
    Moderation: Kindly search and find the solution, before you post.

    Dear Ashok,
    You can take help from this program in SAP named BCALV_EDIT_08.
    Thanks.
    With regards.

  • How to check the "check box" based on an event on form

    Hi,
    I have couple of text items and a check-box on a form. Is there a way I can check the box automatically when the text item values are edited/enterd by user ?
    I'm using the JS shown below but it doesn't work.
    I have this JS in page header.
    +<script type="text/javascript">+
    +function checkTheBox() {+
    document.getElementById('MY_KBOXNAME').checked='checked';
    +}+
    +</script>+
    And I have this in my form element options.
    onChange=checkTheBox();
    What am I doing wrong?
    Thanks in advance,
    Asha

    Hi,
    For checkbox with name P1_CHECKBOX , first checkbox is refferred using P1_CHECKBOX_0 , second one using P1_CHECKBOX_1 and so on..
    Change document.getElementById('MY_KBOXNAME').checked='checked' . instead of MY_KBOXNAME , use MY_KBOXNAME_0, MY_KBOXNAME_1 ETC depending which checkbox you want to check.
    Regards,
    SK

  • How to automate the adding of check-box along with each numbered item in Framemaker file ?

    I tried using the wingdings font as check-box. But I don't want to use it manually every time. I want to have it as a style part of my procedure style (numbering style).   I need the check-box along with each numbered item. Whenever I apply my numbering style in FM, I should get something like:
    " <checkbox> 1. <text> "

    Use "N:\u2751\ <n+>.\ " for the autonumber format.
    "N" Use counter N
    "\u2751" One of many checkboxes available in Unicode
    "<n+>" increment the counter
    "." ordinary period
    "\ " non-breaking space
    This assumes that you are on FM8 or later, and your Unicode font has that glyph code point populated (Arial Unicode MS does if your font doesn't).
    Don't use WingDings (or Zaph Dingbats) anymore. Using codepage overlays has any number of issues, and these two sets of legacy codepage dingbats don't even match each other.

  • Set the Finder's Search Box default to current folder? How?

    How do I set the the Finder's default Search Box parameters to be the current folder that I'm in, instead of searching the whole flamin' computer? (I have to quickly click on the folder name) And also instead of the default being 'Contents', how can I set it to be 'File Name'? It would speed up so many of my searches. I could still click on 'This Mac' to get that, and 'Contents' likewise.
    Tks in advance
    Drew

    I complitely agree and very very frustrated with that problem too just wrote this to feedback system:
    The problem that many people find is that when you have a finder windows open and that you browse a file like "Appplication" then due to the large number of application you use the search bar by taping the application name.
    That's where the problem come from.
    Once you tape the application name it start searching in the all computer ! instated of in the file
    The second problem is that he is searching the content and it will be better to have as default by file name.
    If i wanted to do that kind of search i will use the spolight button next to the clock and people want that search bar in finder to be searching in the folder you are in not all computer.
    Last problem is that we don't have a custom option in spotlight preference or finder preference.
    I would recommend to have that default search in finder change to search in file ONLY and to add Spotlight option in the Finder Preference for people to be able of customizing it.
    When you use that search bar everyday many times a day it becomes very very frustrating.

  • When saving a fill-in form that contains check boxes, the filled in check boxes do not show up on the new PDF. How do I fix this?

    Basically, I have a form that comes over from a vendors that is Pre filled. I may have to manually answer some of the check boxes. Either way, when I go to save the form to put in our system, the checkboxes on the newly save PDF are now blank. How do I stop this from happening

    I use windows 7 and I current have Adobe Reader XI 11.0.09. The document is transmitted from a vendor to our AWD system, when I open it, it opens in Adobe for viewing and corrections

Maybe you are looking for