This field is one of the basic ones in field catalog. It contains the fieldname of internal table that will be used in our grid. Although LVC_T_FCAT is standard table, then this field should be treated ...
CFIELDNAME can be read as currency field name. When you have in your internal table a field that represents the currency for the amount stored in a field kept under FIELDNAME in field catalog, then you ...
Although the SAP name of this field says: “Field name of internal table field”, then I haven’t found any usage of this field. It’s also not filled by SAP when you use SALV for creating field-catalogs. ...
QFIELDNAME has the same meaning for quantity fields, like CFIELDNAME for amount fields. This means that we can setup in which column of internal table the information about unit of measure is kept. On ...
... & COL_POS filled” on the selection screen, the following FCAT will be build. You ca notice that the COL_ID is different than COL_POS. Additionally after the creation of FCAT, I’ve sorted it by FIELDNAME, ...
... INDEX, the column name inside structure E_COLUMN_ID in field FIELDNAME.
Figure 116 Sample implementation of HOTSPOT_CLICK handler
One last thing you need to do, is to register ...
... into the value of this field in the field catalog.
One remark, if you’re adding this setting to value or quantity field, make sure that you also fill the QFIELDNAME or CFIELDNAME to have the sum of ...
... entries from TCURC table). You can leave this field of course empty and in many case you will, especially if you use CFIELDNAME instead.
In many situations changing the of currency here will not make ...
Round can be used for decimal fields that have no assigned QFIELDNAME or CFIELDNAME fields. Its purpose is to move decimal places left or right. If you want to move decimal places left, then you have to ...
... Can be used to change fieldcatalog in fast way. You need only to pass field name to use it.
methods column
importing
value(iv_fieldname) type lvc_s_fcat-fieldname
returning ...
...
data: g_fieldname type string.
data: g_okcode type sy-ucomm.
field-symbols: type lvc_s_fcat.
field-symbols: type any.
define add_param_descr.
concatenate 'P_DESC' &1 into g_fieldname. ...
...
data: f_fieldname type string.
data: f_lines type i.
append c_k to ft_keywords.
clear fs_authorization.
*read the source of an program
read report f_program into ft_src. ...
...
data: ft_params type table of rsparams.
data: f_variant type rsvar-variant.
data: f_text type rsvar-vtext.
data: fs_params type rsparams.
data: fs_paramsscr type rsparams.
data f_fieldname type fieldname. ...
... to firstly use FM 'RS_REFRESH_FROM_SELECTOPTIONS' to get all fields and values for all select-options, then you need to use FM 'RS_ISOLATE_1_SELSCREEN' to get the fieldnames for selected ...
...
data: fs_code type char255.
data: fs_zparm type zparm.
data: f_table type string.
data: f_fieldname type string.
data: f_msg(120) type c.
data: g_prog(8) type c. "temporary program name ...