ABAP in Eclipse - Install, Configure, Use, and Enhance Your ADT
ABAPblog.com - by Łukasz Pęgiel
by
3y ago
If you follow me on social media, you probably already know that I have written a book about ABAP in Eclipse. The full title is: ABAP in Eclipse - Install, Configure, Use, and Enhance Your ADT 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 see where he did well and where he need to still learn.      Cheers  ..read more
Visit website
ALV Grid in the nutshell: Field catalog - do_sum
ABAPblog.com - by Łukasz Pęgiel
by
4y ago
DO_SUM is very helpful when you want to assure that some of the numeric fields are summarized directly after the output, without interaction from the user side. In order to do so, just put the ‘X’ or ABAP_TRUE into the value of this field in the field catalog. One remark, if you’re adding this setting to value or quantity field, make sure that you also fill the QFIELDNAME or CFIELDNAME to have the sum of 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 DISTAN ..read more
Visit website
ALV Grid in the nutshell: Field catalog - fix_column
ABAPblog.com - by Łukasz Pęgiel
by
4y ago
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 document number. When you setup the value of this field to ‘X’, then the column(s) will be always visible. While scrolling the fields after the last field which has this flag will be moving left or right. It is important to remember that it is not enough to say that for example 3rd column should be fixed. You must set this flag to all fields up to the last one, that should be fixed in order ..read more
Visit website
ALV Grid in the nutshell: Field catalog - emphasize
ABAPblog.com - by Łukasz Pęgiel
by
4y ago
EMPHASIZE allows you to change the colour of the whole column if there is such need. This field can be filled with following values: Space - this means you use the standard behaviour of ALV grid ‘X’ – you use standard emphasize (default colour) ‘Cxyz’ – where:  ‘C’ is a character that notifies ALV grid that you will use specific colours x – contains one of the following colour numbers: 0 - background colour 1 - blue 2 - gray 3 - yellow 4 - blue/gray 5 - green 6 - red 7 - orange   y – is saying if the colours are intensified (‘1’) or not (‘0’) z – is saying if the colours s ..read more
Visit website
ALV Grid in the nutshell: Field catalog - col_id - ALV control: Column ID
ABAPblog.com - by Łukasz Pęgiel
by
4y ago
Column ID is not really a special field in ALV. It is always filled automatically by ALV and your manual entries are overwritten and set to the same value as COL_POS (Column position). I’ve prepared 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 screen   When you select the first option - “COL_ID filled”,  the FCAT will be created with manual COL_ID.   ..read more
Visit website
ALV Grid in the nutshell: Field catalog - dfieldname – Fieldname for column group
ABAPblog.com - by Łukasz Pęgiel
by
4y ago
I was trying to find an usage of this field in ALV, but I failed. Any of known behaviours of ALV didn’t shown anything on a base of this field.   ..read more
Visit website
ALV Grid in the nutshell: Field catalog - Hotspot - ALV control: SingleClick-sensitive
ABAPblog.com - by Łukasz Pęgiel
by
4y ago
Hotspot fields are very widely used in ALV, such fields have the behaviour and style of hyperlinks, which means they are triggering the single-click event of ALV called HOTSPOT_CLICK. It is commonly used to show the details of the clicked object, or to move to a transaction in which the object can be modified. As you can imagine, setting column as a HOTSPOT is very easy, you need to pass only the ABAP_TRUE (‘X’) value to the field catalog, but this will only change the style of the field (content of the field is underlined) and it will fire the HOTSPOT_CLICK event. Figure 114 Setting column ..read more
Visit website
ALV Grid in the nutshell: Field catalog - sp_group - Group key
ABAPblog.com - by Łukasz Pęgiel
by
4y ago
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 selection of fields to display in layout change window, you’ll be able to choose to see all hidden fields or the hidden fields from the group you’ve created. If you don’t pass the group name into IT_SPECIAL_GROUPS, 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 ea ..read more
Visit website
ALV Grid in the nutshell: Field catalog - domname - Domain name
ABAPblog.com - by Łukasz Pęgiel
by
4y ago
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. Maybe just for information and for Report-Report interface, where this field is use as one of the matching criteria for selection-screen parameters. As you can see on the next image, although I gave the DOMNAME value FLAG, it didn’t changed anything in the field catalog.   Figure 108 DOMNAME in Field catalog ..read more
Visit website
ALV Grid in the nutshell: Field catalog - reprep - ALV control: Value is selection criterion for rep./rep.intf.
ABAPblog.com - by Łukasz Pęgiel
by
4y ago
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 deep dive into topic, to understand how we can use this interface and for which purpose.   Seems that, using this interface, you can call from ALV grid an BW Query, SAP Query, ABAP Report Program or Transaction. Probably depending on the installed version of your system, or addons, the list of the interfaces may be longer. Anyway I’ve focused here on a simple example of calling another ABAP ..read more
Visit website

Follow ABAPblog.com - by Łukasz Pęgiel on FeedSpot

Continue with Google
Continue with Apple
OR