REUSE_ALV_GRID_DISPLAY Refresh ALV 一个简单alv显示刷新,懒得写OO的,就直接最简单的用了FM: 之前都是用OO ALV 刷新,这个是FM ALV 的刷新, 做个简单记录吧。 主要代码 CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_structure_name = 'SPFLI' i_callback_program = sy-repid i_callback_pf_status...
CALL METHOD l_grid->refresh_table_display. CASE r_ucomm. WHEN 'DEL'. DELETE lt_alv_show WHERE checkbox = 'X' . WHEN 'ALL'. LOOP AT lt_alv_show ASSIGNING <ls_alv> . <ls_alv>-checkbox = 'X'. ENDLOOP. WHEN 'SAL'. LOOP AT lt_alv_show ASSIGNING <ls_alv> . <ls_alv>-chec...
TRANSPORTING gesch.ENDIF.ENDIF.ENDFORM.FORMrefresh_table_alv .DATA: ls_stblTYPElvc_s_stbl. ls_stbl-row ='X'."ls_stbl-col ='X'.CALLMETHODgo_grid->refresh_table_displayEXPORTINGis_stable=ls_stbl.ENDFORM.FORMpf_status_setUSINGrt_extabTYPEslis_t_extab.SETPF-STATUSSTATUS_ALV-fieldname =GESCH...
DATA:lt_alv_show LIKE TABLE OF ztest_spfli. DATA:i_grid_title TYPE lvc_title. DATA:lv_line TYPE int4. DATA:ls_line TYPE string. DATA:lt_fieldcat TYPE slis_t_fieldcat_alv. DATA:is_layout TYPE slis_layout_alv. FIELD-SYMBOLS LIKE LINE OF lt_fieldcat." CHECKBOX START-OF-SELECTION. ...
转载ABAP-REUSE_ALV_GRID_DISPLAY详解及常见操作 一、函数功能调用 CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_interface_check = '' 接口一致性检查 i_callback_program = sy-repid 当前程序名 is_layout = layout 输出样式 it_fieldcat = fieldcat[] 字段定义描述表...
REUSE_ALV_GRID_DISPLAY超详细讲解一、 REUSE_ALV_GRID_DISPLAY详解 调用功能模块: CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_interface_check = ''接口一致性检查 i_callback_program = sy-repid当前程序名 is_layout= layout输出样式 it_fieldcat = fieldcat[]字段定义描述表 i_callback_pf_...
FUNCTION'REUSE_ALV_GRID_DISPLAY'“显示表单数据 FUNCTION'REUSE_ALV_COMMENTARY_WRITE'“显示表单标题 本文将着重介绍ABAP中显示表单数据REUSE_ALV_GRID_DISPLAY函数中常用参数的含义及用法,REUSE_ALV_LIST_DISPLAY中参数与此类似。 由于本文介绍ALV表单标题输出函数,需要读者对简单ALV报表有所了解。 文档最后通过一个实...
3 设置颜色控制内表 slis_layout_alv 的颜色字段为内表增加的颜色字段 data g_slis_layo type slis_layout_alv. "定义Grid输出颜色控制内表 g_slis_layo-info_fieldname = 'COLOR'. 4 输出记录 call function 'REUSE_ALV_GRID_DISPLAY' exporting i_callback_program = g_repid is_layout = g_slis_layo...
FORM update_alv_tab . DATA : e_grid TYPE REF TO cl_gui_alv_grid. CALL FUNCTION 'GET_GLOBALS_FROM_SLVC_FULLSCR' IMPORTING e_grid = e_grid. CALL METHOD e_grid->check_changed_data. "update_alv_tab CALL METHOD e_grid->refresh_table_display. ENDFORM. " UPDATE_ALV_TAB it seems to ...
ABAP--处理'REUSE_ALV_GRID_DISPLAY'的双击事件 1 定义命令处理Form FORM USER_COMMAND USING R_UCOMM LIKE SY-UCOMM RS_SELFIELD TYPE SLIS_SELFIELD. DATA: VBELN1 LIKE L_SPETAB-VBELN, VBTYP1 LIKE L_SPETAB-VBTYP. RS_SELFIELD-REFRESH = 'X'. "控制grid产生新屏幕...