CAFE

ABAP

[Type] SLIS (ALV에서 사용. FIELDCAT)

작성자우승권|작성시간08.10.27|조회수2,400 목록 댓글 0
*** Fieldcat
types: begin of slis_fieldcat_main0,
         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,
         currency(5)    type c,
         cfieldname     type slis_fieldname, " field with currency unit
         ctabname       type slis_tabname,   " and table
         ifieldname     type slis_fieldname, " initial column
         quantity(3)    type c,  --> 소수점자리수를 없애려면 '1'
         qfieldname     type slis_fieldname, " field with quantity unit --> 소수점자리 보여주려면 clear XXX-qfieldname.
         qtabname       type slis_tabname,   " and table
         round          type i,        " round in write statement
         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
         no_convext(1)  type c,
         edit_mask      type slis_edit_mask,                "
         emphasize(4)   type c,        " emphasize --> 해당필드의 색상 지정 (C11, C21, C31, C41, .. , C71)
         fix_column(1)   type c,       " Spalte fixieren
         do_sum(1)      type c,        " sum up
         no_out(1)      type c,        " (O)blig.(X)no out  --> 해당필드를 List에서 보이지 않게 함
         tech(1)        type c,        " technical field
         outputlen      like dd03p-outputlen,  --> List에 보여줄 필드의 사이즈
         offset         type dd03p-outputlen,     " 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
         ddictxt(1)     type c,        " (S)hort (M)iddle (L)ong
         rollname       like dd03p-rollname,
         datatype       like dd03p-datatype,
         inttype        like dd03p-inttype,
         intlen         like dd03p-intlen,
         lowercase      like dd03p-lowercase,
       end of slis_fieldcat_main0.

다음검색
현재 게시글 추가 기능 열기

댓글

댓글 리스트
맨위로

카페 검색

카페 검색어 입력폼