sap_read_where_used
Trace SAP object dependencies via cross-reference tables to show where an object is used or what it uses, supporting wildcard filters and result limits for efficient where-used analysis.
Instructions
Queries SAP's cross-reference tables (WBCROSSGT/WBCROSSI) to find what objects use a given object (forward) or what a given object uses (inverse). Equivalent to SAP's 'Where-Used List' functionality. IMPORTANT: For heavily-used tables (MARA, KNA1, LFA1), use name_filter='Z*' to avoid timeout!
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": {
"object_name": "<object_name>"
},
"name": "sap_read_where_used"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| direction | No | Query direction: 'forward' finds what uses this object, 'inverse' finds what this object uses | forward |
| max_results | No | Maximum number of results to return (max: 1000) | |
| name_filter | No | Filter pattern for object names (e.g., 'Z*' for custom objects, 'Y*' for Y namespace). Supports * as wildcard. REQUIRED for heavily-used tables like MARA to avoid timeout! | |
| object_name | Yes | Name of the object to look up (e.g., MARA, BAPI_PO_CREATE, ZCL_MY_CLASS) | |
| object_type | No | Type of the object | TABL |