Quantcast
Channel: SCN: Message List - SAP CRM: Webclient UI - Framework
Viewing all articles
Browse latest Browse all 7775

SAP CRM WEB UI - read custom dropdown field data in my view implementation class

$
0
0

hi guys,

I have a field in my view which I created as dropdown in bsp controller.

how can I read custom dropdown field data in my view implementation class. control must go to the implementation class once I change the value in the dropdown and then I should be able to read the selected dropdown data. How can this be done.. need your expert advice

 

bsp controller .htm code is as follows.

 

    DATA : lv_country TYPE char10,
           lv_langu_conv TYPE char10.
    IMPORT lv_country_mem to lv_country  lv_langu_conv_mem to lv_langu_conv from MEMORY ID 'ERMS'.

    fs_mod-modul = lv_country.
    append fs_mod to t_mod.

    fs_mod-modul = lv_langu_conv.
    append fs_mod to t_mod.
       %>

          <thtmlb:grid cellSpacing = "1"
               columnSize  = "26"
               rowSize     = "1" >
                   <thtmlb:gridCell columnIndex = "1"
                                    rowIndex    = "1"
                                    colSpan     = "6"
                            horizontalAlignment = "RIGHT">
                   <thtmlb:label design = "label"
                                 id     = "HeaderLabel1"
                                 for    = "HeaderInput1"
                                 text   = "Language" />
                   </thtmlb:gridCell>
                    <thtmlb:gridCell columnIndex = "7"
                         rowIndex    = "1"
                         colSpan     = "1"
                         horizontalAlignment = "RIGHT" >

                <htmlb:dropdownListBox id = "myDropdownListDay"
                                 tooltip  = "Quick info for myDropdownListBox">

         <%  LOOP AT t_mod INTO fs_mod. %>

                        <htmlb:listBoxItem  key = "<%=fs_mod%>"
                                    value = "<%= fs_mod %>" />

                            <% ENDLOOP. %>
                       </htmlb:dropdownListBox>
                    </thtmlb:gridCell>
          </thtmlb:grid>


Viewing all articles
Browse latest Browse all 7775

Trending Articles