Where Used
where_usedFind where an ABAP object or a specific symbol inside its source is used. Returns each usage location with snippets or name, type and URL; pass line and column for symbol-level search.
Instructions
List where an ABAP object, or a symbol inside it, is used (the where-used list). Returns each usage as a location with a source snippet when SAP provides snippets, otherwise as name, type and URL. For symbol-level search pass line and column of the symbol in the object's source. Use search_abap_object_lines to search text inside one object instead. Read-only.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"url": "<url>"
},
"name": "where_used"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ADT URL of the object (e.g. /sap/bc/adt/oo/classes/zcl_order_api) or, for a symbol, its source URL ending in /source/main | |
| line | No | Line of the symbol in the source; give together with column for a symbol-level search, omit for the whole object | |
| column | No | Column of the symbol in that line; give together with line | |
| connectionId | No | SAP system connection ID |