ls_color_slis-color-int = cl_gui_resources=>list_intensified. ls_color_slis-color-inv = 0. ls_color_slis-nokeycol = con_true. when 3. ls_color_slis-color-col = cl_gui_resources=>list_col_heading. ls_color_slis-color-int = 0. ls_color_slis-color-inv = 0. ls_color_slis-nokey...
ls_color_slis-color-int = 0. ls_color_slis-color-inv = 0. ls_color_slis-nokeycol = con_true. when 2. ls_color_slis-color-col = cl_gui_resources=>list_col_background. ls_color_slis-color-int = cl_gui_resources=>list_intensified. ls_color_slis-color-inv = 0. ls_color_slis-n...
ALV_STYLE_COLOR_INT_KEY(4)TYPEXVALUE'0000000D', ALV_STYLE_COLOR_INT_POSITIVE(4)TYPEXVALUE'0000000E', ALV_STYLE_COLOR_INT_NEGATIVE(4)TYPEXVALUE'0000000F', ALV_STYLE_COLOR_INT_GROUP(4)TYPEXVALUE'00000010', ALV_STYLE_COLOR_INV_BACKGROUND(4)TYPEXVALUE'00000011', ALV_STYLE_COLOR_INV_HEAD...
ls_color_slis-color-int = cl_gui_resources=>list_intensified. ls_color_slis-color-inv = 0. ls_color_slis-nokeycol = con_true. when 5. ls_color_slis-color-col = cl_gui_resources=>list_col_normal. ls_color_slis-color-int = 0. ls_color_slis-color-inv = 0. ls_color_slis-nokey...
rowcolor(4), " 行颜色,设置 layout-info_fname 后,不显示该字段值 colortab TYPE lvc_t_scol, " 单元格颜色styletab TYPE lvc_t_styl, " 单元格样式,如单元格编辑、按钮等 END OF gt_output. DATA: gt_colortab TYPE lvc_t_scol WITH HEADER LINE, " 单元格颜色 gt_styletab TYPE lvc_t_styl...
ALV_STYLE_NO_DELETE_ROW(4)TYPEXVALUE'10000000', ALV_STYLE_BUTTON(4)TYPEXVALUE'20000000', ALV_STYLE_BUTTON_NO(4)TYPEXVALUE'40000000', * Style 2 ALV_STYLE2_NO_BORDER_LEFT(4)TYPEXVALUE'00010000', ALV_STYLE2_NO_BORDER_RIGHT(4)TYPEXVALUE'00020000', ...
FORM f_write_cell USING pa_row pa_col pa_val. CALL METHOD OF v_sheet 'Cells' = v_cell EXPORTING #1 = pa_row #2 = pa_col. SET PROPERTY OF v_cell 'Value' = pa_val. ENDFORM. " f_WRITE_CELL 10. 为ALV标题添加图片 要使用图片,显示ALV的函数的输入参数中的HTML表头必须换成一般表头...
form f01_set_color changing ct_fcat type slis_t_fieldcat_alv cs_layo type slis_layout_alv. field-symbols: <ls_outtab> type any, <ls_fcat> type slis_fieldcat_alv, <l_any> type any, <lt_table> type standard table. data: l_row type i, ...