ABAP Keyword Documentation → ABAP - Release-Specific Changes → Changes in Releases 6.xx → Changes in Release 6.20
System Classes and Methods in Release 6.20
1. Class for calculating with time stamps
2. Class for formatting lists
3. Error handling of exceptions
4. Methods for determining type attributes
Other versions: 7.31 | 7.40 | 7.54
Modification 1
Class for Calculating with Time Stamps
Class CL_ABAP_TSTMP has been introduced for calculating with time stamps in packed numbers.
Modification 2
Class for Formatting Lists
Class CL_ABAP_LIST_UTILITIES has been introduced to calculate output lengths, convert values from the list buffer, and define field limits. With the return values for their methods, a correct column alignment for ABAP lists can be programmed (even when Eastern Asian scripts are displayed).
The objects in a list can be displayed in different output lengths by specifying the required length
in the menu under System → List → Unicode Display. This is of particular use with screen lists where the output is cut off, which is displayed by the characters
(>
or <
).
Modification 3
Error Handling of Exceptions
Interfaces IF_MESSAGE and IF_SERIALIZABLE_OBJECT have been added to class CX_ROOT, the global superclass for all exceptions. Texts from classes that implement these interfaces are edited as message texts. Using method GET_LONG_TEXT, the long text for an exception text is provided.
Modification 4
Methods for Determining Type Attributes
Two new methods have been introduced in class CL_ABAP_DATADESCR for determining type attributes at runtime (RTTI):
- Method IS_READ_ONLY determines whether a reference data object is write-protected.
-
Method APPLIES_TO_DATA_REF executes a type check between the description and the data object. This makes it possible to determine the compatibility of data objects.