ALV里的显示属性可通过定义i_layout TYPE slis_layout_alv来使用不同的显示风格。可双击“slis_layout_alv”来查看类型组SLIS里的layout属性:
父类
|
子类
|
子类
|
主要属性(部分)
|
描述
|
slis_layout_alv
|
slis_layout_main
|
|
dummy
|
|
slis_layout_alv_spec
|
slis_layout_alv_spec0
|
no_colhead(1) type c
|
没有标题
| |
zebra(1) type c
|
行颜色间隔改变
| |||
no_vline(1) type c
|
没有竖线,由空格代替
| |||
no_hline(1) type c
|
没有横线,由空格代替
| |||
cell_merge(1) type c
|
单元格复制形式
| |||
edit(1) type c
|
可编辑仅为grid
| |||
edit_mode(1) type c
|
编辑模式仅为grid
| |||
numc_sum(1) type c
|
数值型字段汇总
| |||
no_input(1) type c
|
仅输出
| |||
no_keyfix(1) type c
|
不固定关键字列
| |||
slis_layout_alv_spec1
|
Display options显示属性
|
| ||
colwidth_optimize(1) type c
|
自动调整列宽
| |||
no_min_linesize(1) type c
|
line size = width of the list
| |||
min_linesize like sy-linsz
|
if initial min_linesize = 80
| |||
max_linesize like sy-linsz,
|
Default 250
| |||
window_titlebar like sy-title
|
| |||
no_uline_hs(1) type c
|
| |||
Exceptions 扩展
|
| |||
lights_fieldname type slis_fieldname
|
| |||
lights_tabname type slis_tabname
|
| |||
lights_rollname like dfies-rollname
|
| |||
lights_condense(1) type c
|
| |||
Sums 合计
|
| |||
no_sumchoice(1) type c
|
不可选择总计
| |||
no_totalline(1) type c
|
没有合计行
| |||
no_subchoice(1) type c
|
不可选择小计
| |||
no_subtotals(1) type c
|
没有小计
| |||
no_unit_splitting type c
|
| |||
totals_before_items type c
|
在明细前显示合计
| |||
totals_only(1) type c
|
只显示合计
| |||
totals_text(60) type c
|
合计第一列文本行
| |||
subtotals_text(60) type c
|
小计第一列文本行
| |||
Interaction 继承
|
| |||
box_fieldname type slis_fieldname
|
| |||
box_tabname type slis_tabname
|
| |||
box_rollname like dd03p-rollname
|
| |||
key_hotspot(1) type c
|
keys as hotspot
| |||
flexible_key(1) type c
|
key columns movable
| |||
group_buttons(1) type c
|
buttons for COL1 - COL5
| |||
get_selinfos(1) type c
|
read selection screen
| |||
group_change_edit(1) type c
|
Settings by user for new group
| |||
no_scrolling(1) type c
|
no scrolling
| |||
Detailed screen 屏幕详细
|
| |||
detail_popup(1) type c
|
弹出显示明细
| |||
detail_initial_lines(1) type c
|
显示初始行
| |||
detail_titlebar like sy-title
|
详细标题栏
| |||
Display variants 显示变量
|
| |||
header_text(20) type c
|
标题按钮文本
| |||
default_item(1) type c
|
默认明细
| |||
colour 颜色
|
| |||
info_fieldname type slis_fieldname
|
| |||
coltab_fieldname type slis_fieldname
|
| |||
others 其它(略)
|
|