When you create the code sometimes you forget about optimizing of your code or you don't know how to properly use a statement. This is category for you.
...
... and it is pointed to all ADT users as it covers the topics from installation up to extension of Eclipse. If you have the book, let me know your feedback, as this is most important for an author to ...
...
As you will 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, ...
...
Once done, you should create handler for the event and notify ALV grid about it. To do so, you need to declare a method (named hotspot_click in my example) with the addition FOR EVENT HOTSPOT_CLICK ...
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 ...
Before writing this part, I was never using Report-Report Interface, so probably it is not common scenario to do so, or it is not used with the systems I had possibility to use. But anyway I’ve made a ...
The changes of this parameter are only visible in edit mode and makes sense only for character or string fields. If it is set to ABAP_TRUE (‘X’), then the ALV grid stores in internal table the value in ...
... 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 ...
Following the example of downloading exchange rates from Central Bank Of Turkey using transformations, please find bellow the same way for National Bank of Poland.
Again, lets create an RFC destination ...
One of the standard requests that comes with every SAP implementation is automatic download of exchange rates to your system. Today I will show you on an example of Central Bank Of Turkey, how to transform ...
Yesterday I've announced that I'm working on automatic logon to SAP systems on Eclipse. Today the changes in the plugin ABAP Extensions for Eclipse are published and you can use the first version of t ...
As you can imagine, INTTYPE is just a presentation of DATATYPE in internal SAP format in most of cases. I wrote most of cases because it can also say if the field in internal table is a reference to other ...
... of the data entered in edit mode will be done on a base of the real data type of the linked internal table field.
Possible data types form system NW 7.52 SP04 can be found bellow.
Data ...
The main functionality of the ROLLNAME is to provide a data element that will be responsible for showing F1 help on the grid cell. If in data element the documentation is available, then it will be shown. ...
... grid and you’re optimizing the width of the column by minimizing the description of the column itself. It is common behaviour for example for checkboxes or for icon columns. In this case the Tooltip is ...
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. ...
Conversion Exit was already mentioned while describing the EDIT_MASK field, but here it is called in a bit different way. Before saying how, it is important to understand the conversion exits. They are ...
... 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 ...
... in the 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 ...
... 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.
...
... 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 ...
FIX_COLUMN can be useful when you have a lots of fields in the field catalog and you want to make sure that some of the key fields are always visible, for example sales order number and position or posting ...
... 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
...
If you are familiar with the WRITE statement, then probably you know the EDIT_MASK addition which allows us to do formatting of the output in two different ways, you can apply the same to the EDIT_MASK ...