... notice on the screen, or while debugging the code, after the method SET_TABLE_FOR_THE_FIRST_DISPLAY is called, the FCAT is changed and so are the COL_ID entries. Now it is equal to COL_POS, which was in ...
... implementation of the method. In my example I simply read the clicked cell content and I display a message on the screen. The index of row of clicked cell you’ll find in structure E_ROW_ID in the field ...
Group key is not widely used but it has nice feature. Once you group the field catalog fields and you pass the group name into parameter IT_SPECIAL_GROUPS of method SET_TABLE_FOR_FIRST_DISPLAY, then in ...
You may suspect that setting up a domain name in the field catalog will make some effect on the display, for example in data type, length, lowercase sign, but it seems that it has no effect in ALV grid. ...
... to call.
Figure 102 Activation of interface
Additionally to the sender information (S_RPRP_ID), I’ve filled callback report and callback form name. If you’re familiar with REUSE_ALV_GRID_DISPLAY, ...
... not bother yourself about it. But if you do, then take into consideration following information:
Length is in Bytes, so remember that it doesn’t mean, that one character takes one Byte
In display ...
DATATYPE field has small influence on the way the column is displayed. You can omit this field and then ALV grid will automatically fill this field and additionally JUST, OUTPUTLEN, INTTYPE, INTLEN and ...
SELTEXT is one of the fields that are linked to the texts of the grid columns. This particular one is responsible for displaying the name of the column in the change/display of layout popup. ...
... internal table that supposed to be displayed, but you do not want to display them. Such field can be used for example during the event handling or displaying totals and subtotals.
It can also be used ...
... you set it to ‘X’, then as long as user will not unhide it and save it to the ALV variant, it will not be visible on the screen. But as said before it can be unhide using the display options.
...
...
‘LL’ on the beginning of the mask means that the underscore characters of the mask (“_”) will be replaced starting from left side, for example mask ‘LL__:__’ for value 123 will be displayed as ...
This field is responsible for setting up columns in proper order while displaying the grid without using of saved layout. It may be useful if you don’t allow your users to save their own or global grid ...
... from the table and you don’t pass the dictionary name to parameter I_STRUCTURE_NAME of SET_TABLE_FOR_FIRST_DISPLAY method, then it will only display this fields, which are in field catalog.
In Figure ...
... difference to the output, but there are some exceptions, for example JPY (Japanese Yen) don’t have decimal places. Figure 17 displays value of 42 294 whereas the internal value of field is 422,94. If we ...
... SE16
Now to see the differences, please run program ZDEMO_AIN_CL10 using following units: PMR, DEG, M & empty.
Figure 22 displays the values with three decimal places as PMR is setup to be displayed ...
... put there positive numbers, if you want to move decimal places right, then use negative numbers.
Example when you use 0 as round, you’ll get the normal full numbers, the display of the field hasn’t ...
... the base of that information, data can be displayed differently in each row, as in comparison to QUANTITY the unit is not set for the whole column. In program ZDEMO_AIN_CL11 I’ve setup column DISTID to ...
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 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 leading zeros. For example material 101 would is stored as 000000000000000101 in ECC and 0000000000000000000000000000000000000101 in S/4 HANA. In order to not display this not needed zeros, you can ...
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), ...
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 ...
... course on purpose, while this class stays behind all other four ways of displaying ALV Grid described here, although in some of the cases it’s not that easy to see, as SAP made some effort to hide it from ...
... display one of them. The image bellow shows few of them, of course they are not that nice like the ICONS, there is also not many of them, but it's good to know that such symbols exists, although I so far ...
... in the linked SAP system, not currently active.
Additionally while the linking is active, each change of active system will refresh the entries of the tree to be able to display entries linked with ...