ABAP ALV LVC三种选择框设置方式 |
您所在的位置:网站首页 › 单元格怎么设置可选模式 › ABAP ALV LVC三种选择框设置方式 |
REUSE_ALV_GRID_DISPLAY_LVC有三种方式设置选择框 第一种:fieldcat上设置checkbox1、 fieldcat和layout声明 3、设置fieldcat 1、变量声明 3、调用REUSE_ALV_GRID_DISPLAY_LVC CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY_LVC' EXPORTING i_callback_program = sy-repid i_callback_pf_status_set = gc_callback_satus i_callback_user_command = gc_callback_user_command * it_events = gv_events is_layout_lvc = gs_layout it_fieldcat_lvc = git_fcat i_save = 'A' TABLES t_outtab = gt_alv EXCEPTIONS program_error = 1 OTHERS = 2. 第三种:layout设置sel_mode1、变量声明 2、设置layout 注意参数 box_fname 不能赋值,否则sel_mode 不起作用。 3、调用REUSE_ALV_GRID_DISPLAY_LVC CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY_LVC' EXPORTING i_callback_program = sy-repid is_layout_lvc = gs_layout it_fieldcat_lvc = gt_fieldcat i_callback_user_command = gc_f_user_command "F_USER_COMMAND i_callback_pf_status_set = gc_f_set_status "F_SET_STATUS i_save = gc_mode_a "A it_events = gt_events TABLES t_outtab = gt_data EXCEPTIONS program_error = 1 OTHERS = 2. |
今日新闻 |
推荐新闻 |
CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3 |