SAP NEWS-620-OBJECTS



Get Example source ABAP code based on a different SAP table
  



ABAP Objects in ABAP Release 6.20
ITOC

ABAP_MODIFICATION_NN New Variant PROVIDE FIELDS

The statement PROVIDE FIELDS makes it possible to process internal tables without headers. The functions of the statement PROVIDE are therefore also available under ABAP Objects.

ABAP_MODIFICATION_NN Creating Objects from the SAP XSLT Processor

It is possible to create objects and call class methods from the SAP XSLT processor. Now only public methods are allowed, whereas previously private and protected methods could also be called.
Parameter passing now supports all ABAP elementary types, any object references, and the generic types csequence and xsequence. Previously, the types c, d, f , i, n, string, and t were supported.
The transfer has been tightened, so that for the data types d and i only valid specifications are allowed. Value losses for type p are now caught. The values of types x and xstring are converted into the XML standard format base64.

ABAP_MODIFICATION_NN Polymorphism and Object Services

The uniqueness of object keys is now checked not only by class, but across the whole inheritance hierarchy. The behavior of the following methods has also been changed:
The methods RELEASE and REFRESH_PERSISTENT behave polymorphically, so that objects of subclasses can also be handled.
The methods GET_PERSISTENT and DELETE_PERSISTENT now access a table of the root class first, to optimize the type determination. Because the type is now stored over multiple transactions, it can no longer be changed.
By searching in the tables of the root class, the methods CREATE_PERSISTENT and CREATE_TRANSIENT now check whether the object key exists in another class of the inheritance hierarchy.

ABAP_MODIFICATION_NN Accessing Data References and Static Class Components in JavaScript

Binding JavaScript objects to ABAP objects has been expanded to enable access to data reference variables and static components (attributes and methods) of classes. In bound internal tables, you can delete lines using the <(>JS<)> method deleteLines and the <(>JS<)> method append has been renamed appendLine.



Latest notes:

Support for the connection of JavaScript to ABAP will be discontinued without replacement in a release after 7.1.
ABAP_HINT_END

ABAP_MODIFICATION_NN Kernel Methods

The addition BY KERNEL MODULE of the statement METHOD makes it possible to implement methods as kernel methods.

ABAP_MODIFICATION_NN Recursions of RAISE EVENT

The number of possible recursions of the statement RAISE EVENT has been raised from 63 to 1023.