Dropdownlistbox

Hello,
we have 2 dropdownlistboxes in a MVC based BSP Applikation. Depending the selection of the first dropdownlistbox, we want to set the attribute "disabled" of the second dropdownlistbox, so the user cannot select anymore from the second dropdownlistbox.
If we switch back the selection of the first dropdownlistbox the user should be able again to select values from the second one.
it works fine the first time we call the page, but not when we change the selection.
any help is greatly appreciated.
thx and regards from Michael

Hi Mike,
glad to help.
The issue with binding to the model is that the user interaction forces a HTTP request back to the server whereas the client-side scripting technique does not.
IMHO the server callback diminishes the user experience.
Cheers
Graham Robbo

Similar Messages

  • How to read vales from dropdownlistbox placed in tableView Cells

    Hi,
      Thanks for reply.. I got problem of reading values from Dropdownlist box placed in tableView Cells. Please correct me or give some sample to read vales from dropdownlistbox placed in tableView Cells.
    TableView column defined as
            <htmlb:tableViewColumn columnName = "OT_REASON_CODE"
                                   title      = "OT Reason"
                                   type       = "User"
                                   width = "6"
                                   edit       = "true" >
              <htmlb:dropdownListBox id                = "rcode"
                                     table             = "<%= I_YH008 %>"
                                     nameOfKeyColumn   = "OT_REASON_CODE"
                                     nameOfValueColumn = "OT_REASON_DESC" />
            </htmlb:tableViewColumn>
    OnInput processing I am trying to read dorpdown list values selected.
              W_YH022-ENDUZ = TABLE_EVENT->GET_CELL_VALUE(
              ROW_INDEX = SY-TABIX
              COLUMN_INDEX = 3 ).  " Get time
    DATA: data TYPE REF TO CL_HTMLB_DROPDOWNLISTBOX.
    DATA: value type string.
         value = TABLE_EVENT->GET_CELL_ID( row_index    = SY-TABIX
                                      column_index = '7').  " get Cell ID
    data ?= CL_HTMLB_MANAGER=>GET_DATA(
                                     request = runtime->server->request
                                     name    = 'dropdownlistbox'
                                     id      = value
    IF data IS NOT INITIAL.
    W_YH022-OT_REASON_CODE = data->selection. " +Cell Values...I am not getting cell values here+
    endif.

    Hi:
    Do like this
    Layout
          <htmlb:dropdownListBox id="mydropdownlist" >
            <htmlb:listBoxItem key   = "bpno"
                               value = "Business Partner Details" />
            <htmlb:listBoxItem key   = "bpaddress"
                               value = "Business Partner Address" />
          </htmlb:dropdownListBox>
    OnInpurProcessing event - >
    DATA: lcl_dropdown TYPE REF TO cl_htmlb_dropdownlistbox.
    data : selection2 type string.
    lcl_dropdown ?= cl_htmlb_manager=>get_data(
        request = runtime->server->request
        name    = 'dropdownListBox'
        id      = 'mydropdownlist' ).   
    IF NOT lcl_dropdown->selection IS INITIAL.
      selection2 = lcl_dropdown->selection.
    ENDIF.
    Regards
    Shshi

  • Display of  icons in the items of dropdownListBox for a single item

    Dear BSP Gurus,
    Do you know if it is possible to display icons in the items of dropdownListBox for every single item?
    To assign and display icon to buttons I do:
        lv_image->id = 'UserSelectionCancel2'.
        lv_image->src = '/sap/public/bc/icons/s_B_OKYE.gif'.
        lv_image->tooltip = ''.
        clear lv_image_string.
        lv_image_string = lv_image->IF_BSP_BEE~RENDER_TO_STRING( page_context ).
                  %>
                  <xhtmlb:toolbarButton id      = "<%= ywfx1_b_bcontinueWF %>"
                                        design  = "STANDARD"
                                        text    = "<%= lv_image_string %> <%= otr(YWF11/ContWF) %>"
    But I could not managed to do it for the " <htmlb:dropdownListBox ...".
    We have application developed in ABAP WebDynpro and there it is possible, so I want to do exactly the same with BSP.
    Any idea?
    Thanks in advance,
    Valentin

    Hallo Alexandre,
    But what if I use table for defining the items?
    Like:
    htmlb:dropdownListBox id  = "DropDownCommands"
                      table             = "<%= application->mt_commands %>"
                      nameOfKeyColumn   = "VAL_COMMAND".."
    Where "application->mt_commands" is table of strings?
    Would it be some how possible?
    Regards,
    Valentin

  • How to set a default value in a dropdownlistbox

    Hi,
    In CRM 2007 WEBUII have created a dropdownlistbox (ddlb)  filled with currency codes.
    Now I want the default value of the ddlb to be the currency of the country of the loggedin user, ie : 'EUR'
    Anyone an creative idea how I can achieve this ?
    In first place I need to know how I can set a default value of a ddlb.
    --> ddlb type ref to CL_CRM_UIU_DDLB.
    regards,
    Abjuh

    Hello Wolfgang,
    If the method does not exist yet, you can create it in your enhanced (Z) context node.
    Definition:
    ATTRIBUTE_PATH Importing     Type                  STRING
    ITERATOR          Importing           Type Ref To     IF_BOL_BO_COL_ITERATOR
    VALUE                    Returning        Type                  STRING
    Implementation:
    method GET_BP_GROUP.
        DATA: current TYPE REF TO if_bol_bo_property_access.
        DATA: dref    TYPE REF TO data.
        if iterator is bound.
          current = iterator->get_current( ).
        else.
          current = collection_wrapper->get_current( ).
        endif.
      TRY.
        TRY.
            dref = current->get_property( 'BP_GROUP' ). "#EC NOTEXT
          CATCH cx_crm_cic_parameter_error.
        ENDTRY.
        CATCH cx_sy_ref_is_initial cx_sy_move_cast_error
              cx_crm_genil_model_error.
          RETURN.
      ENDTRY.
        IF dref IS NOT BOUND.
          value =''
          RETURN.
        ENDIF.
        TRY.
            value = if_bsp_model_util~convert_to_string( data_ref = dref
                                        attribute_path = attribute_path ).
          CATCH cx_bsp_conv_illegal_ref.
            FIELD-SYMBOLS: <l_data> type DATA.
            assign dref->* to <l_data>.
    *       please implement here some BO specific handler coding
    *       conversion of currency/quantity field failed caused by missing
    *       unit relation
    *       Coding sample:
    *       provide currency, decimals, and reference type
    *       value = cl_bsp_utility=>make_string(
    *                          value = <l_data>
    *                          reference_value = c_currency
    *                          num_decimals = decimals
    *                          reference_type = reference_type
            CONCATENATE <l_data> '-CURR/QUANT CONV FAILED-' INTO value
                        SEPARATED BY space.                 "#EC NOTEXT
          CATCH cx_root.
            value = '-CONVERSION FAILED-'.                  "#EC NOTEXT
        ENDTRY.
        if value is initial.
         value = 'Your default value'.
        endif.
    endmethod.
    Regards,
    Fabian

  • Sample code on how to populate data in DropDownListbox

    Hi all
    i am new to the webdynpro for java.
    i have one UI element called DropDownListBox and i want to populate some desired values to the dropdown list box.
    what are the different ways are there to populate data in DropDownList box.
    for example i have city as dropdownlist box and i want to populate some values in drop downlistbox like bangalore,hyderabad,chennai and delhi,
    can you pls send the sample code on the same?
    Regards
    Suresh Babu

    Hi,
    If you want to retrieve the city names then you can use the standard tables in R/3.
    We have countries list in T500T. Like this we have table for the cities also.
    Or
    You can manually populate a table and bind this table to the list box.
    Please check out this link -
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/ded11778-0801-0010-258f-ac3b9408a194
    http://help.sap.com/saphelp_nw70/helpdata/EN/74/450e8af57065468e88e4b86de47e4b/frameset.htm
    Regards
    Lekha

  • Event handler for dropdownlistbox how to determine selection ?

    Hello,
    As a newby in BSP programming, I'm trying to build a small application with a menu structure . This menu is defined in a page fragment and consists of dropdownlistboxes. The event handling is located in the main page which contains the page fragment.
    My problem is that I cannot get these dropdownlist boxes to work. The coding in the page fragment is :
    ==========================
    <htmlb:content>
      <htmlb:form>
        <htmlb:dropdownListBox id             = "myDropdownListBox1"
                                 tooltip        = "Tooltip for my DropdownListBox"
                                 onClientSelect = "alert('myDropdownListBox1')"
                                 onSelect       = "mySelect" >
            <htmlb:listBoxItem key   = "k1"
                               value = "MenuChoice1" />
            <htmlb:listBoxItem key   = "k2"
                               value = "MenuChoice2" />
            <htmlb:listBoxItem key   = "k3"
                               value = "MenuChoice3" />
            <htmlb:listBoxItem key   = "k4"
                               value = "MenuChoice4" />
            <htmlb:listBoxItem key   = "k5"
                               value = "MenuChoice5" />
            <htmlb:listBoxItem key   = "k6"
                               value = "MenuChoice6" />
          </htmlb:dropdownListBox>
        </htmlb:form>
    </htmlb:content>
    ==========================
    The event handler ( OnInputProcessing ) code is :
    ==========================
    CLASS CL_HTMLB_MANAGER DEFINITION LOAD.
      DATA: event TYPE REF TO if_htmlb_data,
            ddlb_event TYPE REF TO CL_HTMLB_EVENT_SELECTION.
      event = CL_HTMLB_MANAGER=>get_event( runtime->server->request ).
      IF event IS NOT INITIAL AND event->event_name =
                 'dropdownListBox'.
          ddlb_event ?= event.
        CASE event->event_id.
          WHEN 'myDropdownListBox1'.
            CASE ddlb_event->selection.
           WHEN 'k1'.
            .......( Contains other statements )
           WHEN 'k2'.
            .......( Contains other statements )
           WHEN 'k3'.
            .......( Contains other statements )
           WHEN 'k4'.
            .......( Contains other statements )
           WHEN 'k5'.
            .......( Contains other statements )
           WHEN 'k6'.
            .......( Contains other statements )
         ENDCASE.
        ENDCASE.
        ENDIF.
    ==========================
    I have tried several different event handlers including the example in the documentation of the dropdownlistbox HTMLB element, but in the event handler I don't know how to determine the selection made.
    I would appreciate it hugely if someone could give me an example how to do this ?
    With regards,
    Fred van de Langenberg

    Hello,
    Thanks for your answers & suggestions Subramanian, Ulli & Sebastian.
    I forgot the <htmlb:content> tags ( thanks Ulli ) and eventually I got things working with the following :
    Main page layout : dopdownlistbox element
       <htmlb:dropdownListBox
                id          = "Ddlb1"
                onSelect    = "OnInputProcessing" >
                selection   = "<%= selection1 %>"
            <htmlb:listBoxItem key   = " "
                               value = " "/>
            <htmlb:listBoxItem key   = "k1"
                               value = "k1" />
            <htmlb:listBoxItem key   = "k2"
                               value = "k2" />
            <htmlb:listBoxItem key   = "k3"
                               value = "k3" />
            <htmlb:listBoxItem key   = "k4"
                               value = "k4" />
            <htmlb:listBoxItem key   = "k5"
                               value = "k5" />
          </htmlb:dropdownListBox>
    Event handler
    CLASS CL_HTMLB_MANAGER DEFINITION LOAD.
    IF event_id = CL_HTMLB_MANAGER=>EVENT_ID.
    Scenario 1: Read event from manager.
      DATA: event TYPE REF TO CL_HTMLB_EVENT.
      event = CL_HTMLB_MANAGER=>get_event( runtime->server->request ).
      IF event IS NOT INITIAL AND event->name = 'dropdownListBox'.
        DATA: data TYPE REF TO CL_HTMLB_DROPDOWNLISTBOX.
        data ?= CL_HTMLB_MANAGER=>GET_DATA(
                  request = runtime->server->request
                  name    = 'dropdownListBox'
                  id      = 'Ddlb1'
         CASE data->selection.
           WHEN 'k1'.
           WHEN 'k2'.
           WHEN 'k3'.
           WHEN 'k4'.
           WHEN 'k5'.
         ENDCASE.
       ENDIF.
    ENDIF.
    Fred van de Langenberg

  • F4 help in dropdownlistbox and values in input fields

    I need a F4 help in dropdown list box. Actually i have 2 more input fields alongwith one dropwdown list box. As per my problem
    if i select one value from F4 help then corresponding other values should bepopulated into input fields. For example in F4 help
    of dropdown box i am getting single selection containg three values "15  LIMAPLANT     45802" after selecting it the "15" should
    be only input entry to dropdownlist box, values "LIMA PLANT" and "45802" should be input entry to other two input fields.

    Look at the below code:
    <b>Oncreate:</b>
            entry-name = '15'.   entry-value = '15'.   APPEND entry TO itab.
            entry-name = 'LIMAPLANT'. entry-value = 'LIMAPLANT'. APPEND entry TO itab.
            entry-name = '45802'.  entry-value = '45802'.  APPEND entry TO itab.
    <b>Layout:</b>
         <htmlb:dropdownListBox id                = "myid"
                                  nameOfKeyColumn   = "NAME"
                                  nameOfValueColumn = "VALUE"
                                  onSelect          = "myclick"
                                  selection = "<%= v_selected %>"
                                  table             = "<%= itab %>" />
        <htmlb:inputField id      = "myinp1"
                                value   = "<%= v_field1 %>"  />
        <htmlb:inputField id      = "myinp2"
                                value   = "<%= v_field2 %>"  />
    <b>Page attribute:</b>
    entry     TYPE     IHTTPNVP
    itab     TYPE     TIHTTPNVP
    <b>To capture the event:
    OnInputprocessing:</b>
    DATA: event TYPE REF TO CL_HTMLB_EVENT.
      event = CL_HTMLB_MANAGER=>get_event( runtime->server->request ).
      IF event->id = 'myclick'.
    CALL METHOD request->get_form_field
          EXPORTING
            name  = 'myid'
          RECEIVING
            value = v_selected.
    clear: v_field1, v_field2.
    Loop at itab into entry where name NE v_selected.
    if v_field1 is initial.
    v_field1 = entry-value.
      else.
      v_field2 = entry-value.
      endif.
    endloop.
    endif.
    This will solve your problem..
    <b>* Reward each useful answer</b>
    Raja T

  • Blank line in dropdownlistbox with helpValues

    Hello at all,
    how can I get a blank line in a dropdownlistbox, which get's the values with helpValues.
    In the helpValues there is no blank line.
    Thanks in advanced.
    Tina

    I used the id of htmlb:dropdownlistbox for document. getElementById.
    <htmlb:dropdownListBox id   = "ddezasp"
                                       selection         = "//kunde/bkto_change.ezasp"
                                       nameOfKeyColumn   = "ZAHLS"
                                       nameOfValueColumn = "TEXTL"
                                       helpValues        = "//kunde/bkto_change.ezasp" />
                < script>
                var myselect = document. getElementById("ddezasp");
                myselect. options[0] = new Option('', '');
                < /script>
    The code in my view is without leading spaces.
    Edited by: Tina Trenkler on Feb 12, 2008 1:15 PM

  • Changing the value of the dropdownListBox as per the selection of the previ

    Hi all,
        there are three dropdownListBox in my application.
    if i select the listitem from first dropdownlistbox accordingly the listitems of the second dropdownlistbox should be updated.
    for eg: if i select vegetables in my first dropdownlistbox then accordingly the second dropdownlistbox should get the vegetable names from the vegetable table in the database and display....and so on...
    if i select fruits in my first dropdownlistbox then accordingly the second dropdownlistbox should get the fruits names from the fruits table in the database and replace the vegetable list before and display......
    kindly help me in this regard.
    regards,
    Joshua

    From what I understood you need to know how to update those dropdownListBoxes, isn't it?
    If these is your question, here's what you have to do:
    If you create the dropdownListBoxes in jsp, the htmlb tag dropdownListBox has an atribute <b>onSelect</b>. If you create the dropdownListBoxes in java there is a method in DropdownListBox class named  <b>setOnSelect</b>.
    The value has to be the name of a function where you will define the action that will be processed when the user clicks on the enabled dropdownListbox. If for example the name you have chosen is <i>selectFirstList</i>, in the class that extends JSPDynPage you will need to have
    public void selectFirstList(Event event) throws PageException
    or
    public void onSelectFirstList(Event event) throws PageException
    In this function you will have to acces the database, obtain the result and pass it to the dropDownListBox. You will also need to create a model for the dropdownListBox.
    My suggestion is to consult the java development content. There you will find some examples.
    For the htmlb tags check this site: http://www.sapdesignguild.org/resources/htmlb_guidance/index.html
    Hope I made my self understood and Good Luck.

  • A DropDownListbox in a TableViewColumn

    Good Morning,
    i will take a dropdownlistbox in a tableview, but there is a mistake in the site.
    i need this, for example:
    <htmlb:tableView id                   = "test"
                       headerText           = "test"
                       headerVisible        = "FALSE"
                       tabIndexCell         = "FALSE"
                       fillUpEmptyRows      = "TRUE"
                       design               = "TRANSPARENT"
                       table                = "<%= it_mabody %>"
                       visibleRowCount      = "4"
                       visibleFirstRow      = "1"
                       navigationMode       = "BYLINE">
        <htmlb:tableViewColumns>
          <htmlb:tableViewColumn title             ="Status"
                                 columnName        ="GESTAT"
                                 type              ="user">
            <htmlb:dropdownListBox id                = "combo"
                                   nameOfKeyColumn   = "key"
                                   nameOfValueColumn = "value"
                                   table             = "<%= it_gestat %>">
            </htmlb:dropdownListBox>
          </htmlb:tableViewColumn>
        </htmlb:tableViewColumns>
    </htmlb:tableView>
    1.)
    But it doesn't display the comboBox into the FIRST ROW of the table. The other rows were display correct.
    2.)
    The other Problem is, how can i preselection to the dropdownlistbox. the <itab> "it_gestat" has some lines inside, but it must preselected the right row on the screen?
    Thanks a lot and sorry for the bad english
    Edited by on Oct 27, 2008 10:27 AM
    Edited by on Oct 27, 2008 10:28 AM

    Hi,
    thanks for the fast help ... that is a good example and a very good help for the problem.
    king regards,

  • Chained Dropdownlistbox - MVC

    Hi All,,
       I have 2 dropdownlist box in my view. i.e, COURSEGROUP and COURSE. When an entry in coursegroup listbox is selected , the COURSE listbox should be enabled and corresponding entries should be filled into the list items.
    I have initially disabled the COURSE listbox.
    I'm not using Model class for data binding.
    My problem is:
    When an OnSelect event occurs for COURSEGROUP list box, the control of program is going back to DO_REQUEST method and displays the same screen as earlier. The control is not entring the DO_HANDLE_EVENT method of controller..
    I can also send the code if required.
    Please help me out,,
    Thanks in advance,,
    Sachidanand.B

    Hi,
    Check out this weblog for server side operation of chained drop down list box:
    /people/durairaj.athavanraja/blog/2004/12/20/bsphow-to-chained-dropdownlistbox
    You can also go for client side (JS) check this link.
    http://www.dynamicdrive.com/dynamicindex16/chainedselects/index.htm
    Regards,
    Ravikiran.

  • Avoid redundancy in dropdownlistbox choice

    Hi Experts,
    I have a table and a dropdownlistbox.
    What's the easiest possibilities to avoid that double entries are shown in the dropdownlistbox?
    Thank you very much in advance!

    Hi ,
    For a DDLB(DropdownListBox) we have to pass an internal table to display values...
    So the best way would be to use select distinct while populating the internal table....
    What we normally do is use a table of type TIHTTPNVP.
    eg.
    <%
      DATA : gt_tab type TIHTTPNVP,
              gs_tab type IHTTPNVP
              itab type standard table of ZTABLE,
              wa type ZTABLE.
    select distinct FIELD1 from ZTABLE into corresponding fields of table itab.
    loop at itab into wa.
      gs_tab-NAME = wa-FIELD1.
      gs_tab-VALUE = wa-FIELD1.
      append gs_tab to gt_tab.
    endloop.
    %>
    Then pass this gt_tab to ur DDLB...!
    eg.
    <htmlb:dropdownListBox id = "DDLB"
    table             = "<%= gt_tab %>"
    nameOfKeyColumn   = "NAME"
    nameOfValueColumn = "VALUE"
    width             = "100%"
    onSelect          = "onInputProcessing"
    />
    Hope this helps.
    <b><i>Do reward each useful answer..!</i></b>
    Thanks,
    Tatvagna.
    Message was edited by:
            Tatvagna Shah

  • Change color of dropDownListBox

    Hello,
    I want to change the color of dropDownListBox's line .
    Is-it possible ?
    Best regards,
    Thierry Chiret

    hi
    did you find an answer to your question?
    i want to change several properties of the drop-down...
    cheers
    tom

  • BSP Application : DropdownListbox

    Hello Experts,
    I have a drop down list in my BSP Application. I have build the dropdown using internal table.
            <htmlb:dropdownListBox id                = "REV_STAT"
                                   table             = "<%= int_stat_typ %>"
                                   selection         = "<%= application->wf_stat_typ %>"
                                   nameOfKeyColumn   = "ZE_REV_STAT"
                                   nameOfValueColumn = "ZE_REV_STAT_DESC" />
    1. INPROGRESS
    2. SURVEYED
    3 CLEAN UP FINALISED.
    In the page I have a save button. Intially the list is displayed in above order and INPROGRESS Status is visible in dropdown list. I change the status to CLEAN UP FINALISED and save.
    Next time when I return to page according to selection I require to display CLEAN UP FINALISED . Now the page is displaying the INPROGRESS Status not the saved entry.
    The application->wf_stat_typ holds the Key and desc of CLEAN UP FINALISED .
    How can I implement it. Please help ?

    Hi Thomas,
    I was wondering, if you really want to have an editable DropDownlistbox, did they advise anything?
    And, what do you think; should I go ahead and extent the THTMLB library with a ZDropDownlistbox which doesn't use the 'timepicker' javascript?
    references to my questions:
    BSP extensions: THTMLB
    dropdownlistbox classes: CL_THTMLB_DROPDOWNLISTBOX, CLG_THTMLB_DROPDOWNLISTBOX
    In the class: CL_THTMLB_DROPDOWNLISTBOX method IF_BSP_ELEMENT~DO_AT_END calls this JavaScript
    *     Building a unique variable name (simply based on a new tag ID):
          lv_guid_str = me->generate_tag_id( ).
          CONCATENATE  'v_' lv_guid_str
                 INTO  js_unlisted_timepicker_key.              "#EC NOTEXT
    *     Building the script retrieving the KEY and saving it into that variable:
          CONCATENATE  `var ` js_unlisted_timepicker_key
                       ` = thtmlbConvertTimeToKey("`
                       js_new_selected_value
                       `"); `
                 INTO  lv_script.
    Kind regards,
    Sander

  • Default Value for DropdownListBox

    Hi
    does anyone know how to default a value for a Dropdownlistbox? I have a list of countries but want to default a certain country with the option for the user to over-ride.
    <b>Page Attributes</b>
    l_selcountry TYPE STRING
    l_country TYPE TIHTTPNVP
    <b>OnInitialization</b>
    l_selcountry = '23'.
    <b>layout</b>
    <htmlb:dropdownListBox id   = "id_country"
           nameOfKeyColumn   = "NAME"
           nameOfValueColumn = "VALUE"
           selection         = "<%= l_selcountry %>"
           table             = "<%= l_country %>" />
    Thanks
    Ben

    Hi
    this is what I have in <b>OnInitialization</b>
    DATA: wa_country  TYPE ihttpnvp.
    data: i_cnt type i.
    ***[COMMENT]: Get the list of all Countries
    select LANDX from t005t into wa_country-value where spras = sy-langu.
        add 1 to i_cnt.
        wa_country-name = i_cnt.
        append  wa_country to l_country.
    endselect.
    so I thought by passing a number i.e. to the variable: l_selcountry = '23' the country with the value of 23 would appead in the Layout:
    <htmlb:dropdownListBox id                = "id_country"
       nameOfKeyColumn   = "NAME"
       nameOfValueColumn = "VALUE"
       selection         = "<%= l_selcountry %>"
       table             = "<%= l_country %>" />
    but alas, the first country in the list defaults.

  • Time formatet string in thtmlb dropdownlistbox after enter key or tab key

    Dear Collegues,
    In our BSP-Application we use the thtmlb:dropdownlistbox. It's configured as you can see below in the code cutout:
    DATA: wa_result type ZZPRBRS_PRSRG.
                      %>
                      <td>
                      <thtmlb:dropdownListBox id        = "DD_PREISREGEL"
                                              selection = "<%= DD_PREISREGEL %>"
                                              editable  = "TRUE" >
                        <%
      loop at APPLICATION->PRREG_TAB into wa_result.
                        %>
                        <thtmlb:ddlbItem key   = "<%= wa_result-PRSRG %>"
                                         value = "<%= wa_result-PRSRG %>" />
                        <%
      endloop.
      clear wa_result.
                        %>
                      </thtmlb:dropdownListBox>
    As you can see the ddlb is set as editable.
    So far so good.
    But when we edit the entry in the box and leave the box with ENTER KEY or TAB KEY the controlle change the format of the entry to a kind of time format. Excamlpe:
    We choose the entry GSVIES2 (one of the list entries) and we edit it to GSVIES22 the controll change it to 22:00. Longer entries will be changed to an entry like xx:xx:xx.
    The wa_result-PRSRG for the entries is an char(12).
    I found no notes about this issue.
    Does anybody know this behave?
    How can we avoid that changing after editing?
    Kind regards
    Thomas

    Hi Thomas,
    I was wondering, if you really want to have an editable DropDownlistbox, did they advise anything?
    And, what do you think; should I go ahead and extent the THTMLB library with a ZDropDownlistbox which doesn't use the 'timepicker' javascript?
    references to my questions:
    BSP extensions: THTMLB
    dropdownlistbox classes: CL_THTMLB_DROPDOWNLISTBOX, CLG_THTMLB_DROPDOWNLISTBOX
    In the class: CL_THTMLB_DROPDOWNLISTBOX method IF_BSP_ELEMENT~DO_AT_END calls this JavaScript
    *     Building a unique variable name (simply based on a new tag ID):
          lv_guid_str = me->generate_tag_id( ).
          CONCATENATE  'v_' lv_guid_str
                 INTO  js_unlisted_timepicker_key.              "#EC NOTEXT
    *     Building the script retrieving the KEY and saving it into that variable:
          CONCATENATE  `var ` js_unlisted_timepicker_key
                       ` = thtmlbConvertTimeToKey("`
                       js_new_selected_value
                       `"); `
                 INTO  lv_script.
    Kind regards,
    Sander

Maybe you are looking for

  • SharePoint 2013 site collection 'upgrade completed with errors'

    Hi All,  I am in process to upgrade SharePoint 2010 to SharePoint 2013 with all steps as mentioned in TechNet.  I was able to get all the SP2010 UI in SP2013 environment. However, when I navigated to top level site and clicked on “Site Collection hea

  • Problem with saving PDF in Preview

    When I open PDF file in Preview in OS 10.5. (make changes) and save it as PDF again, this pdf file does not display corectly on PC. Fonts are missing. When I save in Acrobat, everything is correct. I looked on the information about saved pdf, and Pre

  • Saving and acquiring measurement state on vibration measurement

    Background: I use HP3566A which is multisignal spectrum analyzer. I used it to acquire and analyze vibration response from a machine. I would like to make an imitation of HP3566A by using DAQCard PCI-4451. I use LabVIEW7.1+SVT 3.1 to develop a dynami

  • I get an error message when I try to burn to disc

    I get an error message when I try to burn Playlists.  It says no burning software found.  I have deleted ITunes and reinstalled it but I still get that message.

  • Purchasing gift certificates

    Trying to buy gift certificate, but get message "Apple ID is not currently eligible to purchase gift certificates." Help?