Find BW objects and relations
bw_findSearch SAP BW/4HANA objects by name and trace cross-references, folder contents, data flows, source systems, roles, metadata tables, and BPF templates to locate dependencies and related modeling artifacts.
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, Business Process Flow templates and what their actions can open. 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. "WORKBOOK_*"). [afo_workbooks] | |
| path | No | Repository path to list. [contents] | |
| role | No | Defined per operation — bw_describe(tool: "bw_find", operation: "…") gives each definition. [afo_workbooks, bpf_web_applications] | |
| user | No | Only workbooks last changed by this user. [afo_workbooks] | |
| alias | No | Application alias, instead of or in addition to role and instance. [bpf_web_applications] | |
| format | No | Defined per operation — bw_describe(tool: "bw_find", operation: "…") gives each definition. [6 of 17 operations] | |
| levels | No | Number of levels to expand in each direction. [dataflow] | |
| instance | No | Launchpad instance of the application. [bpf_web_applications] | |
| 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. | bpf_templates: List the BPC Business Process Flow templates of an environment: id, description, status (A released, E draft in editing), version, validity and who holds the l… Requires environment. | bpf_template_versions: List the versions of a BPF template with their status: A released (one per template), I earlier version, E draft in editing with its lock user. Requires environment, template_id. | bpf_report_variables: List the variables of an Analysis for Office workbook or a query as a BPF action can prefill them: per data source the variables with text, selection type, ref… Requires object_name. | bpf_web_applications: List the web applications registered for BPC, which a BPF action of type open_web_application can open. | |
| role_name | No | Optional. [role_queries] | |
| changed_to | No | Only workbooks last changed on or before this date or timestamp (ISO, UTC). [afo_workbooks] | |
| environment | No | BPC environment (e.g. "MYENV"). [bpf_templates, bpf_template_versions] | |
| 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. [5 of 17 operations] | |
| object_type | No | Defined per operation — bw_describe(tool: "bw_find", operation: "…") gives each definition. [6 of 17 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] | |
| template_id | No | Id of the BPF template (e.g. "TEMPLATE_ID"). [bpf_template_versions] | |
| 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 17 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] |