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 ...
... how the field is displayed in ALVgrid.
For example, the picture below, shows the results of the ALV output when EXPONENT field was set to 2.
Figure 32 ZDEMON_AIN_CL13 Results ...
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 ...
...
Figure 39 ZDEMO_AIN_CL17 ALV with symbols
You can check the available symbols on your system, but I doubt they vary between old and new releases.
Figure 40 Possible symbols ...
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 ...
Field catalog is one of most important tables that is used in ALVGrid. 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 ...
I wrote in previous post, you can’t use this class directly without any effort. First of all, the class itself will not display anything if you’ll not create a container for it. The following containers ...
I was thinking about writing a book about ALVGrid for a long time, but there was always an excuse to not to do it. One of the biggest was that SAP is now strongly advertising Fiori and UI5 as the ...
This setting is usable when we don’t want to display values that are equal 0. It works for numeric fields. I use this setting for better visibility of data in thegrid. To use it set value of this field ...
When you set this field to ‘X’ then data will be display without using convertion exit that is assigned to the reference field. This setting works when you have REF_FIELD and REF_TABLE filled in fieldcatalog ...