Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Fieldcatalog Doubt!

Former Member
0 Likes
456

Hi!

In Field Catalog Structure whats the use of

Emphasize Option

Key

Int Type

Ref_table Name

Sel_text _m

Rep Text_ddic

4 REPLIES 4
Read only

Former Member
0 Likes
434

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.

&--


FIELDCAT TABLE & WORK AREA--


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

Read only

Former Member
0 Likes
434

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.

Read only

Clemenss
Active Contributor
0 Likes
434

see your 2nd thread.

Read only

Former Member
0 Likes
434

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