ALV函数应用-LAYOUT

定义部分:DATA: W_LAYOUT TYPE SLIS_LAYOUT_ALV.
SLIS_LAYOUT_ALV构造如下:
types: begin of slis_layout_main,
dummy,
end of slis_layout_main.

[@more@]

定义部分:DATA: W_LAYOUT TYPE SLIS_LAYOUT_ALV.
SLIS_LAYOUT_ALV构造如下:
types: begin of slis_layout_main,
dummy,
end of slis_layout_main.

types: begin of slis_layout_alv_spec0,
no_colhead(1) type c, " no headings 没有标题
no_hotspot(1) type c, " headings not as hotspot 标题不作为hotspot
zebra(1) type c, " striped pattern 镶边样式
no_vline(1) type c, " columns separated by space 行由空间隔
no_hline(1) type c, "rows separated by space B20K8A0N5D 列由空间分隔
cell_merge(1) type c, " not suppress field replication 不压制领域复制
edit(1) type c, " for grid only 仅为grid
edit_mode(1) type c, " for grid only 仅为grid
numc_sum(1) type c, " totals for NUMC-Fields possib. 数字型字段可集计
no_input(1) type c, " only display fields 仅显示
f2code like sy-ucomm, "
reprep(1) type c, " report report interface active 报告接口激活
no_keyfix(1) type c, " do not fix keycolumns 不固定关键字列
expand_all(1) type c, " Expand all positions 扩展所有位置
no_author(1) type c, " No standard authority check 没有标准用户检查
* PF-status 菜单项
def_status(1) type c, " default status space or 'A' 缺省状态空间或‘A’
item_text(20) type c, " Text for item button 文本为项目按钮
countfname type lvc_fname,
end of slis_layout_alv_spec0.

types: begin of 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," fieldname for exception 扩展字段名
lights_tabname type slis_tabname, " fieldname for exception 扩展字段名
lights_rollname like dfies-rollname," rollname f. exceptiondocu
lights_condense(1) type c, " fieldname for exception 扩展字段名
* Sums 合计
no_sumchoice(1) type c, " no choice for summing up 无可选择总计
no_totalline(1) type c, " no total line 没有合计行
no_subchoice(1) type c, " no choice for subtotals 无可选择子合计
no_subtotals(1) type c, " no subtotals possible 没有子合计
no_unit_splitting type c, " no sep. tot.lines by inh.units
totals_before_items type c, " diplay totals before the items 在明细前显示合计
totals_only(1) type c, " show only totals 只显示合计
totals_text(60) type c, " text for 1st col. in total line 合计行第一列文本
subtotals_text(60) type c, " text for 1st col. in subtotals 子合计行第一列文本
* Interaction 继承
box_fieldname type slis_fieldname, " fieldname for checkbox
box_tabname type slis_tabname," tabname for checkbox
box_rollname like dd03p-rollname," rollname for checkbox
expand_fieldname type slis_fieldname, " fieldname flag 'expand'
hotspot_fieldname type slis_fieldname, " fieldname flag hotspot
confirmation_prompt, " confirm. prompt when leaving
key_hotspot(1) type c, " keys as hotspot " K_KEYHOT
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, " show detail in popup 弹出显示明细
detail_initial_lines(1) type c, " show also initial lines 显示初始行
detail_titlebar like sy-title," Titlebar for detail 详细标题栏
* Display variants 显示变量
header_text(20) type c, " Text for header button 标题按钮文本
default_item(1) type c, " Items as default 默认明细
* colour 颜色
info_fieldname type slis_fieldname, " infofield for listoutput
coltab_fieldname type slis_fieldname, " colors
* others 其它
list_append(1) type c, " no call screen
xifunckey type aqs_xikey, " eXtended interaction(SAPQuery)
xidirect type flag, " eXtended INTeraction(SAPQuery)
dtc_layout type dtc_s_layo, "Layout for configure the Tabstip
allow_switch_to_list(1) type c, "ACC: Switch Fullscreen to List
end of slis_layout_alv_spec1.

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/547380/viewspace-885793/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/547380/viewspace-885793/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值