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

Similar Messages

  • When I'm on Facebook and play Fish World, sending gifts is no longer working, the drop down box won't open enough to see the "send" button. It works in other games, but not in Fish World, and I contacted Fish World who said it was a browser problem.

    starting yesterday I cannot get the drop down box to open to send gifts to my friends. Fish world told me a few weeks ago it was due to some updates with Facebook, but now that has been fixed and I can't get the game inFB to work. It works with other browsers - Chrome and IE9. Is there something I need to do on my end to fix this? Other facebook games work fine with drop down boxes, it's only fish world.

    problem solved

  • How to capture the value selected in the drop down box

    Hi all,
    I am populating values in  drop down box by using FM vrm_set_values in module pool.
    like below
    01  ABC
    02 ACB
    03 BCA
    04 CAB
    in module pool drop down box element name is RQGM-VALUE.
    Problem is what ever the value is select in the drop down box from above element RQGM-VALUE is not filling any value.
    i need to capture the value selected in the drop down box and pass it to another variable.

    Hi,
    Refer this standard code. Your issue will be resolve.
    REPORT demo_dynpro_dropdown_listbox.
    TYPE-POOLS vrm.
    DATA: name  TYPE vrm_id,
          list  TYPE vrm_values,
          value LIKE LINE OF list.
    DATA: wa_spfli TYPE spfli,
          ok_code TYPE sy-ucomm,
          save_ok TYPE sy-ucomm.
    TABLES demof4help.
    name = 'DEMOF4HELP-CONNID'.
    CALL SCREEN 100.
    MODULE cancel INPUT.
      LEAVE PROGRAM.
    ENDMODULE.
    MODULE init_listbox OUTPUT.
      CLEAR demof4help-connid.
      SELECT  connid cityfrom cityto deptime
        FROM  spfli
        INTO  CORRESPONDING FIELDS OF wa_spfli
       WHERE  carrid = demof4help-carrier2.
        value-key  = wa_spfli-connid.
        WRITE wa_spfli-deptime TO value-text USING EDIT MASK '__:__:__'.
        CONCATENATE value-text
                    wa_spfli-cityfrom
                    wa_spfli-cityto
                    INTO value-text SEPARATED BY space.
        APPEND value TO list.
      ENDSELECT.
      CALL FUNCTION 'VRM_SET_VALUES'
           EXPORTING
                id     = name
                values = list.
    ENDMODULE.
    MODULE user_command_100.
      save_ok = ok_code.
      CLEAR ok_code.
      IF save_ok = 'CARRIER' AND NOT demof4help-carrier2 IS INITIAL.
        LEAVE TO SCREEN 200.
      ELSE.
        SET SCREEN 100.
      ENDIF.
    ENDMODULE.
    MODULE user_command_200.
      save_ok = ok_code.
      CLEAR ok_code.
      IF save_ok = 'SELECTED'.
        MESSAGE i888(sabapdocu) WITH text-001 demof4help-carrier2
                                            demof4help-connid.
      ENDIF.
    ENDMODULE.

  • How to get my usernames to appear from the drop down box then password automatically put in?

    =( ugh...
    I used to have my settings where it remembered my user name from the drop down box - so I would just type the first letter of my user name and a drop down box would appear and I could just click on my user name for that particular site and my password would automatically fill in...
    I changed something the other night and can't remember what the heck I did... now it won't remember ANY user name OR password or like on face book it has my user name and password there automatically when I open up the log in face book page.
    So I would like to know if anyone knows what needs to be clicked and unclicked to make it so:
    I start typing my user name and the drop down box appears with user names and then my password automatically fills.. I DO NOT want all my user names and passwords already IN the forms when I first open the website... but for me to actually type in a letter and then it fills it... like it used to =(
    /cry
    why do I touch stuff?
    Anyway I hope someone can help me because I am going nuts trying to figure it out and think I'm goofing things up even more =/
    I have firefix 3.6.10

    Does this help?
    * http://kb.mozillazine.org/Password_only_filled_after_entering_user_name
    * Make sure that you not run Firefox in (permanent) [[Private Browsing]] mode
    * You enter Private Browsing mode if you select: Tools > Options > Privacy > History: Firefox will: "Never Remember History"
    * To see all History and Cookie settings, choose: Tools > Options > Privacy, choose the setting <b>Firefox will: Use custom settings for history</b>
    * Uncheck: [ ] "Automatically start Firefox in a private browsing session"

  • My account doesnt appear in the drop-down box

    Hello!
    i forgot a password to one of my accounts (navladaster) and now im trying to get a new one using my email. i receive token and a security code, but when i enter it, the account i need doesnt appear in the drop-down box. This account used to be connected to another email address, though i remember changing the email on that account successfully. is there any way to get a new password now or at least to check to what email address it is connected now if didnt pay for skype services?
    Thank you so much!
    navladaster

    using another account, open the Add a Contact window and enter the possible email address/es that you may have registered in that account in the email address field.  Once you entered the right email address, the results will show the username of the account in question.  
    IF YOU FOUND OUR POST USEFUL THEN PLEASE GIVE "KUDOS". IF IT HELPED TO FIX YOUR ISSUE PLEASE MARK IT AS A "SOLUTION" TO HELP OTHERS. THANKS!
    ALTERNATIVE SKYPE DOWNLOAD LINKS | HOW TO RECORD SKYPE VIDEO CALLS | HOW TO HANDLE SUSPICIOS CALLS AND MESSAGES
    SEE MORE TIPS, TRICKS, TUTORIALS AND UPDATES in
    | skypefordummies.blogspot.com | 

  • On a Mac v10.6.6 Firefox v3.6.13 Right click on Google Map does not bring up the drop down box, with the first item being directions from here, the right click does work on Google map when using Safari

    On a Mac v10.6.6 Firefox v3.6.13 Right click on Google Map does not bring up the drop down box, with the first item being "directions from here", the right click does work on Google map when using Safari

    Your above posted system details show outdated plugin(s) with known security and stability risks.
    *Shockwave Flash 9.0 r999
    Update the [[Managing the Flash plugin|Flash]] plugin to the latest version.
    *http://www.adobe.com/software/flash/about/
    In Firefox 3.6 and later versions you need the Next-Generation Java™ Plug-In present in Java 6 U10 and later (Linux: libnpjp2.so; Windows: npjp2.dll).
    http://java.com/en/download/faq/firefox_newplugin.xml
    See also http://java.sun.com/javase/6/webnotes/install/jre/manual-plugin-install-linux.html

  • How do I disable the drop down box which appears below the Search Box (which shows previous searches) when I start typing in my search topic

    Hi I would like to know how to disable the drop down box which appears below the search box on the start page when I start to type in my search topic. If for example the first letter I type in is an S then it shows a list of previous searches of sites beginning with the letter S.

    This is stored in the Firefox form history. For details of how to clear form history and prevent Firefox from storing any more form history see https://support.mozilla.com/kb/Form+autocomplete

  • Somehow I lost the drop down box to put the e-mail address in for the "Submit by Email" button. How do I get that back?

    Somehow I lost the drop down box to put the e-mail address in for the "Submit by Email" button. How do I get that back?

    Awesome. I REALLY appreciate this. Everything you said directed me to do all the right things. Thanks again. It really is nice not to have to type in my e-mail each time I log in to my frequently-visited sites.

  • Is it possible to customise the text within the drop down boxes. ie attributes in online shop

    Is it possible to customise the text colour and size within the drop down boxes. ie. in the drop down created for attributes in online shops
    In the drop down, the font is black and bigger than I'd like it. I want it grey. How can I customise the text inside these drop downs?

    Hi Liam,
    Please refer to this link: http://zahir.businesscatalyst.com/view-all/pom-pom-short#.UeZcwY1xTjY
    Should the class be applied to the actual tag within the 'Shop Product Large' customised layout?

  • I just bought a Dell Precision M3800 laptop - screen res 3840 x 2160  when I open photoshop the task bar and tools and layers etc are in 4pts size   I changed my % in my image in my control panel and if I go to open file the drop down boxes are in good pt

    I just bought a Dell Precision M3800 laptop - screen res 3840 x 2160  when I open photoshop the task bar and tools and layers etc are in 4pts size   I changed my % in my image in my control panel and if I go to open file the drop down boxes are in good pt sizes  how do I make the layers and tool bars bigger?  Please help@

    Windows will scale applications display or windows will not scale application display depending on how the application is coded.  Photoshop is coded in a way that its display is not scaled by windows.  Photoshop knows about your displays high pixel count not its resolution  so it uses its pixels  however it does not scale its UI to make it usable on your display.  Other application let Windows  scale their display output.   For example Microsoft default for is Surface Pro 3, 216 ppi display is to scale applications display up 150% so the surface pro 3 display which has 2160x1440 pixels a 216 ppi resolution look like at display with the user is using with 1440x960 pixels.  The Application works like the display is 1440x960 and Windows scale those pixels to the displays using the displays  2160x1440 pixels the effectively changing it resolution to 144ppi rather than the actual 216ppi.
    The reg update  and external manifest file  effectively tells photoshop its working on such a size display display some number of pixel wide and some number photoshop uses that as the display size  in turn Windows scale those pixels to use the displays 2160x1440 pixels efector lowing its 216ppi resolution.  Photoshop CC 2014 2X UI would be like using windows 200% option applications would be shown the are working on a display 1080x720 instead of the Surface Pro 3 2160x1440. Note that 1080x720 does not meet PS requirement of 1024x768.  Photoshop UI would not fit on the Surface Pro 3 display..
    Since you have a 4k display if you have CC 2014 you can use its 2x UI effectively Photoshop will be running on a 1920x1080 display and have half the resolution of you 4K display  3840x2160 pixels four native pixels are use as a single pixel.   1920x1080 pixels exceed PS requirement.

  • When I open the "Save Page As" window, the drop-down box for the file name shows files that were saved long ago. This is not cleared by any "clear history" function that I can find. How do I clear this?

    # Question
    When I open the "Save Page As" window, the drop-down box for the file name shows files that were saved long ago. This is not cleared by any "clear history" function that I can find. How do I clear this?

    Hello.
    I believe this is a Windows related issue, since it's the windows Save File manager we're talking about here (right?). You should contact Microsoft for help on that one, I believe. You'd expect to be able to delete the entries by simply tapping ''Delete'' on your keyboard when they are focused (that's how it goes for deleting specific form autocomplete entries in Firefox), but I haven't tried that.
    I'm sorry I can't be of more help.

  • My Airplay is delivering Audio but no Video (black screen).  The drop down box has a new selection "use airplay to; it does not let me select 'Mirror my IMac', it is stuck on 'extend desktop'  any suggestions appreciated.

    My Airplay is delivering Audio but no Video (black screen).  The drop down box has a new selection "use airplay to; it does not let me select 'Mirror my IMac', it is stuck on 'extend desktop'  any suggestions appreciated.

    here is fix! i tried only step 1 and then restarted my computer and now it works. Choose remove All Files 
    Hope it helps.
    https://discussions.apple.com/thread/5952624?tstart=0

  • When I want to go back a page the drop down box is filled with the current page, all earlier sites have disappered out of sight

    When I have been at a site for a while and decide to go back, when I use the drop down box it has filled with the current page location. The longer I am there the more times it repeats its self.

    Did you try Safe Mode?
    An extension may be responsible for adding up those entries of the same page.
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
    *Do NOT click the Reset button on the Safe Mode start window or otherwise make changes.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • What is forwarded when " as in-line text" is selected in the drop-down box for forwarding a message. i.e. are attachments forwarded?

    What is forwarded when " as in-line text" is selected in the drop-down box for forwarding a message. i.e. are attachments forwarded with the message or not?

    Some websites require a special client certficate for access. If you don't have that certficate, you'll have to contact the site operator to find out how to get one.
    Sometimes the problem is caused by a web server that is configured to request an optional client certificate. Safari treats the request as mandatory. In that case, other browsers such as Firefox and Chrome may be able to connect to the site, because they ignore the request.
    The first time you were prompted for a certificate, you may have clicked through a dialog that requested access to the Apple certificate in your keychain that is used to secure the iMessage service. In that case, you may be able to regain access to the site in Safari by doing as follows.
    Back up all data.
    Double-click anywhere in the line below on this page to select it:
    com.apple.idms.appleid.prd
    Copy the selected text to the Clipboard by pressing the key combination command-C.
    Launch the Keychain Access application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Keychain Access in the icon grid.
    Paste into the search field in the Keychain Access window by clicking in it and pressing the key combination command-V. An item may appear in the list of keychain items. The Name will begin with string you searched for, and the Kind will be "certificate."
    Delete the item by selecting it and pressing the delete key. It will be recreated automatically the next time you launch the Messages or FaceTime application.
    The next time you visit a site that prompts for an optional client certificate, cancel out of the prompt. You may have to do this several times before the server stops asking.
    Credit for this idea to Christian Braukmueller of SAP.

  • Limitation of the entries in the drop down box of Interactive Report

    Hi all,
    Our team are currently using interactive report as an easy way to inquire the data stored in the database.
    Our entire table had close to 2000 entries, and we notice some of the entries are not displayed in the drop down box when we cllck on the column heading. Probably the first 1000 entries showed up in the drop down box. The rest don't show up.
    The drop down box is the one with the button sort ascending, sort descending, hide column, control break, and a textbox for user to type the data.
    We are just wondering is this a number being set in Oracle Apex, and whether we can modify it.
    FYI. we are using Apex 4.0, and Oracle 10.
    Thanks,
    Thomas.

    Hi Thomas,
    please have a look at http://download.oracle.com/docs/cd/E17556_01/doc/user.40/e15517/limits.htm#BGGEIHBG
    The workaround is to define a custom LOV for the filter.
    Regards
    Patrick
    My Blog: http://www.inside-oracle-apex.com
    APEX 4.0 Plug-Ins: http://apex.oracle.com/plugins
    Twitter: http://www.twitter.com/patrickwolf

Maybe you are looking for

  • How to download Pages 4.3 to replace the flawed 5.2

    Pages 5.2 may well have a lot of nice new features but given that it is now 30% fatter why has Apple removed essential features without publishing any warning about such excisions. 5.2 is very likely to ruin any 4.3 file you open, worse it stops 4.3

  • Any problems with installing Flip4Mac Player on iMac

    Has anyone had issues with installing Flip4Mac Player to be able to listen to audio emails on iMac?

  • Lightroom 5: Basic panel missing in Develop module

    I have installed lightroom 5 (upgrade from lightroom 3) on my MacBookPro. Everything seems to work perfectly, except that "Basic" in the Development model does no longer appear in Lightroom 5. I believe that "Basic" was there in the first place. Can

  • How to access FCPX.1 files easily

    When I click theFPCX library icon on my hard drive, it doesn't access to the different project and event folders. How do I access those folders as directly as possible ?

  • Email sync bug?

    I am sure others have seen this, but just checking. I have ActiveSync set for corporate email to push - working fine. 2 personal email accounts set to manual (no fetch). Personal accounts still download email, it looks like when AS notifies phone tha