技术开发 频道

ALV常用参数的详细描述

    部分解释

    col_pos         输出列

    tabname          标签名称

    currency(5)    货币单位

    quantity(3)    计量单位

    qfieldname     参考计量单位的字段名称

    round          ROUND 值

    exponent(3)    流动表示的指数

    key(1)         关键字段

    icon(1)        作为图标输出

    symbol(1)      输出作为符号

    checkbox(1)    作为复选框输出

    just(1)        对齐

    lzero(1)       输出前导零

    no_sign(1)     输出抑制符号

    no_zero(1)     为输出隐藏零

    edit_mask      为输出编辑掩码

    emphasize(4)   带有颜色的高亮列

    fix_column(1)  固定列

    do_sum(1)      总计列值

    no_out(1)      列没有输出

    tech(1)        技术字段

    outputlen      列的字符宽度

    decimals_out(6)   = 0 不会有小数点了

    ***********************************************************

    ***********************************************************

    LAYOUT:

    定义部分:DATA: W_LAYOUT TYPE SLIS_LAYOUT_ALV.

    SLIS_LAYOUT_ALV构造如下:

    types: begin of slis_layout_main,

    dummy,

    end of slis_layout_main.

    定义部分: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 没有标准用户检查

0
相关文章