‎2007 Jun 09 9:06 PM
Hi!
In Field Catalog Structure whats the use of
Emphasize Option
Key
Int Type
Ref_table Name
Sel_text _m
Rep Text_ddic
‎2007 Jun 09 9:22 PM
HI,
<b>field catalogue is nothing but an internal table,which contains detailed information about the fields.ie. fieldname, size, type, heading</b>
TYPE-POOLS: SLIS.
&--
DATA: W_FCAT TYPE SLIS_FIELDCAT_ALV.
DATA: T_FCAT TYPE SLIS_T_FIELDCAT_ALV.
W_FCAT-COL_POS = 1. "specifies the position.
W_FCAT-FIELDNAME = 'KUNNR'. "specified the field name
W_FCAT-REF_FIELDNAME = 'KUNNR' " specifies refarence field
W_FCAT-REF_TABLENAME = 'KNA1' "specifies the refarence table
W_FCAT-SELTEXT_M = 'CUST. NO'. " selection text
W_FCAT-HOTSPOT = 'X'. "HOT SPOT HAND SYMBOL
W_FCAT-EMPHASIZE = 'C119'. "FOR COLORING THE COLUMN 1
APPEND W_FCAT TO T_FCAT.
regards,
Ashokreddy.
Message was edited by:
Ashok Reddy
‎2007 Jun 09 9:48 PM
Key - keep key field in fieldcatalog ,based on key field you can do sort,sum the values
INTTYPE - You can mention data type internally
simple example - qty field is printing in output,when you use condense ,it will not work,so use inttype is char then do the condense.
SELTEXT_M - Output text meduim - you can give ur owntext - medium is 20 charcter length
Ref_table Name - if you use reference table name - then it will get all referance table properties
Rep Text_ddic - if you use this one - you will get Database data element text.
‎2007 Jun 09 11:29 PM
‎2007 Jun 09 11:45 PM
Please refer the below points
Int Type
ABAP data type (C,D,N,...)
Ref_table Name
Name of the DDIC reference structure
Sel_text _m
Column description in column selection for layout
Rep Text_ddic
Header (DDIC text of the corresponding data element