bw_get_roles
Discover SAP BW query roles and folder structure from the 'Publish to Role' dialog, optionally filtered by prefix, to provide the role and folder names needed for assigning query roles.
Instructions
Load the complete BW query role hierarchy as shown in the "Publish to Role" dialog. Returns all roles (ROLE nodes) and their folder structure (FOLDER nodes) with nodeids. Use this to discover role names and folder names needed for bw_set_query_roles. Optionally filter to roles whose name starts with a given prefix.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role_filter | No | Optional prefix to filter results. Only ROLE nodes whose name starts with this prefix are included (e.g. "BW:"). |