SAP NetWeaver AS ABAP Release 740, ©Copyright 2014 SAP AG. All rights reserved.
ABAP Keyword Documentation → ABAP − Release-Specific Changes → Changes in Release 6.20 →
ABAP Objects in Release 6.20
1. New Variant PROVIDE FIELDS
2. Creating Objects from the SAP XSLT Processor
3.Polymorphism and Object Services
4. Accessing Data References and Static Class Components in JavaScript
5. Kernel Methods
6. Recursions of RAISE EVENT
New Variant PROVIDE FIELDS
The PROVIDE FIELDS statement allows you to process
internal tables without
headers. The functions of the PROVIDE statement are therefore also available under
ABAP Objects.
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 you could also call private and protected methods.
The transfer of parameters 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 permitted. Value losses for type p are now caught. The values of types X and XSTRING are converted into the
XML standard format base64.
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:
Accessing Data References and Static Class Components in JavaScript
Binding JavaScript objects to ABAP objects has been extended to allow you to access data reference variables and static components (attributes and methods) of classes. In bound internal tables, you can delete rows using the JS method deleteLines and the JS method append has been renamed appendLine.
Note
Support for the connection of JavaScript to ABAP will be discontinued without replacement in a release after 7.1.
Kernel Methods
The BY KERNEL MODULE addition to the METHOD statement allows you implement methods as
kernel methods.
Recursions of RAISE EVENT
The number of possible recursions of the statement RAISE EVENT has been raised from 63 to 1023.