CALL METHOD l_grid->check_changed_data. CALL METHOD l_grid->refresh_table_display. ** * rs_selfield-refresh = 'X'. * * rs_selfield-col_stable = 'X'. * rs_selfield-row_stable = 'X'. ENDFORM . "ALV_USER_COMMAND 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. ...
之前都是用OO ALV 刷新,这个是FM ALV 的刷新, 做个简单记录吧。 主要代码 CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_structure_name = 'SPFLI' i_callback_program = sy-repid i_callback_pf_status_set = 'FORM_SET_PF_STATUS' i_callback_user_command = 'FRM_COMMAND' TABLES t_outtab...
p_rs_selfield-refresh = 'X'. ENDFORM. " frm_alv_user_command 3.2 显示明细 在使用 REUSE_ALV_GRID_DISPLAY_LVC 时,会发现使用 REUSE_ALV_GRID_DISPLAY 时的双击显示行明细功能没有了; 这是SAP标准程序决定的,REUSE_ALV_GRID_DISPLAY_LVC 已经取消了双击显示行明细功能。 当然,也可以点击工具栏中的放大...
CALL METHOD l_grid->check_changed_data. CALL METHOD l_grid->refresh_table_display. ** * rs_selfield-refresh = 'X'. * * rs_selfield-col_stable = 'X'. * rs_selfield-row_stable = 'X'. ENDFORM . "ALV_USER_COMMAND
EXPORTING i_interface_check = '' 接口一致性检查 i_callback_program = sy-repid 当前程序名 is_layout = layout 输出样式 it_fieldcat = fieldcat[] 字段定义描述表 i_callback_pf_status_set = 'PF_STATUS_SET' 触发事件调用子程序 i_callback_user_command = 'USER_COMMAND' 鼠标事件操作子程序 ...
Solved: Dear all I have an ALV grid using REUSE_ALV_GRID_DISPLAY and I change data during execution. How can I now force the refresh of the grid? (Can I for example
refresh head. clear head. clear: hline, text. hline-typ = 'S'. write: '时间:', g_curdate to text. hline-info = text. append hline to head. write: '客户状态:绿色-老呆死客户,红色-新呆死客户,兰色-超信用额度客户' to text. hline-info = text. write: g_countkunnr to text5....
DATA: VBELN1 LIKE L_SPETAB-VBELN, VBTYP1 LIKE L_SPETAB-VBTYP. RS_SELFIELD-REFRESH = 'X'. "控制grid产生新屏幕 CASE R_UCOMM. WHEN 'BEAN' OR '&IC1'. "双击事件 LOOP AT L_SPETAB WHERE SELK = 'X' . VBELN1 = L_SPETAB-VBELN. ...
系统按钮功能码: 功能代码:函数文本:图标名称: &ETA细节ICON_SELECT_DETAIL &EB9调用报告... ICON_TABLE_SETTINGS &REFRESH刷新ICON_REFRESH &ALL全部选择ICON_SELECT_ALL &SAL取消全选ICON_DESELECT_ALL &OUP按升序排列ICON_SORT_UP &ODN按降序排列ICON_SORT_DOWN &ILT设置过滤器ICON_FILTER©...
REUSE_ALV_GRID_DISPLAY_LVC函数输⼊参数属性的应⽤REUSE_ALV_GRID_DISPLAY_LVC函数输⼊参数属性的应⽤ 前⾯我们讲过, Grid 的输出有两个:REUSE__GRID_DISPLAY 和 REUSE__GRID_DISPLAY_LVC 两者的操作⼤同⼩异,只是后者能更好的和ALV容器结合使⽤,前后则不能;⽽在输⼊参数属性的结构上也...