5 1 1 1 1 1 Rating 100% (1 Vote)

Field catalog is one of most important tables that is used in ALV Grid. In most cases you’ll create it manually or at least after automatic creation, you’ll update its content, as most of the columns settings are placed here. ALV Grid field catalog should have type LVC_T_FCAT. Of course as it’s not mandatory parameter you can also omit during the displaying on grid (like I did for example in program ZDEMO_AIN_CL01), but this is only allowed if the table you would like to display is of type that is kept in dictionary. In other case, you’ll be forced to create the field catalog and pass it as parameter to SET_TABLE_FOR_FIRST_DISPLAY method.

In table below you’ll find the list of all fields used in field catalog with its dictionary type and description. Some of the fields are quite simple to explain, some are harder, but bellow you’ll find description of all of them, whenever it was possible by me to check their behaviour. Click on the link on the field name (if exists) to get the deeper description and example of usage.

Field name

Typing Method

Component Name

Dictionary Description

row_pos

type

lvc_rowpos

ALV control: Output line (INTERNAL USE)

col_pos

type

lvc_colpos

ALV control: Output column

fieldname

type

lvc_fname

ALV control: Field name of internal table field

tabname

type

lvc_tname

LVC tab name

currency

type

lvc_curr

ALV control: Currency unit

cfieldname

type

lvc_cfname

ALV control: Field name for currency unit referenced

quantity

type

lvc_quan

ALV control: Unit of measure

qfieldname

type

lvc_qfname

ALV control: Field name for unit of measure referenced

ifieldname

type

lvc_fname

ALV control: Field name of internal table field

round

type

lvc_round

ALV control: ROUND value

exponent

type

lvc_expont

ALV control: Exponent for float representation

key

type

lvc_key

ALV control: Key field

key_sel

type

lvc_keysel

ALV control: Key column that may be hidden

icon

type

lvc_icon

ALV control: Output as icon

symbol

type

lvc_symbol

ALV control: Output as symbol

checkbox

type

lvc_checkb

ALV control: Output as checkbox

just

type

lvc_just

ALV control: Alignment

lzero

type

lvc_lzero

ALV control: Output leading zeros

no_sign

type

lvc_nosign

ALV Control: Suppress Signs for Output

no_zero

type

lvc_nozero

ALV control: Suppress zeros for output

no_convext

type

lvc_noconv

ALV control: Do not consider conversion exit for output

edit_mask

type

lvc_edtmsk

ALV control: EditMask for output

emphasize

type

lvc_emphsz

ALV control: Highlight column with color

fix_column

type

lvc_fixcol

ALV Control: Fix Column

do_sum

type

lvc_dosum

ALV control: Aggregate values of column

no_sum

type

lvc_nosum

ALV control: No aggregation over values of column

no_out

type

lvc_noout

ALV control: Column is not output

tech

type

lvc_tech

ALV control: Technical field

outputlen

type

lvc_outlen

ALV control: Column width in characters

convexit

type

convexit

Conversion Routine

seltext

type

lvc_txt

ALV control: Column identifier for dialog functions

tooltip

type

lvc_tip

ALV control: Tool tip for column header

rollname

type

lvc_roll

ALV control: Data element for F1 help

datatype

type

datatype_d

Data Type in ABAP Dictionary

inttype

type

inttype

ABAP data type (C,D,N,...)

intlen

type

intlen

Internal Length in Bytes

lowercase

type

lowercase

Lowercase letters allowed/not allowed

reptext

type

reptext

Heading

hier_level

type

lvc_hierl

ALV control: Internal use

reprep

type

lvc_crprp

ALV control: Value is selection criterion for rep./rep.intf.

domname

type

domname

Domain name

sp_group

type

lvc_spgrp

Group key

hotspot

type

lvc_hotspt

ALV control: SingleClick-sensitive

dfieldname

type

lvcdbgfn

ALV control: Field name for column group in database

col_id

type

lvc_colid

ALV control: Column ID

f4availabl

type

ddf4avail

Does the field have an input help

auto_value

type

lvc_auto

ALV control: Automatic value copy

checktable

type

tabname

Table Name

valexi

type

valexi

Existence of fixed values

web_field

type

lvc_fname

ALV control: Field name of internal table field

href_hndl

type

int4

Natural Number

style

type

lvc_style

ALV control: Style

style2

type

lvc_style

ALV control: Style

style3

type

lvc_style

ALV control: Style

style4

type

lvc_style

ALV control: Style

drdn_hndl

type

int4

Natural Number

drdn_field

type

lvc_fname

ALV control: Field name of internal table field

no_merging

type

char01

Character Field Length 1

h_ftype

type

lvc_ftype

ALV tree control: Functional type (sum, avg, max, min, ...)

col_opt

type

lvc_colopt

Entry for Optional Column Optimization

no_init_ch

type

char01

Character Field Length 1

drdn_alias

type

char01

Character Field Length 1

decfloat_style

type

outputstyle

DD: Output Style (Output Style) for Decfloat Types

parameter0

type

char30

30 Characters

parameter1

type

char30

30 Characters

parameter2

type

char30

30 Characters

parameter3

type

char30

30 Characters

parameter4

type

char30

30 Characters

parameter5

type

int4

Natural Number

parameter6

type

int4

Natural Number

parameter7

type

int4

Natural Number

parameter8

type

int4

Natural Number

parameter9

type

int4

Natural Number

ref_field

type

lvc_rfname

ALV control: Reference field name for internal table field

ref_table

type

lvc_rtname

ALV control: Reference table name for internal table field

txt_field

type

lvc_fname

ALV control: Field name of internal table field

roundfield

type

lvc_rndfn

ALV control: Field name with ROUND specification

decimals_o

type

lvc_decmls

ALV control: Number of decimal places for output

decmlfield

type

lvc_dfname

ALV control: Field name with DECIMALS specification

dd_outlen

type

lvc_ddlen

ALV control: Output length in characters

decimals

type

decimals

Number of Decimal Places

coltext

type

lvc_txtcol

ALV control: Column heading

scrtext_l

type

scrtext_l

Long Field Label

scrtext_m

type

scrtext_m

Medium Field Label

scrtext_s

type

scrtext_s

Short Field Label

colddictxt

type

lvc_ddict

ALV control: Determine DDIC text reference

selddictxt

type

lvc_ddict

ALV control: Determine DDIC text reference

tipddictxt

type

lvc_ddict

ALV control: Determine DDIC text reference

edit

type

lvc_edit

ALV control: Ready for input

tech_col

type

lvc_tcol

ALV control: Internal use

tech_form

type

lvc_tform

ALV control: Internal use

tech_comp

type

lvc_tcomp

ALV control: Internal use

hier_cpos

type

lvchcolpos

ALV control: Hierarchical column position

h_col_key

type

tv_itmname

Tree Control: Column Name / Item Name

h_select

type

lvc_select

Indicates if a column in the tree control can be selected

dd_roll

type

rollname

Data element (semantic domain)

dragdropid

type

lvc_ddid

ALV control: Drag&Drop handle for DragDrop object

mac

type

char01

Character Field Length 1

indx_field

type

int4

Natural Number

indx_cfiel

type

int4

Natural Number

indx_qfiel

type

int4

Natural Number

indx_ifiel

type

int4

Natural Number

indx_round

type

int4

Natural Number

indx_decml

type

int4

Natural Number

get_style

type

char01

Character Field Length 1

mark

type

char01

Character Field Length 1

 


ABAP Favorites Eclipse plugin

Drag to your running Eclipse* workspace. *Requires Eclipse Marketplace Client