bw_find
Search, trace, and inspect SAP BW/4HANA objects and their relations—by name, cross-reference, folder contents, data flow, source systems, DataSources, roles, metadata tables, or system profile.
Instructions
Find BW objects and their relations: search by name, cross references, folder contents, data flows, source systems and DataSources, roles and their queries, metadata tables, system profile. The operation enum lists every operation with what it requires; bw_describe(tool: "bw_find", operation: "…") gives the complete parameter definition of one.
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": {
"operation": "<operation>"
},
"name": "bw_find"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Workbook technical name or pattern with * (e.g. [afo_workbooks] | |
| path | No | Repository path to list. [contents] | |
| role | No | g. [afo_workbooks] | |
| user | No | Only workbooks last changed by this user. [afo_workbooks] | |
| format | No | Defined per operation — bw_describe(tool: "bw_find", operation: "…") gives each definition. [dataflow, datasources] | |
| levels | No | Number of levels to expand in each direction. [dataflow] | |
| direction | No | Direction to traverse: "upwards" (towards BW target objects: ADSO, TRFN, TRCS, IOBJ), "downwards" (towards so… [dataflow] | |
| operation | Yes | Operation — one of: search: Universal search for BW objects by name or description. Requires search_term. | xref: Find where-used / dependencies for a BW object. Requires object_type, object_name. | contents: Read the direct children of any node in the BW repository tree. Requires path. | dataflow: Trace the data flow graph for a BW object. Requires object_name, object_type. | dtps: List DTPs (Data Transfer Processes) that depend on a BW object. Requires object_type, object_name. | source_systems: List logical source systems (LSYS) registered in the BW datasource structure. | datasources: List all DataSources (RSDS) available under a logical source system. Requires source_system. | remote_entities: List the remote entities (HANA views / virtual tables) a source system exposes as a DataSource basis — read-only discovery (the value help Eclipse shows on the… Requires source_system. | afo_workbooks: List the Analysis for Office workbooks stored in BW, with the where-used list BW keeps for them: per workbook its text, document and file type, last change (us… | roles: Load the complete BW query role hierarchy as shown in the "Publish to Role" dialog. | role_queries: List all BW queries published in BW roles (via the "Publish to Role" mechanism). | metadata_tables: Read a BW object definition from its metadata tables (ADT DataPreview, read-only; needs ADT authorization). Requires object_type, object_name. | system_profile: Find out what the connected BW system is and which of this server's tools will work on it. | |
| role_name | No | Optional. [role_queries] | |
| changed_to | No | Only workbooks last changed on or before this date or timestamp (ISO, UTC). [afo_workbooks] | |
| max_results | No | How many workbooks to show (default 100, at most 1000); the total is always reported. [afo_workbooks] | |
| object_name | No | Defined per operation — bw_describe(tool: "bw_find", operation: "…") gives each definition. [4 of 13 operations] | |
| object_type | No | Defined per operation — bw_describe(tool: "bw_find", operation: "…") gives each definition. [5 of 13 operations] | |
| result_size | No | Maximum number of rows to return (default 200). [remote_entities] | |
| role_filter | No | Optional prefix to filter results. [roles] | |
| search_term | No | Search string. [search] | |
| used_object | No | Only workbooks that use this object: a query name, planning function, planning sequence, aggregation level or… [afo_workbooks] | |
| changed_from | No | Only workbooks last changed on or after this date or timestamp (ISO, UTC). [afo_workbooks] | |
| source_system | No | Defined per operation — bw_describe(tool: "bw_find", operation: "…") gives each definition. [4 of 13 operations] | |
| search_pattern | No | Wildcard pattern filtering on technicalName (default "*" for all). [remote_entities] | |
| apco_path_filter | No | Optional APCO hierarchy filter. [datasources] | |
| source_system_type | No | Optional source system type filter. [source_systems] |