Where-Used List
sap_where_usedNeed to know what will be affected by an ABAP change? Retrieve a where-used list of all repository objects referencing a given object, using its ADT URI or object type and name.
Instructions
Find all repository objects that reference a given object (where-used list). Essential before changing or deleting anything.
Supply either:
object_uri: the full ADT URI (from sap_search_objects), OR
object_type + object_name (and function_group if needed).
Args:
object_uri / object_type + object_name.
max_results (default 100).
response_format.
Returns (json): { objectUri, count, refs: [{uri, type, name, packageName?, description?}], truncated }.
Examples:
"What uses CL_FOO?" -> object_type='class', object_name='CL_FOO'.
"Where is this function group called?" -> object_uri='/sap/bc/adt/functions/groups/zfg1'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| object_uri | No | ADT URI of the object to query (e.g. '/sap/bc/adt/oo/classes/zcl_foo'). Get this from sap_search_objects results. Takes precedence over object_type+object_name. | |
| max_results | No | Maximum references to return (1-500, default 100). | |
| object_name | No | Object name — used with object_type when object_uri is not given. | |
| object_type | No | Object type — used to derive URI when object_uri is not given. | |
| function_group | No | Required when object_type='function'. | |
| response_format | No | Output format: 'markdown' (human-readable, default) or 'json' (structured). | markdown |