... a demo program (ZDEMO_AIN_CL46) to show you, how the COL_ID is changing on a base of COL_POS. On the selection screen you can find two radio-buttons.
Figure 120 ZDEMO_AIN_CL46 Selection ...
... then this setting of field catalog has no impact on display.
For my demo program ZDEMO_AIN_CL43, I’ve created a field catalog with REF_TABLE filled for all fields, so it is easier to understand ...
... select-option and column name doesn’t need to be the same).
Figure 101 Fieldcatalog of ZDEMO_AIN_CL41S
Selection-screen of receiver program is defined as follows:
Figure ...
... manual REPTEXT in ZDEMO_AIN_CL40
As you can see, grid looks much better with the column headers, also proper naming of the columns will help the users to better understand the ...
... lowercase, if the value of the parameter is empty, then it will always convert the entered value to uppercase.
Figure 96 Results of zdemo_ain_cl39 with lowercase turned on
...
... then although I’ve entered the value of ‘12’ into the column, system didn’t allowed me to save it.
Figure 94 Error in edit mode caused by wrong value of field INTLEN (ZDEMO_AIN_CL38) ...
... fields will be also field and the difference on the screen will be not that huge.
Figure 93 Fieldcatalog of the ZDEMO_AIN_CL37 for Internal ABAP type T
Possible internal ABAP ...
...
Figure 90 ZDEMO_AIN_CL36 Selection screen with data type
Figure 91 ZDEMO_AIN_CL36 Result of report with TIMS data type
I’ve tried to enter data in TIME ...
...
In the demo program I’ve used data element S_CONN_ID to show you how does it work.
Figure 85 ZDEMO_AIN_CL35 Selection Screen
On the first sight you can notice that if you’ll ...
... very helpful for explaining the user the meaning of the column.
Figure 81 ZDEMO_AIN_CL34 Tooltip of an column
Additionally if you’ll not use SELTEXT field, then ...
...
Figure 79 ZDEMO_AIN_CL33 Column description in the layout popup
In case the TOOLTIP field is empty, the value from SELTEXT will be also used as tooltip and will appear when ...
... of Conversion Exits
In the example program ZDEMO_AIN_CL32 I’ve setup column CONNID to use conversion exit NUMCV. As you see you don’t put the full name of the FM into the CONVEXIT field, it only assumes ...
... you create it manually you can setup it to whatever value you want.
Figure 72 ZDEMO_AIN_CL31 Output length for field CITYFROM
My experience shows that it is useful ...
... you need to set its value to ‘X’.
Figure 70 ZDEMO_AIN_CL30 Setting of Field as Technical
Such setting is very helpful when you have to store some additional values ...
...
Figure 68 ZDEMO_AIN_CL29 hiding of columns
In this case I’ve also filled the REPTEXT column, in order to show you that it is possible to move the columns to display. If I wouldn’t do that, ...
... It will not only not show the sum, but also it will forbid to set it the GUI.
Figure 66 ZDEMO_AIN_CL28 DO_SUM for DISTANCE field
Once user will try to summarize ...
... each unit or currency separately. In other case the values will be summarized without taking in consideration differences in the units.
Figure 64 ZDEMO_AIN_CL27 DO_SUM set for ...
... work correctly.
Figure 61 ZDEMO_AIN_CL26 Setting FIX_COLUMN
Just make sure that you do not setup too much field like this, as it can happen that on small screens ...
... are intensified (‘1’) or not (‘0’)
z – is saying if the colours should be inverted (‘1’) or not (‘0’)
Figure 59 ZDEMO_AIN_CL25 Emphasize set for columns
...
... outputs, for example mask ‘Flight Number is: ____’ for the SFLIGHT-CONNID field will bring following result: ‘Flight Number is: 0017’.
Figure 53 ZDEMO_AIN_CL24 hardcoded edit_mask ...
... found in Figure 11 can be used to see the difference between standard sorting and own one.
Figure 11 ZDEMO_AIN_CL05 COL_POS
Own sorting firstly takes care about ...
... completely omit this field, as if you fill it then nothing will happen, even if you use different values for each field in field catalog.
Figure 16 ZDEMO_AIN_CL07 Tabname filled
...
... 422,94. If we use ZDEMO_AIN_CL08 program with USD currency then as you seen in Figure 18, the value shown is equal to 422,94. Both outputs are correct as long as the currency of the corresponding line ...
... should place its name here. The output of the cell will be then based on a currency key kept in the same row of the internal table, in the corresponding field.
In the sample program ZDEMO_AIN_CL09 ...
... in 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 ...
... changed.
Figure 29 ZDEMO_AIN_CL12 Results using 0 as P_ROUND value
Now the same program is run with 3 that is inserted into ROUND. You can notice that instead of 2 571,25 ...
... 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 ...
... how the field is displayed in ALV grid.
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 ...