... CITYFROM. According to OSS notes I had to also fill ROLLNAME (Data element) or DOMNAME (Domain), as they are the criteria to assign the sender value into receiver select-option (names of the select-option ...
... for logon, and here the surprise started :)
HTTP request failed403,,CSRF token validation failed error appear when I was calling oModel.create method......
Trying to get the security ...
Now it's time to save the values entered into database. I will use here previously created method to move data from reference structure to BAPI tables, then I will read values from database to see ...
In previous article I've shown how to move characteristics from reference data to screen values table, this method is doing opposite way from screen values table to reference data structure. Importing: ...
Before we can call the screen with the characteristic value to change we need to convert data from our reference data structure to table of type TT_API_VALI. Following method shows how to do it. Importing: ...
... update some characteristic values from ALV grid, this would be not a problem at all if the characteristics would be defined from the begriming, but they weren't. In that case I couldn't just add ...
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 ...
... (‘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 as hotspot ...
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. ...
... 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 values of the column.
...
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 ...
... 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) ...
...
exchange_rates TYPE STANDARD TABLE OF exchange_rate WITH DEFAULT KEY.
METHODS: get_exchange_rates RETURNING VALUE(exchange_rates) TYPE exchange_rates.
PRIVATE SECTION.
DATA: xml TYPE string. ...
... XML from bank site into internal table, which can be then used inside your code to populate values of BAPI_EXCHANGERATE_CREATE FM.
There are few ways to download the XML to your ABAP code, I prefer ...
... and in the Secure Storage preferences, you'll not be able to see the stored value.
If you decide to store it with the plain text, you will see it always.
When you right-click on the project ...
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 ...
... 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 the value ...
...
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 you ...
... no more and no less than a function modules that helps to represent the internal values into understandable or more readable values. An basic example is field MATNR which is 18 characters long in ECC and ...
OUTPUTLEN can be used to setup the width of the column (if you don’t use automatic column width optimization). When automatically created, usually it have the value of the maximum field width, but when ...
... 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 in the ...
As you can imagine from the name, NO_SUM does mostly opposite what DO_SUM, but in more secure way. If you don’t want that the field is allowed to be summarized, then set the value of this field to ‘X’. ...
... 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 ...
... 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. ...
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 ...
...
‘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 ...
... layouts, so then the grid looks always the same for them. Personally I leave this almost always empty, but if needed just simply use INTEGER values to setup correct sorting. The demo program that can be ...
The name of this field suggest to put here an internal table name, but it seems that it has no function at all. When SAP fills field catalog automatically, then value of this field is set to ‘1’. You can ...
When you have a field that contains an amount, for example net value of an sales order, then in order to show it correctly in the grid you should fill or this field with an value of currency key (one of ...
... 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 ...