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 ...
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 ...
This field is used to setup exponent number display for floating point decimals (F) fields. Although it’s not that commonly used field type for display, then it’s important to know that you can manipulate ...
If you want to setup current field as a key one, you need to fill KEY with ‘X’. When you’ll do this then the field will have blue background and during horizontal scrolling the column will be fixed.
...
The description of this fields claims that if you put ‘X’ inside then current field will became a key field that can be hidden, but in fact it has no effect here, as standard key field can always be hidden. ...
If you want to display an icon inside the cell, then you need to setup a value of this field to ‘X’ and additionally you need to put an icon from type-pool ICON into the corresponding field of your internal ...
This field has similar functionality like ICON but instead of better looking icons, you can choose to display old-style ASCII symbols from type-pool SYM. Like in an example of ICON you have to setup the ...
The name of this field says almost everything about it. If you put an ‘X’ in it, then the column will be displayed as checkbox. The type of the field which is used as checkbox should be set to ABAP_BOOL ...
With this field, you can setup alignment of the column. You can use one of the following values:
R - Right,
L - Left,
C - Centre,
space – default setting for field type
...
This field allows manipulation of visibility of leading zeros. One of the most common example is the material number (MATNR), when there is no letter inside the name of material, it is stored in database ...
NO_SIGN can be used to hide the sign of the number. For example you have negative values but you want to display it as positive.
In order to show you the behaviour of this settings, I’ve manipulated ...
... 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), ...
... definition of the method should look like this:
class-methods: create_xlsx_from_itab
importing
it_fieldcat type lvc_t_fcat optional
it_sort type lvc_t_sort optional ...
...
importing
!it_table type standard table
returning
value(rt_fcat) type lvc_t_fcat .
DISPLAY
Display method can be used in following places:
For Popup ...
... and CL_SALV_TABLE. Both methods are created with new ABAP 7.40 SP05 syntax. LVC Field catalog definition class-methods lvc_fcat_from_internal_table
importing
it_table type any table
returning value(rt_fcat) type lvc_t_fcat. ...
...
data: gt_popup_fcat type lvc_t_fcat.
data: g_popup_question type char70.
field-symbols: type standard table. 2) Then you need to create GUI status with Cancel and Enter Buttons ...
...
data: g_par09_type type char255.
data: g_par10_type type char255.
data: g_wait type c.
data: gt_rsparams type rsparams_tt.
data: gt_fcat_mass type lvc_t_fcat.
data: gt_mass_sel_columns type lvc_t_col. ...
...
data: gt_fcatlvc type lvc_t_fcat.
data: g_grid type ref to cl_gui_alv_grid.
data: begin of gs_blpp,
belnr type blpp-belnr,
prtnr type blpp-prtnr,
verid type blpk-verid,
end of gs_blpp. ...
... most important is that you can use this method in a background so you can prepare some jobs for your programs and send results of them to the users!
Importing:
it_fieldcat type lvc_t_fcat ...