bw_get_afo_workbook
Fetches a single Analysis for Office workbook from BW without locking it, returning metadata, permissions, where-used list, and optional file content or disk save.
Instructions
Fetch one Analysis for Office workbook stored in BW, as Analysis for Office opens it, without locking it. Returns its size, owner, last change, what the calling user may do with it, and its where-used list and role menus (as bw_list_afo_workbooks). With save_path the file is written to disk — only when the server runs locally; with include_content it comes back as base64. BW checks the caller's authorization for the workbook. Needs the SOAP RFC service (/sap/bc/soap/rfc) to be active; the answer says so when it is not.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Workbook technical name (e.g. "WORKBOOK_NAME"). | |
| overwrite | No | Replace an existing file at save_path (default false). | |
| save_path | No | Local file or directory to save the workbook to. An existing directory, or a path ending in a slash, gets the workbook name and file type; a file name without an extension gets the file type. Local server only. | |
| include_content | No | Return the file as base64 (default false). Large: about 4/3 of the file size. |