DATA:vid TYPE vrm_id , "屏幕字段(可以是单个的I/O空间或者是Table Control中的一个单元格) list TYPE vrm_values, value LIKE LINE OF list. DEFAULT '. “选择条件字段 *初始化时下拉框赋值 INITIALIZATION. AT SELECTION-SCREEN OUTPUT REFRESH LIST . VALUE-KEY = ' . "这个就是变量P_LIST的值 VALUE-TEXT =…
一.选择屏幕下拉框. DATA: g_vrmid TYPE vrm_id, "id of value set gt_vlist TYPE vrm_values, "internal table of list gs_vlist TYPE vrm_value. "wa of gt_vlist. SELECTION-SCREEN BEGIN OF BLOCK bl1 WITH FRAME TITLE text-001. PARAMETERS: p_lsbox TYPE c AS…