Retrieving the drop down value used in wdr_select_options for default

Hello Experts,
I populated drop down using the method add_parameter_field by using WDR_SELECT_OPTIONS component.
Now my requirement is I need to default the value in some other parameter field based on drop down selection value.But the problem is WDDOMODIFY method is not triggreing while selecting the value from this dropdown for defaulting the value and even there is no method or option in the interface if_wd_select_options for creating an action while selecting the drop down like on slect in our manually creation drop down.
Please let me know if there is any solution for this.
Thanks and Regards,
Venkat

Hi venkatesh,
                The eventhandlet ONENTER of WDR_SELECT_OPTIONS wont work for the drop down and also
                there is no ONSELECT event of drop down in select options.
                So i think there must be some kind of button action.
                As you told you need to default the value of selection screen field based on drop down selection
                why dont you remove that field from selection screen as you can however use the value later
                while executing depending on drop down value.

Similar Messages

  • Unable to set the drop down values in the formbean

    Hi Dudes
    We are using weblogic8.1 portal for our application
    We are initializing the vairable as follows
    <netui:select dataSource="{container.item.INCLUDE_IN_LISTING}" optionsDataSource="{pageFlow.m_yesNoDefaultOptions}" styleClass="field_value"></netui:select>
    Here in this case after selecting the drop down, the value is not reflecting in the formbean
    Please hep me in this regard,
    Thanks in advance

    This is normal behavior most of nokias phone will go black after a period of time to save battery...
    If  i have helped at all a click on the white star below would be nice thanks.
    Now using the Lumia 1520

  • Over ride the drop-down value?

    Hello,
    I am developing an VISITOR Adobe Interactive Form, i have Designer 8.1 and Reader 9.0 in my Windows 7 Laptop. When i checked the menu EDIT-->form properties --> Compatability, its Adobe XML form File (XDP)
    When i opened this VISITOR interactive form in a browser, right clicking and checked form PROPERTIES, then i saw the "PDF Version: 1.6 (Acrobat 7.x)"
    I have a bunch of drop-downs in my interactive form, done by dragging & dropiing the 'Drop-down list' object, at the end i binded it with some data source, working fine, say its COUNTRY list.
    As soon as use opened the form, he saw the 'USA' prepopulated in the drop-down field, fine.
    User dropped down the entries, he saw a couple, like USA, Canada, UK, Spain, fine.
    But, now user want to enter / override this USA entry with his own value, like FRANCE, but, my form is not allowing, its behaving like a 'readOnly' field!
    Pls. let me know how to over ride a entry of drop-down values, as per user wanting value?

    Hello Srinivas,
    You can overide the entry of drop-down list by:
    selecting the "Allow Custom Text Entry" box of the field tab of the object palette
    of that drop-down list.
    Thanks,
    Debadas.

  • Reading the drop down value in interactive adobe forms in WDJ

    Hi,
    I have a scenario like this:
    Drop down menu with values being populated from model . when i select the value from drop down and update the backend with that value, it is not done. It always takes the same value ( first one in the drop down list) and fails to take the selected value.
    could anybody throw some light as how to deal with the drop down in adobe forms in WebDynpro Java?
    Are there any specific settings for these?
    I have taken the drop down menu from WebDynpro Native library.
    Kind Regards,
    Charan.

    Hi Charan,
    Did u try to populate the data into the dropdown with the help of Simple types.
    I faced the same issue, that got resolved when i binded the dropdown with Simple types that were populated.
    Hope this helps.
    Thanks,
    Amita

  • How can I locate the drop down menu to select thumbnails for viewing my photos?

    I am using Microsoft Windows Vista. I select Files> Get photos and Videos> From Files and Folders.  I select my photos and In my views I have a choice of different size icons, list, details and tiles.  The icons are a flower image. When I select an image to view it only appears as an extra large icon on the middle right side of the moniter.  I would like to view the thumbnail of the photo bfore I bring to my organizer.  The drop down menu doesn't have a choice for thumbnail.  

    Perhaps I need to supply more details.  I am using PSE9.  I haven't any problem importing the images into the Organizer as I just select the Icons and select "Get Media" or "Open" and they transfer over to the Organizer.  I would like to see the image as a thumbnail not an icon when when making the selection.  If I right click them, the Icon, and select open they will open in "Windows Live Photo Gallery".
    The icons are now listed on the left  side of the monitor about the right middle it states "Select A File To Preview".  When I select a file (icon) a large file (icon) appears in that area and it should be a thumbnail of the image. Somehow I can't locate the drop down menu taht permits me to make that selection.  I think it has something to do with my files being able to open in Windows Live Photo Gallery when right clicking and select Open.  Is the drop down menu only available in Windows 7?

  • Photoshop Elements12 - crashing when using Adjustment Layers. When opening the drop down menu there are 'boxes' for Black

    Does anyone else have problems using the Channel Mixer?
    This problem only started after the opening screen started to 'advertise' the advantages of moving to Cloud

    Which operating system are you using?
    Can you post a screenshot of what your seeing with the menus?
    All adjustment layers cause pse 12 to crash or only certain ones?
    The channel mixer adjustment layer isn't included with pse 12, so did you download an action for the channel mixer adjustment layer?
    I never use the welcome screen since it seems to cause so many problems with the elements versions that have it, but rather make a shortcut to the editor and/or organizer and use those instead.

  • Want to hide the drop down based on text field value

    Hi,
    I want to hide some of the values in drop down based on one text field value.
    I have the field called name which has the value A, B, C, D and also one drop down list which has the values 1,2,3,4,5,6. I want to hide the some of the values in drop down based on A or B or C. Let say, If it is A, drop down value should be 1,3,5. If it is B, Drop down value should be 1,2,3,4. Like this for every record.
    Can you please help me out.
    Thanks
    Ram

    Hi Robert,
    I am trying it in two different way. Please suggest which is the right one and feasible.
    1) I have the drop down list which has all the status. I am trying to hide the drop down values based on one text field value for all records.
    2) I have collected all the drop down values into table in webdynpro method. Rightnow I have two tables.
      one has line items details and another one have drop down values. both tables having common fields.
      I have to show second table values for that particular key, move all of them to drop down.
    Which is the best and feasible option.
    Thanks
    Ram

  • Drop down values for table in a view not getting populated dynamically

    Hi Experts,
    The problem which i am facing is as follows
    In an existing web dynpro component , i already have a view and it consists of table which has 3 columns.All the three columns are non editable
    MATERIAL     MAT_DESC     MAT_DEL_FLAG
    ABC          
    EFG          
    HIJ
    Now i need to add 2 more columns after the MAT_DEL_FLAG.These two PLANt and STORAGE LOCATION columns must have drop down values
    The context refers to a standard Database ZTABLE to which these two fields are added.
    MATERIAL     MAT_DESC     MAT_DEL_FLAG     PLANT     STORAGE_LOCATION
    ABC                    
    EFG                    
    HIJ                    
    The Plant column must have the drop down values based on Material .
    If we select some value for Plant , then based on the value of plant the storage location drop down values must be populated.
    So as per this logic , the drop down values for plant for each row must be different.
    Please let me know how to achieve this.
    This is a normal table and not an ALV table.
    Also please let me know whether the drop down field must be drop down by key or drop down by index.
    This is very urgent.
    Thanks in advance
    Sindhu

    Refreshing things again for you -
    1. As I have already pointed, create 2 context attributes for VALUESETS for both plant and St.loc.
    2. Create dropdown by indexes for both of them, assign valusets to respective attributes using node information.
    3. Go to the plant dropdown and create the action for it ONSELECT event - when you chagne the dropdown of plant then populate the respective storage loc.
    4.Now, As you are selecting a row (leadselect) you have populated the plant and loc details....write the code for lead selection event of the table
    You will get the lead selection index right using node interface (IF_WD_CONTEXT_NODE)
    LOOP AT ITAB INTO WA_ITAB.
    if sy-tabix eq lv_lead_index.
    clear wa_valuset.
    wa_valueset-key = 'X'.   "plant
    wa_valueset-value = 'X'.
    append wa_valueset to it_valueset1.
    * popultae the storage location valuset based on the plant selected (bydefault it is 1 right in dropdown)
    clear wa_valuset.
    wa_valueset-key = 'XX'.   "storage loc
    wa_valueset-value = 'XY'.
    append wa_valueset to it_valueset2.
    else.
    * Fill the valusets for all other rows as different or as per your requirement.
    endif.
    wa_itab-valuset1 = lt_valueset1.
    wa_itab-valuset2 = lt_valueset2.
    modify itab from wa_itab transporting valuset1 valuset2.
    clear wa_itab.
    ENDLOOP.
    lo_node->bind_table ( it_tab).
    Now for that Row, if a plant value is changed, respective storgae loc has to be filled right...then in that ONSELECT of plnat drodpwon again you need to write a piece of code...using the same code with a little modifications.
    Hope this is clear.
    Check this article on the same - but here ALV is used...the concept is same  use it for your table -
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d0cbdde3-fe58-2c10-fcbc-8db18e693877?QuickLink=index&overridelayout=true
    the above code you hvae pasted  - i think it fills only for the 1st time....
    Regards,
    Lekha.
    Edited by: Lekha on Dec 20, 2011 12:00 PM

  • Advice needed on the Drop-down box description.

    There are lots of postings on how to get the drop-down box working and there's even a How-to guide called Dropdown boxes. However, I have a field (defined using the AET tool) which has an Search help assigned, so the drop-down list is automatically displayed for me. Having said that I'm still bemused as to how it works as there's no code in the P and V Getter methods.
    Anyway, that aside, the dropdown box is working fine, as mentioned, but I also have the description field to populate with the description of the value returned by the drop-down box. In my case it's a Department code and associated description.
    Initially, I inserted code in the SET_DEPT method to lookup the description (using a SELECT statement) and place the result in the DEPT_DESC field. However, this method is not being called, I don't think, or at least my break point is not being reached.
    So I'm looking for somewhere to place the code which will be called when the DEPT field changes value, and I can then lookup the description and populate the DEPT_DESC field.. Both the DEPT and DEPT_DESC fields are in the same context node by the way.
    It's a real pity that when you create new fields in the AET tool you can't relate one field to another or somehow use a search help and say that the source is another field and this field will hold the result, or something like that.
    Jason

    Hi,
    It was said that the SET_* method will be called when you press enter on the view to trigger a server round trip.
    For your case, I'd like to suggest you take standard coding for example.
    That is the categorization in service ticket view in IC_AGENT role.
    When select the first category, if the second category only has one value, it will be automatically set. which should be similar to your requirement.
    component view GSMCDDLB/DropDownList
    call stack is
    METHOD SET_FIELDS      CL_GSMCDDLB_DROPDOWNLIST_IMPL=CP
    METHOD EH_ONCATCHANGE  CL_GSMCDDLB_DROPDOWNLIST_IMPL=CP
    METHOD DO_HANDLE_EVENT CL_GSMCDDLB_DROPDOWNLIST_IMPL=CP
    when a value is selected in the first dropdown, an event is triggered, you may debug and find out your event, and make the codings in EH_* method.
    set value for other field is some what simple also, like that in
    METHOD SET_FIELDS      CL_GSMCDDLB_DROPDOWNLIST_IMPL=CP
    CALL METHOD lr_dropdownlist->if_bol_bo_property_access~set_property
    If the first field is not a dropdown, for example a field with F4 help, after select the value from the popup, there will be event SELECT_OBJECT triggered for the view I tested.
    You may put breakpoint in do_handle_event for the controller class and observe what event was triggered.
    Then make the relevant coding.
    Hope could do help!
    Hongyan

  • Facing the problem ValueChangeListener of the Drop Down List

    Hi,
    I am using the JDeveloper 10.1.3.5.0 and the JHeadStart 10.1.3.3.88. In my requirement, I am having three View Objects(V1,V2,V3). I need to create a page based on one VO(V1) displayed as table. In the screen, there are 6 columns. Three of them(C1,C2,C3) are having the static values( coming from the VO(V1) from which it has been built), and the others are, one column(C4) is displayed as the drop down list(for some of the rows, drop down list values are coming from the VO(V2), and for the others drop down list values are coming from the other VO(V3). The other column(C5) is a input text field, that is enabled or disabled based on the selected values from the drop down list column(C4). The column(C6) is a check box. Now, coming to the actual requirement, the rows are related to the papers. For each paper, there are 5 methods of studies. One of the method of study is SelfLearning (5th method of study), for this the drop down values are coming from the VO(V3), and for the other methods of studies(1 to 4), the drop down values are coming from the VO(V2). Now, for a user, based on the number of papers, the number of rows are displayed.(1 paper- 5 rows, 2 papers-10 rows like wise).   Initially, drop down list is displaying the null values. When I change the value in the drop down list, I need the ValueChangeListener has to be called and it has to call the method in the bean. From the bean, the column(C5) has to be enabled or disabled. This is working fine for the inital 5 rows and 7,8,9,10 rows and 12,13,14,15 rows. But, the ValueChangeListener is not working for the rows 6 and 11. I used the debug concept,and I confirmed that the valueChangeListener is not getting called for the rows 6,11,16 rows.
    C 1
    C 2
    C 3
    C 4
    C 5
    C 6
    P1
    ABC
    Study Method1
    Drop Down list1
    input text box
    check box
    P1
    ABC
    Study Method2
    Drop Down list2
    input text box
    check box
    P1
    ABC
    Study Method3
    Drop Down list3
    input text box
    check box
    P1
    ABC
    Study Method4
    Drop Down list4
    input text box
    check box
    P1
    ABC
    Study Method5
    Drop Down list5
    input text box
    check box
    P2
    DEF
    Study Method1
    Drop Down list1
    input text box
    check box
    P2
    DEF
    Study Method2
    Drop Down list2
    input text box
    check box
    P2
    DEF
    Study Method3
    Drop Down list3
    input text box
    check box
    P2
    DEF
    Study Method4
    Drop Down list4
    input text box
    check box
    P2
    DEF
    Study Method5
    Drop Down list5
    input text box
    check box

    The problem gets solved. Actually, the problem is at the VO Query. The small modification in the query at the attribute p_id( C1 ) has solved the issue.

  • Drop down Values in Adobe form

    Dear All,
         Greetings.
         I am using the Adobe interactive form for E Recruitement(copying the standard and changing it as per the requirement). When i am using the Drop down value for one of the field. Instead of the drop down its showing as a POP-UP with all the possible values.
    I am not able to predict what the problem is. I need to have a drop down, instead of the pop up.
    Please help me in solving the issue.
    Thanks
    Ram M

    Hi Ram,
    Please use a Enumerated Drop down list ffrom the library, seems currently you have Extended Value selctor in your form.
    This will hopefully resolve the issue.
    Regards,
    Arafat

  • Web ICons in Drop down values.

    Hi,
    I would like to add Web icons as drop down values. like have the three LED's in the
    dropdown along with textx say - Successs, failure etc (an eg:).
    or can i have the back ground color or the text color differ for each of the drop down values..
    Any suggestions/ innovative ideas are appreciated :).
    Thanks in Advance,
    Anto.

    Hi ,
    U can use  ToolbarButtonChoice Control instead of dropdown  , in that u can add the menuaction items , for every menuaction item u can five the image source and text ,
    first create a group than add toolbar in it than this control.
    Hope this will solve ur problem.
    Regards
    Yashpal
    Message was edited by:
            Yashpal Gupta

  • How to fill drop down value in BDC

    HI  Friends-
    AM using PA30 tcode in my BDC recording , its filling rest value but ,  for drop down values its not showing value .
    how i can pass the drop down values here ?
    Regards
    Meeta

    Hi Meeta,
    You need to use the function module 'VRM_SET_VALUES' to set values for drop down list.
    Refer to the link below for more info...
    Re: Populating values in dropdown based on values selected in second dropdown.
    Thanks
    Alis

  • How to disable certain text fields in second tab based on the drop down selection from first tab?

    My first tab contains a drop down menu which has two options
    1. Personal info
    2. Office info
    The second tab contains all the information regarding Office and Personal Information. But I need to selectively disable certain fields based on the drop down in first tab.
    For example,
    The second tab consissts of all fields like
    Name,
    Age
    Job title,
    Office Location, etc.
    And i dont want office related details to be displayed if I am selecting personal info in the first tab.
    It would be really great if someone could send me the code for achieving this.
    Thanks in advance.

    Hi Vishnu
                  Can you check the List component in foundation/components ? I think "Build list using" works he same as your requirement. Check the listener they have used in dialog/items/list/items/ listFrom/listeners
    "selectionchanged"  : function(box,value){box.findParentByType('tabpanel').manageTabs(value);}
    here the ExtJs will find the tabpanel with value you are selecting fromdropdown. The title of each panel should match with the dropdown values
    Some queries
    Disable values means you have to remove it from your CRX?
    "values should become mandatory". for tab2? or tab3? - if tab2 and if it is a customized widget then u have to write it in your js only i think.
    Thanks
    Veena

  • Where did sidebar genius go in new version of itunes? And where is the "other Versions" option previously on the drop down when purchasing?

    Ok, I have used itunes for many years and I cannot find the sidebar genius that used to suggest similar songs based on ones purchased that you could turn on when going through you library.  I amsl cannot find "other versions" from the drop down when purchasing tos earch for covers etc?
    Sooo, disappointing.  Does anyone know where they are?

    With iTunes 11 on PCs the drop-down menus are hidden by default - control-B should get the menus to show
    This screenshot is from a Mac, but it should be similar on a PC :

Maybe you are looking for