DropDown - With text explanation on the dropdown

Hi,
I would like to get a drop down with explanation on the dropdown but on selection only key must be selected.
for eg . Here are the dropdown values
US  United States
AU  Australia
NZ  Newzeland
DE  Germany
when selected the dropdown field should contain only US or AU. Is there a way to achieve this.
Thanks

this all, of course depends on your context and which drop down element you choose to use.
If you bind your context as such.
DATA: lo_nd TYPE REF TO if_wd_context_node,
         lo_nd_info TYPE REF TO if_wd_context_node_info.
data: it_value_list TYPE wdr_context_attr_value_list,
          is_value like line of it_value_list.
data: iv_key type any,
iv_text type string.
lo_nd = wd_context->get_child_node( name = wd_this->wdctx_whatever ).
lo_nd_info = lo_nd->get_node_info( ).
select code text from somewhere into (iv_key, iv_text).
is_value-value = iv_key.
is_value-text = iv_text.
append is_value to it_value_list.
endselect.
lo_nd_info->set_attribute_value_set( name = 'COUNTRY' value_set = it_value_list ).
On your view use the DropdownByKey and bind the selected key property to the country attribute and check the KeyVisible field. Otherwise you can set it dynamically in the modifyview method and set the flag with CL_WD_DROPDOWN_BY_KEY->SET_KEY_VISIBLE.
hope this helps.

Similar Messages

  • I have created a .pdf form with text boxes, but the recipients are unable to fill in their answers.

    How can I distribute a form with text boxes so that the recipients are able to type into the boxes?

    This forum is for the Adobe FormsCentral (formscentral.adobe.com) which is a service that allows you to create, collect and analyze data using an online web form. You should ask PDF related form questions in the Acrobat forums: http://forums.adobe.com/community/acrobat/forms
    I'll move your post to that forum so you don't need to retype it. They can help you out...
    Randy

  • Displaying Variables values with Text also in the selection screen of repor

    hai
    I have one InfoObject ZPLANT .When i try to excute the report then im getting only the Values of ZPLANT(not Text of those values) .Like below
    ZPLANT :-
    101 -
    (im getting like this)
    101 London Plant ( i want like this ,when i try to excute the report).
    Please tell me how to do .
    rizwan

    Yes kamaljeet ,
    When we press F4 , then we will gwt some values .
    I want those values with description also ..
    Pls tell me how can i get those F4 values with text in the selection screen of report .
    i ll assing the points
    rizwan

  • When converting word doc to pdf, my images with text only show the background color of the text box.

    I have a word doc that I am trying to conver to pdf.  I have jpegs with text boxes on top of them on one page.  It looks great on the screen but after I convert to pdf, the text boxes only have half the text, the first half of the text box is just white - the background color.  If I take the background color out of the text box, the text converts over fine but I need the background color.
    I have tried many things here on the print settings, standard, high quality print, unchecking the compression on the images.  Any help?

    Thank you for your posting. These forums are specific to the
    Acrobat.com website and it's set of hosted services, and do not
    cover the Acrobat family of desktop products. Please visit the
    following forums for any questions related to the Acrobat family of
    desktop products:
    http://www.adobeforums.com/cgi-bin/webx/.3bbeda8b/

  • Problem with text alignment in the panelheader

    Hi,
    We are using <af:panelheader> in our jspx file. We are using custom CSS for alignments. The text we are displaying inside this panel header is top-aligned by default. But we want to align this text to middle. In our custom CSS file, we tried with different options to align this text to middle(ex: vertical-align:text-bottom;caption-side: bottom;...). Please guide me on this like which option to use.
    Our CSS code for panelheader is this:
    .AFHeaderLevelOne,.x1x,H1.af_panelHeader,H1.x20,H1.af_showDetailHeader,H1.x21,.af_messages_header,.x24,.p_OraProductBrandingCompactText,.x5b,.PortletHeaderText,.x6n,.PortletHeading1,.x6o,.PortletSubHeaderText,.x6u,.portlet-section-header,.x73,.portlet-section-subheader,.x77,.portlet-table-header,.x7a,.portlet-table-subheader,.x7e {caption-side: bottom;  background-color: rgb(233,233,209);vertical-align:text-bottom;white-space: nowrap; height:  37px; font-family:Tahoma;font-size:17px;color:#9c7200;margin-bottom:0px;margin-top:0px;font-weight:bold}
    and panelHeader code inside jspx is this:
    <afh:rowLayout id="rowLayout1" width="100%" >
    <afh:cellFormat columnSpan="4" height="37">
    <af:panelHeader text="Add Law Firm"/>
    </afh:cellFormat>
    </afh:rowLayout>
    Thanks & Regards,
    Yeshwanth.

    Hi,
    try
    .AFHeaderAlias{vertical-align:text-bottom; white-space: nowrap; height: 37px; font-family:Tahoma;font-size:17px;color:#9c7200;margin-bottom:0px;margin-top:0px;font-weight:bold}
    or
    h1.x20{vertical-align:text-bottom; white-space: nowrap; height: 37px; font-family:Tahoma;font-size:17px;color:#9c7200;margin-bottom:0px;margin-top:0px;font-weight:bold}
    both work
    Frank

  • How can I share my photos with family with text to ID the photo

    I have our families'  photos on CD/DVD/my Mac's but I would like to share them with the rest of the families by way of CD/DVD.  I'm also probably the only one in my family who could id the subjects in the photo's......how can I use text ON the photo so that they are ID'd for those photos I share with them.    Judy

    Adding text to a photo is not a feature of iPhoto.
    You can do it with
    Preview - already on your machine
    BorderFX - a free plug-in. (http://www.iborderfx.com/iborderfx/)
    or an external editor.
    In order of price here are some suggestions:
    Seashore (free)
    The Gimp (free)
    Graphic Coverter ($45 approx)
    Acorn ($50 approx)
    Pixelmator ($50 approx)
    Photoshop Elements ($75 approx)
    There are many, many other options. Search on MacUpdate. You can set Photoshop (or any image editor) as an external editor in iPhoto. (Preferences -> General -> Edit Photo: Choose from the Drop Down Menu.) This way, when you double click a pic to edit in iPhoto it will open automatically in Photoshop or your Image Editor, and when you save it it's sent back to iPhoto automatically. This is the only way that edits made in another application will be displayed in iPhoto.

  • Has anyone had issues with texting after doing the update today?

    I did the update today and not I am having problems sending and receiving text messages.  Has anyone else had this problem?

    It was with my imessage.  I finally got a hold of someone from Apple Support and she had me log out of my Apple ID login and log back in and that seemed to fix the issue.  Something about the update messed it up but luckily there was an easy fix. 

  • Every time I try to use Netflix instant play the browser closes with no explanation.

    Every time I click on a link for a Netflix instant-play movie, the browser instantly closes all windows and tabs (quits, in fact) with no explanation. The rest of the processes on the computer are not noticeably disturbed. I use Firefox version 3.6.3 on a MacBook running Mac OS X version 10.4.11, and 1 GB of RAM is available; all of these parameters meet the system requirements listed on Netflix's website. Furthermore, my Microsoft Silverlight is fully updated. Any advice?

    www.microsoft.com/getsilverlight/ Try updating to the new silverlight edition. I had it up to date yesterday and it didnt work. i reinstalled today and fixed the problem for me.

  • Lync 2013 Clients in Child Domain Log "The server returned HTTP status code '403 (0x193)' with text 'Forbidden'."

    Hey All, I am really stumped on this one. 
    Environment - Is using split DNS
    Forest Root Domain - Contains new Lync 2013 Server Standard, ADDS, DNS, Enterprise CA, Workstations
    Clients in this domain connect and work beautifully. No errors. 
    Child Domain - ADDS, DNS, Workstation, Lync 2013 client
    Client autodiscovers, and then asks for a password. Enter the password and this comes up...
    Can't sign in to Lync, You didnt get signed in, It might be your sign-in address or logon credentials..  blah blah blah" 
    Client log shows 
    Error:
    There was an error communicating with the endpoint at 'https://domainlync13srv.Domain.net/WebTicket/WebTicketService.svc'.
    The server returned HTTP status code '403 (0x193)' with text 'Forbidden'.
    The server understood the request, but cannot fulfill it.
    As far as i can tell certificates are correctly configured with all the SAN's possible in my forest. The user is correctly set up in Lync control panel. Autodiscovery seems to be working as it should. EWS is working correctly. 
    Repaired client, removed cached creds, has all lync 2013 updates no dice
    Thank you all! 

    I am an IDIOT. 
    I did not prepare the child domain with the LYNC setup tool. Logged on to a file server in the child domain with domain admin rights and sure enough the setup said the domain was "partial". Ran the setup and bam it all started working. 

  • Error With Text Boxes in Acrobat 9 Pro

    I have a number of 9 Pro installs that are experiencing problems with text boxes.  The will enter text then attempt to save the changes and Acrobat will crash.  Other errors we have been receiving are  "invalid annotation object" and "R6025 pure virtual function call"  any advice would be appreciated.

    In the properties of the callout comment you can change the fill color.

  • Anyway to create an iPhoto book with text & no image on cover?

    Would like to create a book with text only on the cover and no image. The only options with text require an image as well and as a result the pdf preview shows the square designated for an image (when no image provided). Any help/suggestions appreciated.

    Hi Richard,
    In this community, "It cannot be done" means "It cannot be done with Pages '09."
    The document in question was, obviously, produced using an application oter than Pages.
    Regards,
    Barry

  • Keyfigure with Text in Reports

    Hi Gurus,
    Can anyone tell me how we can display the key figure value with Text.
    e.g. the key figure = 1 the text I want to display as 'A++, or 2 = 'AAA'.. during query execution.
    Please suggest what needs to be done during reporting..
    Thanks in advance.
    Raju

    This is not possible through BEx. You will have to perform this task using Macro only.
    Create a dummy column next to KF contians 1, 2 and then populate A++ or AAA based on the KF value. I suggested to create a dummy column, beacuse that would reduce the time of macro to format the cell background and etc.
    - Danny

  • Scaling buttons with text

    Hello,
    I work with the brand new fireworks CS6.
    I would like to make a simple navigation with 5 buttons. But there is a big problem with the scaling of text. Even if i place buttons of the standard library i can't scale correct !!!!
    After scaling the text is no more centered (vertical and/or horizontal).
    When i write long text in a button i got some horrible scaling effects.
    I tried to fix this problems many hours because i can't believe that such a basic function doesn't work.
    In my symbols (buttons) i centered the text and the rectangle exactly (horizontal and vertical).
    Do i have to change something in my properties?  
    Thanks,
    psek

    Dear Linus,
    I think the 9-slice guides does not take effect to Text. They take effect only on forms. In my case i have a rectangle with text inside. The 9-slice guides are only for the rectangle relevant.
    As explained it even doesn't works with the buttons from the fireworks standard library.
    psek

  • A question about text allignment in the Keynote app for iOS

    Hello,
    I'm just wondering if there's an issue with text allignment in the Keynote app when trying to export to iTunes as a .ppt file and it is written in the Arabic language?For I have this issue in the pages app, it happens when I try to export the file to my PC as a .doc file. Is it also In keynote?
    I really need an answer as soon as possible; because I have presentation that I need to finish tomorrow!
    Thank you for your time. :)

    nayef_96 wrote:
    But what app would you recommend?
    There are a lot on the app store and I don't know wich one is the best for arabic
    Sorry, I don't know, perhaps someone else has tested them.  I would recommend you make your presentation on real computer using PowerPoint.

  • Text running off the bottom of the area.

    Hi again, i know you guys must be getting sick of me by now bu i have yet another small problem.
    When i am populating my pages with text and image the content is running down the page and over my footer, is it possible to keep the content within the area of the gray box and have it scrolling?
    im not sure how well i have explained this so here is an example:
    http://www.rochdalerostrum.com/programmee.html
    Thnaks
    Danny

    Your "content" container CSS calls for a certain height and your content exceeds that attribute
    #content {
    width: 748px;
    height: 690px;
    z-index: 1;
    left: 108px;
    top: 213px;
    background-image: url(images/content.png);
    margin-right: auto;
    margin-left: auto;
    margin-top: 50px;
    margin-bottom: 0px;
    padding-left: 10px;
    padding-right: 10px;

Maybe you are looking for

  • Daily Calendar Display

    On PALM conputer display, how do I change from 24 hr. display to 12 hour display on calendar?  I cannot find anything in 'prefrences' or 'settings'.  My handheld is displaying the 12 hour format. Post relates to: Tungsten E

  • How to call web service using J2SE 1.3?

    Dear All, i have developed a web service by jdev 10.1.3 (JAX-RPC with web service security enabled). i generate the ws proxy (jdev 10.1.3) and run it with wsclient_extended.jar (required JDK 1.4.1 or above??). but one of my client say he has to use J

  • Component controller is consuming lots of memory

    Hi All, I have an WebDynpro application and a component controller (MyCompController) too where I have written most of the business specific code. The basis team informed that the component controller (MyCompController) is consuming lots of memory. C

  • Video captured on iphone 5 cannot be played on iphone 4

    video captured on iphone 5 cannot be played on iphone 4. any ideea how can i convert so i can transfer videos took with an iphone 5 on another iphone 4 ? thank you in advance.

  • Java se zip release

    Dear All, Does anyone know why has been the java se zip release removed from the download section? Long ago it was a possibility for experts to download the whole jdk in one archive. I need it because I'd like to try the java 6, but I use java 5, and