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) |
type |
lvc_colpos |
ALV control: Output column |
|
type |
lvc_fname |
ALV control: Field name of internal table field |
|
type |
lvc_tname |
LVC tab name |
|
type |
lvc_curr |
ALV control: Currency unit |
|
type |
lvc_cfname |
ALV control: Field name for currency unit referenced |
|
type |
lvc_quan |
ALV control: Unit of measure |
|
type |
lvc_qfname |
ALV control: Field name for unit of measure referenced |
|
type |
lvc_fname |
ALV control: Field name of internal table field |
|
type |
lvc_round |
ALV control: ROUND value |
|
type |
lvc_expont |
ALV control: Exponent for float representation |
|
type |
lvc_key |
ALV control: Key field |
|
type |
lvc_keysel |
ALV control: Key column that may be hidden |
|
type |
lvc_icon |
ALV control: Output as icon |
|
type |
lvc_symbol |
ALV control: Output as symbol |
|
type |
lvc_checkb |
ALV control: Output as checkbox |
|
type |
lvc_just |
ALV control: Alignment |
|
type |
lvc_lzero |
ALV control: Output leading zeros |
|
type |
lvc_nosign |
ALV Control: Suppress Signs for Output |
|
type |
lvc_nozero |
ALV control: Suppress zeros for output |
|
type |
lvc_noconv |
ALV control: Do not consider conversion exit for output |
|
type |
lvc_edtmsk |
ALV control: EditMask for output |
|
type |
lvc_emphsz |
ALV control: Highlight column with color |
|
type |
lvc_fixcol |
ALV Control: Fix Column |
|
type |
lvc_dosum |
ALV control: Aggregate values of column |
|
type |
lvc_nosum |
ALV control: No aggregation over values of column |
|
type |
lvc_noout |
ALV control: Column is not output |
|
type |
lvc_tech |
ALV control: Technical field |
|
type |
lvc_outlen |
ALV control: Column width in characters |
|
type |
convexit |
Conversion Routine |
|
type |
lvc_txt |
ALV control: Column identifier for dialog functions |
|
type |
lvc_tip |
ALV control: Tool tip for column header |
|
type |
lvc_roll |
ALV control: Data element for F1 help |
|
type |
datatype_d |
Data Type in ABAP Dictionary |
|
type |
inttype |
ABAP data type (C,D,N,...) |
|
type |
intlen |
Internal Length in Bytes |
|
type |
lowercase |
Lowercase letters allowed/not allowed |
|
type |
reptext |
Heading |
|
hier_level |
type |
lvc_hierl |
ALV control: Internal use |
type |
lvc_crprp |
ALV control: Value is selection criterion for rep./rep.intf. |
|
type |
domname |
Domain name |
|
type |
lvc_spgrp |
Group key |
|
type |
lvc_hotspt |
ALV control: SingleClick-sensitive |
|
type |
lvcdbgfn |
ALV control: Field name for column group in database |
|
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 |