on 2018 Mar 26 7:45 PM
hi expert
i am new in sap crm i redefine the get_dequery_definition in impl class but not getting the drop down in web ui plzz solve my issue.
code which i write in
get_dequery_definition
METHOD get_dquery_definitions.
data:
ls_ddlb type CRMS_THTMLB_SEARCH_DDLB_NVP.
field-symbols: <rt_result> type CRMS_THTMLB_SEARCH_FIELD_INFO.
DATA lt_part_status_ddlb TYPE crmt_thtmlb_search_ddlb_nvp.
DATA ls_part_status_ddlb LIKE LINE OF lt_part_status_ddlb.
DATA lt_part_usage_ddlb TYPE crmt_thtmlb_search_ddlb_nvp.
DATA ls_part_usage_ddlb LIKE LINE OF lt_part_usage_ddlb.
DATA lt_drop_point_ddlb TYPE crmt_thtmlb_search_ddlb_nvp.
DATA ls_drop_point_ddlb LIKE LINE OF lt_drop_point_ddlb.
DATA lr_controller TYPE REF TO ZL_ZBP_SEAR_BPSEARCHA_IMPL .
CALL METHOD SUPER->GET_DQUERY_DEFINITIONS
RECEIVING
RT_RESULT = rt_result.
* DDLB for field "Bp Role"
read table rt_result with key field = 'CHANGE_USER'(001) assigning
<rt_result>.
if sy-subrc = 0.
ls_ddlb-key = 'key1'(002).
ls_ddlb-value = 'value1'(003).
append ls_ddlb to <rt_result>-DDLB_OPTIONS.
ls_ddlb-key = 'key2'.
ls_ddlb-value = 'value2'.
append ls_ddlb to <rt_result>-DDLB_OPTIONS.
endif.
ENDMETHOD.
Request clarification before answering.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.