impactOf
Find all objects and methods that depend on a specific ABAP object or method, showing the package tree and filtering test or standard SAP objects to assess change impact.
Instructions
What depends on an object, or on one method of it: the objects that use it, the places inside them, and the package each belongs to. This is usageReferences rolled up into an answer that can be read - that call returns a tree of package, object and member rows, which for a widely used class means hundreds of rows and over a hundred thousand characters for a list of forty objects. Usages in test includes are marked as such, standard SAP objects are left out unless asked for, and depth=2 follows the callers one step further to show what depends on them in turn. A method with no callers looks the same as one reached only dynamically, so an empty answer says so rather than reading as proof.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| depth | No | 1 (default) for what uses the object; 2 also reports what uses those, with the object each was reached through. | |
| snippets | No | Also fetch the source snippet of each place actually listed (one more backend call, larger answer). Only covers depth 1 - indirect (depth=2) places never get snippets. | |
| objectUrl | No | ADT object URL, for a type objectName cannot address. | |
| maxObjects | No | How many objects to list. Default 100. | |
| methodName | No | Narrow it to one method of the class or interface. The position inside the source is worked out here. | |
| objectName | No | Object name, e.g. ZCL_APP_RETURN. Use with objectType. | |
| objectType | No | ADT type: CLAS/OC, INTF/OI, PROG/P, FUGR/F, TABL/DT, DDLS/DF. Defaults to CLAS/OC. | |
| onlyCustom | No | Keep only Z*, Y* and /namespace/ objects (default true). The count of standard objects left out is reported. | |
| packageName | No | Only usages in this package. | |
| includeTests | No | Include usages that are only in test includes (default true); they are marked testOnly either way. | |
| maxPlacesPerObject | No | How many places to list per object. Default 8; the rest are counted. |