How to create dropdown ?

Hi,
i have created some new fields in BUPA using EEWB by Create extension wizard...
i have assigned it to design layer object .
i need this field to be a dropdown list ......
A have added allowed values to corresponding view of this field.......
BUt now it is appearing as a picklist as in case of country field ........
Can anybody suggest how to make a dropdown list .........
Regards....
kanika

Hello kanika,
Impliment GET_V_XXX method and you will get your DDLB.
dont forget to resave your configuration data after you implimenting the method.
Good Luck
Eli Steklov
Please Reward Points if it Helped

Similar Messages

  • How to create dropdown box, radio button,check box in wad

    Hi,
    How to create dropdown box, radio button,check box in wad.
    Thanks,
    cheta.

    Cheta,
    This are all standard Web Items in the WAD. Drag them onto your template and then make the changes you need to them in their Properties.
    Regards
    Gill

  • How to create dropdown or checkbox in report painter?

    hi experts,
    I would like to ask on how to create a dropdown / checkbox in my report painter's selection
    screen.
    thanks,

    Hi,
    For check box and list box look at the below example,
    TYPE-POOLS: vrm.
    DATA: w_param TYPE vrm_id,
          it_values TYPE vrm_values,
          wa_value LIKE LINE OF it_values.
    PARAMETERS: p_rec_ty AS LISTBOX VISIBLE LENGTH 10,
                p_check AS CHECKBOX.
    AT SELECTION-SCREEN OUTPUT.
      w_param = 'P_REC_TY'.
      wa_value-key = '1'.
      wa_value-text = 'AAAAA'.
      APPEND wa_value TO it_values. "Add values like this for the list box
      wa_value-key = '2'.
      wa_value-text = 'BBBBB'.
      APPEND wa_value TO it_values.
      CALL FUNCTION 'VRM_SET_VALUES'
        EXPORTING
          id     = w_param
          values = it_values.
    START-OF-SELECTION.
      READ TABLE it_values INTO wa_value INDEX p_rec_ty. "Get the value for the particular key
      WRITE: wa_value-text , p_check.
    Regards,
    Maoj Kumar P
    Edited by: Manoj Kumar on Feb 6, 2009 10:54 AM

  • How to create dropdown or drilldown in dashboard ?

    All
    i have this requirement to create a dashboard that has a drilldown or dropdown list for a list of reports
    Example
    -Sales Department
        - sales by region
           - U.S
           - Asia
           - Europe
       - Sales Per Period
          - Quarter
          - month
          - year
    i want them to display like this or something close to it
    any suggestions or ideas ?
    thanks alot

    SasiNagireddy
    thanks for response
    this should be done in the repository level right ?
    if yes i am just using the BI Publisher at this point
    not integrated with OBIEE or repository
    If no please guide me how to do it through publisher
    Thanks

  • How to create Dropdown field

    Hi,
    i have created some new fields in BUPA using EEWB by Create extension wizard...
    i have assigned it to design layer object .
    i need this field to be a dropdown list ......
    A have added allowed values to corresponding view of this field.......
    BUt now it is appearing as a picklist as in case of country field ........
    Can anybody suggest how to make a dropdown list .........
    Regards....
    kanika

    Assuming you have done all the 4 below steps done in the progrm BCALV_EDIT_07,
    §1.Define an extra field in your output table
       for each column where you want to use drop down listboxes.
       (One additional field refers to cells of one column).
    §2.Define a dropdown table and pass it to ALV.
       One listbox is referenced by a handle, e.g., '1'.
       For each entry that shall appear in this listbox
       you have to append a line to the dropdown table
       with handle '1'.
       This handle can be assigned to several columns
       of the output table using the field catalog.
    §3.Set your dropdown field editable and assign the fieldname of the
       corresponding additional field to DRDN_FIELD of the fieldcatalog.
    §4.Set the handle of your additional field of your output
       table according to the listbox that shall be displayed.
    I think you should be getting what is done in BCALV_EDIT_07 program.
    Anyways, did you try calling the method set_ready_for_input after the set_table_for_first_display method is called?
    Hope this helps.
    Thanks,
    Balaji

  • How to create dropdown list in table

    dear friends,
                         i created one table in dynpro. In table i have one column dropdown by index. when i changed the value in dropdown box , same value reflect in all row in addition of row where i selected the value. please somebody tell me what i should do????
    regards,
    sunil sharma

    Hi,
    If you have got 10 rows, In the first row if you have selected some value from dropdown then you want to have this same value
    to be shown across the other rows of the same column right. Also for the new row you want the same value right.
    if this is the case, then first implement the action for leadselect for that dropdown.
    if your node has 3fields, empno, begda, endda. for ex: endda is the dorpdown by index.
    In the OnleadSelect event -
    Write this code -
    You will get the element right. for that element get the record using
    get_static_attributes into ls_table1.
    Now,
    loop at lt_table into ls_table.
    ls_table-endda = ls_table1-endda.
    modify lt_table from ls_table index sy-tabix.
    endloop.
    lo_nd_node->bind_table( lt_table).
    Or
    Also try this out.
    Using the GET_ELEMENTS of IF_WD_CONTEXT_NODE
    loop at lt_elments into ls_elmenets.
    ls_elements->set_attribute
    exporting
    name  =  `ENDDA`
    value =   ls_table1-endda.
    endloop.
    Regards,
    Lekha.
    Edited by: Lekha on Sep 30, 2009 12:00 PM

  • How to create dropdown list for custom remote function module

    HI ,
           I created a custom remote function module for a ztable.table having four fields.But now the requirement is to maintain the dropdown list for input parameter .
    For eg: I maintain Input parameter as action.For that Action we have to maintain a dropdown list(display,insert,update and delete  values ) in function module.Is it possible.

    Hi
    Try using POPUP_GET_VALUES function module in the begining of the Function module this gives a POP to provide a value to you
    In this you can provide a value
    Check the import parameters of this Function module if it has COMBOBOX as parameter ( I dont have SAP access at this point of time) you can pass X to it so you get List box for the following fields
    Create a domain to field and assing fixed values to it and use it in any table(As this works with only existing tables)
    refresh fields.
    DATA: fields LIKE SVAL OCCURS 0.
    fields-tabname = 'MAKT'.
    FILEDS-FIELDNAME = 'MAKTX'.
    APPEND FIELDS.
    CALL FUNCTION 'POPUP_GET_VALUES'  " Try copying this in a Test program and execute
            EXPORTING
              POPUP_TITLE  = 'Enter Mail Id here'
              START_COLUMN = '5'
              START_ROW    = '5'
            IMPORTING
              RETURNCODE   = SRETURN
            TABLES
              FIELDS       = FIELDS.
    Cheerz
    Ramchander Rao.K
    Edited by: Rob Burbank on Nov 23, 2011 9:50 AM

  • How to create dropdown using VO

    Hello Everyone,
    I am using Jdeveloper 11.1.1.4 . I am new to VO and have going to create simple dropdown using VO.
    We have table called "MyTable" in the database which inclues the columns "First_name","Last_Name","Emp_id"(primary_key) .
    In my .jspx page I have to create a simple dropdown list which includes First_Name only dynamically.
    Please can anyone tell me the detailed procedure do i need to follow to create this, it will be helpful to start learning the business component.
    Thanks in advance.
    Shrikant

    Hi KShrikant,
    Is the LOV going to be part of any other fields inside a form? For example, departmentsVO that has an EMP_ID (manager of department) and that you would like to create an LOV instead assigning the EMP_ID directly?
    However, if what you really want is to display the LOV, then you need to create a Transient VO, for example, new ViewObject, give a name and select it to be based programatically (not in a query or EO). Then, you need to create a new Attribute (Emp_ID for example). And you finish the creation. Now, in your new transient VO attributes, select the emp_id and in the options you go to the tab List Of Values. Create a new one. It will ask you fthe object tou want the list to be based. Then you select MyTable and now you map emp_id with emp_id of myTable. Now you switch to the hints tab and select FirstName to be displayed on the list.
    Last step is make sure your application module has the instance of your new Transient Atrribute so you can use it from the Data Control.
    Go to your page, select emp id from your transient VO and drop it in the page as a SelectOneChoice.
    Run your page.
    Regards

  • Need help on how to create dropdown menu in dreamweaver 9

    Hello Forum Members
    I am working on dreamweaver , making my website by using dreamweaver 9 .
    My problem is, i want to create a dropdown menu but when i move my cursor on any item then the drop down links appears on the same item itself and that item diappears.
    For Example my menu is like --- item1 item 2 item 3 item4 item5
    item2.1 Item3.1 item4.1
    item2.2 item3.2 item4.2
    now when i move my cursor on any of these menu headings (like item 2, item 3, item 4) which has drop down links the main menu item disappears and the drop down links (item 2.1, item2.2 like wise) reflects on the place of that (item2) menu item.
    Please help me with this and not with the scirpt that would be the last option because i do not have any knowledge of html. Please tell me the feature in dreamweaver 9 from where i can correct it.
    Thanks In Advance
    Sean

    Please Help

  • How to create dropdown in BSP application

    Hi Gurus,
    I want to implement a dropdown listbox in my BSP application. Once the dropdown is clicked, it should show "TRUE" and "FALSE". Would appreciate if you could give me the code. This should be implemented in MVC.
    Thanks,
    David.

    Hi David...
    Try this code...in the Layout
                                <htmlb:dropdownListBox id        = "DDLB1"
                                                       width     = "100%"
                                                       disabled  = "FALSE"
                                                       onSelect  = "onInputProcessing"
                                                       selection = "<%= lw_sel_mvtyp %>" >
                                      <htmlb:listBoxItem key   = "S"
                                                         value = "Select the Option" />
                                      <htmlb:listBoxItem key   = "F"
                                                         value = "FALSE" />
                                      <htmlb:listBoxItem key   = "T"
                                                         value = "TRUE" />
                                </htmlb:dropdownListBox>
    Hope this helps.
    <b><i>Do reward each useful answer..!</i></b>
    Thanks,
    Tatvagna.
    Message was edited by:
            Tatvagna Shah

  • How to create a dropdown menu with sub buttons that link back to the labels on click.

    im trying to create a dropdown menu buttons that when you rollover to the top central button the button it opens up like a drop down menu would containg two other subsectional buttons. This makes the sub sectional buttons seperate from the main stage making it difficult to simply give them a on click,  sym.play("label") function.
    the buttons work like this in symbols or sections stage/panel/homebutton inside home button is group dev containg another group dev containg the button which I need to link back to a "label" in the /panel/ symbol or section. Thank you very much.

    pdp_1 wrote:
    Hi!
    I would like to create a DVD menu that offers two languages. So the first page gives two options: Language 1 and Language 2. Then depending on which language you choose, you go to a menu that proposes different videos and a photo slideshow.
    Regardless on which language button you click on initially, you get the same content but in different languages.
    I've been looking at Premiere's templates, which I can certainly customize, but I really don't see how to create the double menu. Does anybody have an idea?
    Put the video with the first language on the timeline followed by the video with the second language.  Use chapter markers so you can have each video as a chapter in the menu.
    I use Premiere Pro, so I can't give more specific directions. Perhaps somebody like ATR will chime in.
    Also, I have another question: can I put videos from different projects in the same DVD with Premiere or must all of the videos that go into the DVD be in the same project?
    Thank you very much!!!
    pdp1
    They must be in the same project.

  • How to create a Dropdown in webdynpro

    Hi ,
    I am a beginner in Webdynpro , Java . Request you to plz help me ..
    My requirements -
    1. How to create a dropdownbyindex in a view and populate it with some static values passed to the Context .
    2. Upon selection of a value from the dropdown and clicking on the Submit button , how to save the value?
    Context -
    Node - Season
    Attribute  - Seasonofyear
    Kindly Reply
    Thanks in Advance!!
    Regards
    Smita

    Hi smitha,
    I had checked out.. this is working fine for ur requirement
    public void wdDoInit()
    IPrivateSamView.ISeasonNode snode = wdContext.nodeSeason();
    IPrivateSamView.ISeasonElement sele = snode.createSeasonElement();
    snode.addElement(sele);
    IWDAttributeInfo attributeInfo  = wdContext.nodeseason().getNodeInfo().getAttribute(IPrivateMain.IseasonElement.season);
    ISimpleTypeModifiable sea = attributeInfo.getModifiableSimpleType();
    sea.setFieldLabel("SEASON");
    IModifiableSimpleValueSet valueSet =sea.getSVServices().getModifiableSimpleValueSet();
    valueSet.put("0"," AAA");
    valueSet.put("1","BBB");
    valueSet.put("2","CCC");
    i had created a attribute called copy under the node "season". Now i copied from the season attribute to copy attribute.
    then onaction save
    IModifiableSimpleValueSet rea = wdThis.wdGetContext().getContext().getModifiableTypeOf("season.season").getSVServices().getModifiableSimpleValueSet();
        wdContext.currentSeasonElement().setCopy(rea.getText(wdContext.currentSeasonElement().getSeason()));

  • How to create a dropdown in Web Dynpro

    Hi,
        I just wanted to know how to create a dropdown box.
        Actually I am using a webservice and on the view I have to create a dropdown box with 4 values inside it.Also I have to map dat same field with one of the fields in the webservices request node.Is this possible???

    Hi,
    You can create Dropdown in two ways,
    1. Create a simpleType.(DictionariesLocal dictonarysimpleTypes)
    2. Go to enumeration , and add the data.
    3. Create a context and in the property of the context , choose select and select the local dictionary and select the one which you have created.
    4. You can create a DropDownKey and map to the context.
    Dropdown by Index.
    1.) Take DropDownByIndex UI Element in the Layout Tab.
    2.) Take One ValueNode Named "Employee" in the Context.
    3.) Take One Value Attribute Named "Id" for the Node "Employee".
    4.) Bind "Employee.Id" to the texts Property of the DropDownByIndex.
    5.) Set the "Employee" Node Properties in the Context Tab as
    a.) Cardinality --> 0..n
    b.) Selection --> 1..1
    c.) Singleton --> True
    6.) Write the Below Code in the Implementation Tab.
    IPrivate<View Name>.IEmployeeElement empEle;
    for(int i=0;i<3;i++)
    empEle = wdContext.createEmployeeElement();
    empEle.setId("Emp Id "+i);
    wdContext.nodeEmployee().addElement(empEle);

  • How to Create a DropDown Box in a Selection Screen.

    Hi,
    I have a question. i.e, How to create a dropdown box in a Selection Screen. Could you please assist me.
    Thanks & Regards
    Sathish Kumar

    hi satish,
    The following can assist u to create a drop down ....
    Drop down list box can be created in a dialog screen(SE51) as well as selection screen.
      The sap list box allows to select a value from the list but we cannot enter our own value in the list box .The value list that will be displayed consists of two
    fields TEXT field of TYPE 80(C) and internal KEY field of TYPE 40(C).
    In screen painter to create a input/output field into list box we use
    'L" as a value for dropdown attribute for the i/o field.
    In screen painter to determine the type of method that will be used to fill the value
    list we use the attribute value list.
    If it is blank  the value list will be filled by the first column of the input help assigned to the screen field.This input help can be defined in the ABAP Dictionary, on screen using SELECT,VALUES screen statements or in event POV (PROCESS ON VALUE-REQUEST ) and the input help that will be passed to the field should consists of 2 columns ,the key column is filled automatically by the system.SAP recommends value list field should be blank.
    or
    The value  can be 'A' meaning that the value list will be filled in the event PBO(PROCESS BEFORE OUTPUT) or before the screen is displayed.In this method we use function module VRM_SET_VALUES to fill the values and pass it to the i/o field.
    If a function code is attached to the list box the selection of a value triggers a PAI
    otherwise PAI will not trigger.
    Example
    Dropdown list boxes
    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 LIKE SY-UCOMM,
          SAVE_OK LIKE 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(BCTRAIN) WITH TEXT-001 DEMOF4HELP-CARRIER2
                                            DEMOF4HELP-CONNID.
      ENDIF.
    ENDMODULE.
    Reward if useful.
    Thank you,
    Regards.

  • How to create 2/3 dropdown lists

    How to create 2/3 dropdown lists that are linked.  The first one answered drives the answer for the second or thrid dropdown box.
    Also can I wrap text in a dropdown list?
    Thanks in advance.

    This is the scripting I tried to use  in the first dropdown list and it doesn't work, any HELP would be appreciated.
    form1.#subform[0].DropDownList1::exit - (JavaScript, client)
    if(this.rawValue=="a")
    DropDownList2a.presence = "visible";
    DropDownList2b.presence = "hidden";
    DropDownList2c.presence = "hidden";
    else if (this.rawValue == "b")
    DropDownList2a.presence = "hidden";
    DropDownList2b.presence = "visible";
    DropDownList2c.presence = "hidden";
    else if (this.rawValue == "c")
    DropDownList2a.presence = "hidden";
    DropDownList2b.presence = "hidden";
    DropDownList2c.presence = "visible";
    Thanks in advance

Maybe you are looking for