5. I_GRID_TITLE 参数属性 该参数为 ALV 小标题,位于 ALV 抬头信息下方;示例如下: DATA: i_grid_title TYPE lvc_title . i_grid_title = '小标题' . CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY_LVC' EXPORTING i_callback_program = sy-repid " 当前程序 i_callback_top_of_page = 'FRM_TOP_OF_PAGE...
l_mine LIKE w3mime OCCURS 10, l_title TYPE string, l_filename TYPE string, l_path TYPE string, l_fullpath TYPE string. l_name-relid = 'MI'. l_name-objid = 'Z_ALV.XLS'. l_name-text = sy-title. CONCATENATE 'Z_ALV测试_' sy-uname '_' sy-datum '_' sy-uzeit INTO l_title ...
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY_LVC' EXPORTING I_CALLBACK_PROGRAM = 'SY-REPID' I_GRID_TITLE = '在庫一覧表' IT_FIELDCAT_LVC = CAT1 TABLES T_OUTTAB = TA22 . END-OF-SELECTION. 执行后的效果图: part3:代码按顺序解释。 REPORT ALV123. *---构造和内表的作成。 TYPES: BEGIN OF ...
IS_LAYOUT_LVC = I_LAYOUT IT_FIELDCAT_LVC = I_FIELDCAT I_CALLBACK_PF_STATUS_SET = 'F_SET_STATUS' " FORM 名称 I_CALLBACK_USER_COMMAND = 'F_USER_COMMAND' " FORM 名称 I_SAVE = 'X' I_GRID_TITLE = M_BUFFER TABLES T_OUTTAB = I_ZMLPRTOPO EXCEPTIONS PROGRAM_ERROR =1 OTHERS = ...
i_grid_title= i_grid_title 2.3. 2.3.1 i_callback_pf_status_set ='F_SET_STATUS' 当然该子FORM和产生表头的子FORM一样,也不显式的调用,代码如下: FORMf_set_statusUSINGp_extabTYPEslis_t_extab . SETPF-STATUS'Z_ALV_STATUS'. ENDFORM." f_set_status 双击其中的“Z_ALV_STATUS”,进入创建工...
I_GRID_TITLE = 'SAP干货铺测试' IS_LAYOUT = GS_LAYOUT IT_FIELDCAT = GT_FIELDCATALOG * I_STRUCTURE_NAME = 'SPFLI' TABLES T_OUTTAB = GT_DATA EXCEPTIONS PROGRAM_ERROR = 1 OTHERS = 2. IF SY-SUBRC <> 0. * Implement suitable error handling here ...
SELECTION-SCREENBEGIN OF BLOCKb2WITHFRAMETITLEtext-030. PARAMETERS:p_variTYPEdisvariant-variant. SELECTION-SCREENEND OF BLOCKb2. 屏幕F4: 布局参数 I_SAVE保存选项: 1:I_SAVE = SPACE. 布局不能被保存 2:I_SAVE = 'U'. 仅自定义的布局可以被保存 ...
I_CALLBACK_USER_COMMAND:ALV User Command Subroutine(子程序),实现对应菜单项及相应事件功能I_CALLBACK_TOP_OF_PAGE:ALV抬头内容信息...: 禁用行选择 NO_TOOLBAR 1 类型 LVC_TOOLB CHAR 1 0 ALV 控制: 隐藏工具栏 GRID_TITLE 1 类型 LVC_TITLE CHAR 70 0 ALV 控制ALV...
i_grid_title= i_grid_title 2.3.自定义“工具栏” 2.3.1.在显示ALV的函数的输入参数里指定自定义按钮的子FORM i_callback_pf_status_set ='F_SET_STATUS' 当然该子FORM和产生表头的子FORM一样,也不显式的调用,代码如下: FORMf_set_statusUSINGp_extabTYPEslis_t_extab . SETPF-STATUS'Z_ALV_STATUS'...
i_grid_title= i_grid_title 2.3. 2.3.1 i_callback_pf_status_set ='F_SET_STATUS' 当然该子FORM和产生表头的子FORM一样,也不显式的调用,代码如下: FORMf_set_statusUSINGp_extabTYPEslis_t_extab . SETPF-STATUS'Z_ALV_STATUS'. ENDFORM." f_set_status 双击其中的“Z_ALV_STATUS”,进入创建工...