技术开发 频道

ALV常用参数的详细描述

    三:

    FIELDCAT 属性

    FIELDCAT:

    types: begin of slis_fieldcat_main,

    row_pos        like sy-curow, " output in row

    col_pos        like sy-cucol, " position of the column

    fieldname      type slis_fieldname,

    tabname        type slis_tabname,

    ref_fieldname  like dd03p-fieldname,

    ref_tabname    like dd03p-tabname,

    currency(5)    type c,

    cfieldname     type slis_fieldname, " field with currency unit

    ctabname       type slis_tabname,   " and table

    quantity(3)    type c,

    qfieldname     type slis_fieldname, " field with quantity unit

    qtabname       type slis_tabname,   " and table

    roundfieldname type slis_fieldname,

    roundtabname   type slis_tabname,

    round          type i,        " round in write statement

    decimalsfieldname type slis_fieldname,

    decimalstabname   type slis_tabname,

    decimals_out(6)   type c,     " decimals in write statement

    text_fieldname type slis_fieldname,

    exponent(3)       type c,     " exponent for floats

    key(1)         type c,        " column with key-color

    icon(1)        type c,        " as icon

    symbol(1)      type c,        " as symbol

    checkbox(1)    type c,        " as checkbox

    just(1)        type c,        " (R)ight (L)eft (C)ent.

    lzero(1)       type c,        " leading zero

    no_sign(1)     type c,        " write no-sign

    no_zero(1)     type c,        " write no-zero

    edit_mask      type slis_edit_mask,                "

    emphasize(4)   type c,        " emphasize

    fix_column(1)   type c,       " Spalte fixieren

    do_sum(1)      type c,        " sum up

    no_out(1)      type c,        " (O)blig.(X)no out

    tech(1)        type c,        " technical field

    outputlen      like dd03p-outputlen,

    offset         type dd03p-intlen,        " offset

    seltext_l      like dd03p-scrtext_l, " long key word

    seltext_m      like dd03p-scrtext_m, " middle key word

    seltext_s      like dd03p-scrtext_s, " short key word

    reptext_ddic   like dd03p-reptext,   " heading (ddic)

    ddictxt(1)     type c,        " (S)hort (M)iddle (L)ong

    rollname       like dd03p-rollname,

    *        domname        like dd03p-domname,     "Domname f黵 Checkbox

    datatype       like dd03p-datatype,

    inttype        like dd03p-inttype,

    ddic_outputlen like dd03p-outputlen,

    intlen         like dd03p-intlen,

    lowercase      like dd03p-lowercase,

    end of slis_fieldcat_main.

    types: begin of slis_fieldcat_alv_spec,

    key_sel(1)     type c,        " field not obligatory

    no_sum(1)      type c,        " do not sum up

    sp_group(4)    type c,        " group specification

    reprep(1)      type c,        " selection for rep/rep

    input(1)       type c,        " input

    hotspot(1)     type c,        " hotspot

    end of slis_fieldcat_alv_spec.

    以上是fieldcat的属性

0
相关文章