bw_list_datasources
Lists all DataSources under a logical source system by recursively traversing the application component hierarchy, with optional path filtering for specific subtrees.
Instructions
List all DataSources (RSDS) available under a logical source system. Recursively traverses the full application component (APCO) hierarchy — may take time for large systems. Returns each DataSource with name, source_system, description, status, self_url, and apco_path (ordered list of application component titles from root to the DataSource). Optional apco_path_filter restricts the result to a hierarchy subtree and also prunes traversal.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source_system | Yes | Logical source system name (e.g. "LSYS_NAME"). Case-insensitive. | |
| format | No | Output format. "text" (default): compact plain-text table. "raw": raw XML feed bodies from BW. | |
| apco_path_filter | No | Optional APCO hierarchy filter. A contiguous sequence of APCO names, "/"-style separated by ">". May start at any depth in the hierarchy (not root-anchored). Example: "LEVEL_1 > LEVEL_2" returns every DataSource that lives under a path containing LEVEL_1 directly followed by LEVEL_2. Each segment matches case-insensitively against the APCO display title OR the technical APCO name (trimmed). A single segment like "IS-U" returns all DataSources under any APCO subtree named "IS-U", at any depth. |