bw_dataflow_get
Retrieve the dataflow or lineage graph around an SAP BW object, showing nodes and relations. Specify direction and depth to trace upstream sources or downstream targets, with optional file output for large graphs.
Instructions
Get the dataflow/lineage graph around an object (nodes + relations). levels=-1 expands fully; positive N limits depth. Use outputPath for deep graphs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| levels | No | -1 = expand to the end (default); N = expand N levels. | |
| direction | No | upstream = sources feeding into the object; downstream = where it flows; both (default) = both. | |
| objectName | Yes | ||
| objectType | No | Default ADSO. | |
| outputPath | No | If provided, the full result is written to this path (under the workdir) and the tool returns only a small summary envelope { ok, outputPath, bytes, summary }. Objects/arrays are written as JSON; ONLY the bw_*_get_xml family writes the raw XML string as plain text (that file is directly reusable as xmlPath in a later save call). Other *_get tools (e.g. bw_dtp_get, bw_trfn_get) write the PARSED XML-to-JSON tree, not raw XML — use the matching bw_*_get_xml tool when you need the raw XML string. Use outputPath for large responses (XML, table data, logs, dataflow graphs). When set, tools skip inline pagination/projection so the file contains the complete payload. |