Dear Experts,
Can any one let me know if i can display a Search help as a Drop down.
I know how to get it from a table
The Syntax in GET_P Method.(Unlike the below code i would like to fill lt_keypair from a Search help .
DATA : lt_keypair TYPE bsp_wd_dropdown_table,
ls_keypair TYPE bsp_wd_dropdown_line,
lr_dropdown TYPE REF TO cl_crm_uiu_ddlb.
ls_keypair-key = ' '.
ls_keypair-value = 'All'.
APPEND ls_keypair TO lt_keypair. ( Or from a database Table).
CREATE OBJECT lr_dropdown
EXPORTING
iv_source_type = 'T'.
lr_dropdown->set_selection_table( it_selection_table = lt_keypair ).
rv_valuehelp_descriptor = lr_dropdown.