The following instructions explain the steps that must be taken to access BAdI methods/functionalities within a specification-type class;
Prerequisites:
In this guide:
Extend BAdI implementation
Customize implementing class
Redefining BAdI Methods within the Regulation Type Class
Extend BadI implementation
In transaction se18 the BADI definitions can be extended. Select the required /SCT/QP_BADI* and create a new implementation via the context menu for the "Implementation" subobject. A name as well as a short text have to be provided.
Customize implementing class
Within the newly created BAdI implementation, the Implementing Class is then specified.
The Implementing Class must then make the method call using the specification-class.
For example, for the "ON_ACTIVITY" method.
Redefining BADI methods within the specification class
Within the specification class, the inherited methods from the BAdI can now be redefined.
In this example, the status change within the "Demand" specification is to execute subsequent processes. The ON_ACTIVITY method from /SCT/QP_IF_BADI_NODE was used for this purpose.



