Skip to content

ABAP Keyword Documentation →  ABAP − Release-Specific Changes →  Changes in Release 7.0, EhP2 

Enhancements in Release 7.0, EhP2


1.Exception handling in CALL BADI


2.Dynamic GET BADI and CALL BADI


3. Nested Source Code Enhancements

Other versions: 7.31 | 7.40 | 7.54

Modification 1

Exception handling in CALL BADI

Until now, the CX_SY_DYN_CALL_ILLEGAL_METHOD exception was raised when the implementation of a method in CALL BADI was missing. The exception is now caught internally and the call is executed as if the method were present with an empty implementation. Actual parameters that are bound to EXPORTING or RETURNING parameters passed by value are initialized. All other actual parameters remain unchanged.


Note

This change has also been downported to Release 7.0.

Modification 2

Dynamic GET BADI and CALL BADI

Dynamic variants have been added to the GET BADI and CALL BADI statements, which allow the BAdI or BAdI method to be specified dynamically.

Modification 3

Nested source code enhancements

As of Release 7.0 EhP2 you can enhance a source code plug-in defined between ENHANCEMENT - ENDENHANCEMENT with additional source code plug-ins. This means the ENHANCEMENT-POINT and ENHANCEMENT-SECTION statements can be used in a source code plug-in.

In addition, implicit enhancement options are now available before the first line and after the last line of a source code plug-in (after ENHANCEMENT and before ENDENHANCEMENT).