SAP NEWS-620-CLASSES



Get Example source ABAP code based on a different SAP table
  



System Classes and Methods in ABAP Release 6.20
ITOC

ABAP_MODIFICATION_NN Class for Calculating with Time Stamps

Class CL_ABAP_TSTMP has been introduced for calculating with time stamps in packed numbers.

ABAP_MODIFICATION_NN 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 < ).

ABAP_MODIFICATION_NN 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 . The method GET_LONGTEXT is used to provide the long text for an exception text.

ABAP_MODIFICATION_NN Methods for Determining Type Properties

Two new methods have been introduced in class CL_ABAP_DATADESCR for determining type properties at runtime (RTTI):
The method IS_READ_ONLY determines whether a reference data object is write-protected.
The 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.