Skip to Content
Former Member
Apr 28, 2009 at 06:07 PM

drop down not holding


Hye All,

I am new to BSP MVC. I have a requirement which is

chained drop down, implemented by going through the

SDN, but i am struck up at this point.

My requirement is i have 3 drop down

1. customer drop down 2. parent circle drop down 3. Sub

circle drop down.

I have to populate parent drop down data based on

customer drop down, and sub circle drop down data using

parent drop down.

i have got the values of customers in first drop down.. ie.. customer. now based on customer i have to populate the data in second drop down.

for this i am writing DO_HANDLE_EVENT

DATA: event_id TYPE REF TO if_htmlb_data,
       ddlb_event TYPE REF TO cl_htmlb_event_selection.

  event_id = cl_htmlb_manager=>get_event( request ).
  IF event_id IS NOT INITIAL.
    ddlb_event ?= event_id.
    CASE ddlb_event->id.

      WHEN 'SEL_CUST'.

        DATA: ddlbcust TYPE REF TO cl_htmlb_dropdownlistbox.
        ddlbcust ?= cl_htmlb_manager=>get_data(
                                           request = runtime->server->request
                                           name    = 'dropdownListBox'
                                           id      = 'ddcust'
        IF ddlbcust IS NOT INITIAL.
          MOVE ddlbcust->selection  TO gv_cust.


but the value is not stored in gv_cust. As the selected value is not held in the drop down list box. Please help.

Also, my second concern is when i am putting a breakpoint on one of the statements and executing the controller class, it is not stopping at the break points. Please help me in debugging also. Is the debugging here different from that of BSP with Page flow logic.

Awaiting replys.



Edited by: IMRAN PASHA on Apr 28, 2009 8:13 PM