Dropdown List 설정
보통 WDDOINIT or WDDOMODIFYVIEW method에 추가한다.
DATA: wd_node_info TYPE REF TO if_wd_context_node_info.
DATA: wd_element_info TYPE REF TO if_wd_context_node_info.
DATA: lt_value TYPE wdr_context_attr_value_list.
DATA: ls_value TYPE wdr_context_attr_value.
DATA: wd_element_info TYPE REF TO if_wd_context_node_info.
DATA: lt_value TYPE wdr_context_attr_value_list.
DATA: ls_value TYPE wdr_context_attr_value.
* ALV List Setting
set_alv_conf( ).
wd_node_info = wd_context->get_node_info( ).
wd_element_info = wd_node_info->get_child_node( name = ‘GS_INPUT’).
* 평가그룹 Dropdown List 설정
CLEAR: lt_value.
SELECT code2 AS value description2 AS text FROM zmmt1000
INTO CORRESPONDING FIELDS OF TABLE lt_value
WHERE code1 EQ ‘1005’
AND code2 NE ‘@@@@’.
wd_element_info->set_attribute_value_set( name = ‘EVLID’ value_set = lt_value ).
Subscribe
Login
0 Comments
Oldest