AS ABAP Release 754, ©Copyright 2019 SAP SE. All rights reserved.
ABAP Keyword Documentation → ABAP - Release-Specific Changes → Changes in Releases 7.5x → Changes in Release 7.54 → ABAP RESTful Programming Model in Release 7.54 →
Behavior Pool in Release 7.54
1. Arbitrary name for handler methods
Arbitrary Name for Handler Methods
The method name in handler classes is now arbitrary.
This generalization makes it possible to include multiple methods in a handler class and, for example,
to implement an action using a method. This enables the behavior implementation of a business object without introducing a corresponding number of handler classes.
No Exceptions
Triggering exceptions in BEHAVIOR methods is prohibited. The attempt RAISE EXCEPTION will lead to a runtime error.