May 16, 2009

Field Catalog in ALV

Field catalog containing descriptions of the list output fields. You can use fields of the catalog to determine the number format and column properties of the list to be displayed.

The field catalog contains more than 60 fields, some of which are only used internally. The field catalog is defined in the Data Dictionary through table type LVC_T_FCAT.

fieldname " Fieldname

ref_tabname " Reference Tablename

ref_fieldname " Reference Fieldname

no_out " (O)blig.(X)no out

outputlen " Output length

seltext_l " long key word

seltext_m " middle key word

seltext_s " short key word

reptext_ddic " heading (ddic)

round " round in write statement

do_sum " sum up

hotspot " 'X' = hotspot is active -> Event click

decimals_out " decimals in write statement

currency

quantity

qfieldname " field with quantity unit

cfieldname " field with currency unit

checkbox " 'X' = checkbox or ' ' = not checkbox

icon " 'X' = icon or ' ' = not icon

fix_column " 'X' = Fix Column On or ' ' = Fix Column off

key " 'X' = Key or ' ' = not Key

* For field currency, there are two options :
1. fixed currency
t_fieldcat-cfieldname = fu_cfield.
t_fieldcat-ctabname = fu_types.

2. variable currency.
t_fieldcat-datatype = 'CURR'.
t_fieldcat-currency = fu_curr.

* For field quantity :
qfieldname
qtabname

* For field "do_sum" is "C" or "X'. It will display on Sum of this Field in ALV (Akan melakukan penjumlahan langsung pada saat display di ALV)

* For field "just" is Justification : L, R, C

* For field "ref_tabname " and "ref_fieldname" are structure (nama field, length) diambil dari reference field of table. If you define new field which doesn't have a relation of table..It would be better to fill empty..and you must define other field category in ALV such as "seltext_l", "seltext_m", "seltext_s"

No comments:

Post a Comment