Need help for displaying key and description in Dropdown (ABAP WEBDYNPRO)

Hi Experts,
I am using dropdown as a table field. For this dropdown I want to display the value as well as description.
In ALV table when we create a dropdown dynamically in table field, there is a method SET_KEY_VISIBLE in class CL_SALV_WD_UIE_DROPDOWN_BY_KEY.
But I think we cannot use similar method for normal dropdown field in table.
Is there any way we can display both value and description in dropdown value set ?
Please help.
Regards,
Anand

Hi,
I think there is no such option. You need to consider one variable type string and while populating the
valueset fill this variable by concatenating the value and description and assign it the key and value
pair of the valueset.
DATA:
  lt_value_set_ctry      type table of wdr_context_attr_value, " Country/Service Location
  lv_str type string.
    loop at lit_country into ls_country.
      concatenate ls_country-value ls_country-text into lv_str separated by space.
      ls_value_set-value = lv_str.
      ls_value_set-text  = lv_str.
      append  ls_value_set to lt_value_set_ctry.
      clear ls_value_set.
    endloop.
      lr_node_info->set_attribute_value_set( name = 'COUNTRY'
                 value_set = lt_value_set_ctry ).
Consider this lit_country is a text table for countries.
Regards,
Lekha.

Similar Messages

  • Need help for drill up and down with sum urgently !!

    Hi everyone,
    I'm now using Discover plus but I've got problem with using drill up and down.
    exp)
    now
    shop
    L supplyname
    L $600
    Jancode1 ---sum $300
    L aaaaa-------$100
    bbbbb-------$200
    Jancode2---sum $300
    aaaaa-------$100
    bbbbb-------$200
    want to do
    shop
    L supplyname
    L $300
    Jancode1 ---sum $300
    L aaaaa-------$100
    bbbbb-------$200
    Jancode2---sum $300
    Laaaaa-------$100
    bbbbb-------$200
    as showing exsmple,
    the sameitem(Jancode) value are same area and sum is separetated as correctly then do drill up, but the reslut of sum is 600 which I don't want the double result like example. I want to make correct result(sum) such as 300 which means not summing double item value as 1item value.
    does anybody know what I should do with it or has any idea for it??
    I really need it know ASAP if it possible to do it or not and also if I can do,
    please tell the how to do it.
    Thank you for reading.

    Usually you can tailor your antennas to the coverage pattern you need. AP placement, antennas, and power level are best determined pre-install by a good, comprehensive site survey.
    It may be possible to change your antennas to higher gain types (i.e., 180 degree patch or sector antennas instead of Omnidirectional rubber ducks).
    Be advised though that changing to higher gain antennas will also change their coverage pattern; you might reach farther in one direction but less in another. Each antenna should have a chart that describes the side profile and overhead profile of the radiation pattern.
    Running in mixed mode (b & g) will reduce your throughput, but it shouldn't affect your range. The brief version is that it takes time to switch modes, and the AP has to notify clients on one protocol that there's activity happening on the other protocol ... it all takes time & bandwidth.
    Both are the same frequencies and have the same basic coverage.
    CCX (Cisco Client Extensions) should not affect your client's range or throughput; they are extensions - if you don't use them, they are pretty much ignored.
    Each vendor has there own "formula" for when to roam to the next AP. Some vendors use Inter Access Point Protocol (IAPP) to communicate between the old AP and the new AP so the handoff happens in a coordinated fashion. Using a single vendor for all of your APs (at least in the same / adjacent neighborhood) increases your chances of a smooth handoff.
    Good Luck
    Scott

  • Display key and text in dropdown box & suppress leading zeros in material #

    Hi Everyone,
    I have some questions on how to ....  Can anyone help me?  Here they are:
    How to show material # and description (key and text) both in dropdown box list? 
    How to suppress leading zeros in material #, i.e. 0000000012345678 only show 12345678 ?
    How to show a date with format mm/dd/yyyy not yyyymmdd?
    Thanks alot, Jin
    Edited by: Jin Freda on Mar 25, 2008 4:47 PM

    Hi,
    What type control you are useing for date .
    If you are useing Input field of date type or Date picker control you should get this option in the control properties.
    Can you tell me what are  tabs are appaering in the conrtol properties.
    2.When you you are using the formula Round(@material) ,Are you typing it or draging Field from right side in to  the formula .If you did not drag it you will get Message:Formula has errors.
    One more probelm is there if the Data type of field where you using formula is not Number type.
    Check all above and get back to me.
    3.You are not able to give 6 points for all because its a resrticed one you execeded giving6 points option now you can give only 10 points.
    Regards,
    GOVINDU

  • HP PSC 1315 - need help for a XP and Vista network

    Hey all,
    I need some help to set a HP PSC 1315 All in one Printer:
    First, this printer is for the moment, correctly installed using USB on a desktop computer using XP. It works fine.
    But now, I have a second PC, a laptop, which is using Vista, and I would like to share the printer through the local network to be able to use it on the laptop (which is connected to LAN by Wifi).
    I tried to run the original printer CD on the laptop, but of course it didn't work on Vista. I'm downloading vista drivers, to try them Tuesday. In your opinion, will it work? Do I have to share the printer on the XP PC and will I be able to print documents on the printer trough the LAN using wifi ?
    Thanks a lot.  

    Is there a reply to this question dated back in 2009?  I am now having the exact same problem and have not been able to figure it out!  I have a desktop running xp, and the printer works fine connected to it.  I want my hp notebook, running vista ultimate to print wirelessly through our brand new dsl modem.
    I've done all the fixes I can find...how did you finally get it?  or did you buy a different printer like I am considering?
    Thanks!

  • Need help for HDMI, USD and Ethernet example SoC for VC707

     
    I'm developin an SoC with HDMI, USB and Ethernet interfaces.
    In this USB and Ethernet interfaces are not working.
    Can i get any example SoC's for above mentiones IPS.

    bump ...  nobody has anything helpful to post ?
    Am I trying to do something that is not possible with the open source driver ? start a game in wine 32bit?
    Or maybe the problem is in one of the  libraries ?
    I did mess around with the catalyst before, but the 2d was so bad that I decided not to even try the 3D watching a movie was impossible at a decent fps O.o
    And I do believe that I removed all and re-installed Open Source libraries + drivers properly. Is there a definitive way to check ?

  • Need help for displaying month format

    this my input screen
       Documenttype   fromdate         todate  
           invoice         01/12/2003     02/19/2003
    now i am getting output as
    invoice       feb   total
    invoice      jan    total
    i want chage the output screen as
    doctype    feb             jan   febtotal        jantotal  
    invoice       5              6      4564            5454
    ca u help how to do the coding

    Dear This is the one of sample how to get month in character
    try with this otherwise
    send your rquirment again
    REPORT ZEXAMPLE.
    DATA: BEGIN OF MONTH_NAMES OCCURS 0.
            INCLUDE STRUCTURE T247.
    DATA: END OF MONTH_NAMES.
    DATA: V_LASTDAY    LIKE SY-DATUM,
          V_NEXTMONTH  LIKE SY-DATUM,
          V_DAYTXT(15).
    CALL FUNCTION 'MONTH_NAMES_GET'
         EXPORTING
              LANGUAGE              = SY-LANGU
         TABLES
              MONTH_NAMES           = MONTH_NAMES
         EXCEPTIONS
              MONTH_NAMES_NOT_FOUND = 1
              OTHERS                = 2.
    CALL FUNCTION 'RP_LAST_DAY_OF_MONTHS'
         EXPORTING
              DAY_IN            = SY-DATUM
         IMPORTING
              LAST_DAY_OF_MONTH = V_LASTDAY.
    CALL FUNCTION 'RH_GET_DATE_DAYNAME'
         EXPORTING
              LANGU  = SY-LANGU
              DATE   = V_LASTDAY
         IMPORTING
              DAYTXT = V_DAYTXT.
    READ TABLE MONTH_NAMES WITH KEY MNR = SY-DATUM+4(2).
    WRITE:/'THE LAST DAY OF', MONTH_NAMES-LTX, 'IS THE', V_LASTDAY, 'WHICH IS A', V_DAYTXT.
    CALL FUNCTION 'MONTH_PLUS_DETERMINE'
         EXPORTING
              MONTHS  = '1'
              OLDDATE = SY-DATUM
         IMPORTING
              NEWDATE = V_NEXTMONTH.
    READ TABLE MONTH_NAMES WITH KEY MNR = V_NEXTMONTH+4(2).
    WRITE:/'NEXT MONTH IS', MONTH_NAMES-LTX.
    CALL FUNCTION 'RE_ADD_MONTH_TO_DATE'
         EXPORTING
              MONTHS  = '1'
              OLDDATE = V_NEXTMONTH
         IMPORTING
              NEWDATE = V_NEXTMONTH.
    READ TABLE MONTH_NAMES WITH KEY MNR = V_NEXTMONTH+4(2).
    WRITE:/'THE MONTH AFTER THAT IS', MONTH_NAMES-LTX.
    Reqards if Helpful

  • Need help for create A and MX records (home server)

    What should I put in the DNS (A record, MX) to be able to receive email from my provider Godaddy and send emails directly from my server without passing through Godaddy.
     The server is "home server" and it is not always access (open).
     Incoming Mail: from Godaddy
     Outgoing Mail: form my server

    Hi,
    Based on my knowledge, the default receive connectors are automatically created when the Exchange server is installed. Then the internal and outbound mails can delivered properly through Exchange server. After we create send connector and add public MX record
    and A record on the public DNS server, the inbound mails can be delivered. And we can set the send connector with MX record, then the inbound mails are directly delivered by Exchange server.
    If you have any question, please feel free to let me know.
    Thanks,
    Angela Shi
    TechNet Community Support

  • Dimension in WebI query filter needs to show Key and Description

    Hi,
    We have two requirements that we can't get them done:
    1. We are building webi report based on Bex universes and we need to show the key and description of an object in the query filter of the report. Does this have to be set in the Bex variable or in the universe?
    2. filter the LOV related to a specific dimension that is used in the query filter as prompt. The idea is to show a filtered list in the promp LOV of the dimension used in the query filter of the report. Does this have to be set in the Bex query or in the universe? If it is in the Bex Query, where exactly?
    Our system is the following:
    - BOE XI 3.1 SP2
    - SAP NW 4.0
    I await your answers. Thanks in advance.
    xtian

    Hi
    1. We are building webi report based on Bex universes and we need to show the key and description of an object in the query filter of the report. Does this have to be set in the Bex variable or in the universe?
    >> you can easily achieve that by creating a variable in the BEX query - that will return as a LoV with key and description assuming you have key and description in BW for the InfoObject.
    2. filter the LOV related to a specific dimension that is used in the query filter as prompt. The idea is to show a filtered list in the promp LOV of the dimension used in the query filter of the report. Does this have to be set in the Bex query or in the universe? If it is in the Bex Query, where exactly?
    >> so like filter Country = US in the filter and then prompt only for customers in the US ? if so that is not possible right now.
    Ingo

  • Web reporting - variable selection should be display as key and description

    hi experts,
    Can anybody tell me the solution for my issue. My isssue is , in the web reporting, i have variable company code, i am selecting the company code thru search help. the values for company code is displaying with key. 
    the new requirement should be displayed with key and description.
    I have checked in the bex, the properties  of company code has maintained as key. when i run the report when cas selet as key and descritption. bex is not a probelm.
    only the problew with webreports,  can anybody give some inptus on my issue.
    Any help is appreciated. waiting for your response.
    thanks
    surendra sheety

    For future reference, this question was finally answered correctly recently in the following thread: 
    F4 help - Search values - I need key and text
    Hope this helps someone who is as confused about this as I have been the past few days!
    Bob

  • Display Key and Long Description

    Is there any way to display the Key and Long Description for a hierarcy in a query? It looks like the only option is to display Key and short description or Long Description only.
    Thanks,
    Ron

    Hi
    These are the basic steps:
    1. upgrade to BW 3.5
    2. choose to display as key and text
    3. choose key + long text
    the following links says the step by step procedure to do it:
    http://help.sap.com/saphelp_nw04/helpdata/en/22/27813b731fd60ee10000000a114084/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/af/27813b731fd60ee10000000a114084/frameset.htm
    Regards,
    Naveen P

  • How to show display attributes like key and description in voyager

    This question is on voyager connecting to SAP BI Query. I would like to show both key and description of the row member. It is mentioned in the guide that display attributes can be viewed and changed from the properties tab of the tab panel. But I didnt see any such option in properties tab.
    Any solution for this?
    Thanks
    Raghu

    It is a XI 3.0 version. I looked at Voyager user guide for XI 3.0 in page no 202. It is about Using Voyager with SAP
    "Display attributes
    Members have several string properties which are visible in Voyager:
    u2022 Key
    u2022 Short description
    u2022 Medium description
    u2022 Long description
    u2022 Key and short description
    u2022 Key and medium description
    u2022 Key and long description
    These string properties can be viewed and changed from the Properties tab
    of the Tab panel.
    Note: Key and text properties are concatenated into a single string, and are
    therefore displayed in a single column or row caption field. They do not
    appear as separate columns or rows."
    Thank you very much.
    Raghu

  • Hello i need help for adobe creative cloud...when i launch application adobe  cc 2014  for photoshop or illustrator.....the apps launch and i can see the workspace and menu bar  for a while and  suddenly this application close automatic

    hello i need help for adobe creative cloud...when i launch application adobe  cc 2014  for photoshop or illustrator.....the apps launch and i can see the workspace and menu bar  for a while and  suddenly this application close automatic

    Sign in, activation, or connection errors | CS5.5 and later
    Mylenium

  • Need help FLASH not launching and not uninstalling "licensing for this product has stopped working".

    Need help FLASH not launching and not uninstalling "licensing for this product has stopped working" and " you can only install one adobe product at a time please complete the other installation"  Flash was working absolutely fine before, I have no idea why this happened.

    I am having similar problem.  Can't open any of CS3 programs after trying to download Dreamweaver Trial, which wouldn't work because "couldn't remove DLM extention" error message.  So now I can not run Illustrator, Photoshop, or even Adobe Reader.  These are properly licensed for about a year. I get "License for product has stopped working".  Have 2 pending cases open with Adobe support (one for Dreamweaver trial, one for license problem) since 8/3 with NO ANSWERS - It says answers within 1-3 business days.  Was on phone support hold today for over 3 hours before line went dead with no help.  What is up with adobe support?  Can anyone help?

  • Hi, I need help for my notebook Macbook Pro - I turned on the notebook and the screen look like start but did not start nothing, the screen froze and continuing load, load and never stop.

    Hi, I need help for my notebook Macbook Pro - I turned on the notebook and the screen look like start but did not start nothing, the screen froze and continuing load, load and never stop

    screen look on

  • Display key and text by WAD command in custom structure hierarchy

    Hi everybody,
    I have a query using a custom structure with hierarchy layout. As usual the structure does only display its text as descriptions but I can enable the display the key in BEx Web by right-click on the analysis item --> Properties --> Characteristic --> Display. Unfortunately these setting can not be defined directly in the structure within the Query Designer.
    For a workaround I put the query into a web template, in which I used the Set Presentation (SET_PRESENTATION) command to enable key and text display from the start. Hence I put that command in the wem template parameters Action Before First Rendering (ACTION_BEFORE_FIRST_RENDERING). Everything is working properly and makes me very happy.
    But... there is one thing missing, I would like to implement... I want a toggle button, which allows the user to switch between key and text display and text display. Unfortunately setting the same command from Action Before First Rendering (ACTION_BEFORE_FIRST_RENDERING on a various button does not working. The button command only affects data rows of the leaves of the structure hierarchy. All parent nodes do not change their appearance.
    Any ideas how to solve this?
    Thank you for any helps and comments!
    Sebastian

    Hi Sebastian,
    I have a similar problem. Can you help me? How did you set the entry in Member Presentation of Command SET_PRESENTATION to display key and text? I just found the values to set the only text or only key.
    best regards,
    Barbara

Maybe you are looking for

  • Need help in tune this query.

    Hi All, The below query is taking nearly one hour to give the output.   2  select sku.VK_UNIT   3       , sku.MODEL   4       , sku.DESCRIPTION   5       , slt.GEO   6       , slt.LEAD_TIME   7       , slt.REV_LEAD_TIME   8       , aud.LEAD_TIME     

  • Performance issue with grouping components

    Hi Guys, I am building a dashboard in Dashboards 4.1 using Live Office connections. The initial summary view contains multiple charts, labels, customized image components, etc. which have all been grouped into one component. The user needs to able to

  • Which collection to use in this case for best performance....

    i have two text files having 10,0000(aprox) phone numbers , i wish to compare both the files and write the matching numbers in third file.. so which collection should i use to perform it.. so that performance is best...... plz send me the logic....

  • User exit on clearing in Txn: FB05

    Hi All, Is there any user exit or badi which gets invoked when we do the <b>clearing using transaction: FB05</b>. (I know the available userexits for this transaction.) <b>Please let me know the userexit which will suit my requirement.</b> Thanks in

  • Server based sequential number

    Hello! I have this form on which I need to place a sequence number for control reasons. How can I create this field? As PDFs can't write or read txt files, let alone over networks, I suppose I must call a webservice to read the sequence number somewh