SAP NEWS-71-ENHANCEMENTS

Get Example source ABAP code based on a different SAP table
  



Enhancements in Release 7.0, EhP2

1 Exception handling in CALL BADI 2 Dynamic GET BADI and CALL BADI 3 Nested Source Code Enhancements

ABAP_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.



Latest notes:This change has also been downported to Release 7.0.


ABAP_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.

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