objectEnhancements
Retrieves active enhancement implementations for an ABAP source, showing injection positions and optionally their source code, so you can see the actual executed code beyond the standard include.
Instructions
Enhancement implementations active on an ABAP source, with the position each one is injected at and, with includeSource, its code. Read this before drawing conclusions from a standard include: the code that actually runs is the include plus its enhancements, and the source itself does not show them. For a program include, pass contextUri (the main program) - one include can belong to several programs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| contextUri | No | The containing program, for a program include: /sap/bc/adt/programs/programs/sapmv45a. Not needed for classes, interfaces or function groups. | |
| includeSource | No | Decode and return the ABAP source of each enhancement (default false). | |
| sourceMainPath | Yes | ADT path of the object, e.g. /sap/bc/adt/programs/includes/mv45afzz/source/main. The /source/main part is added when it is missing. |