bw_adso_save_and_activate
Persists ADSO object changes to SAP BW/4HANA and optionally activates them, using inline XML or a file path for large payloads, with transport request support.
Instructions
One-stop: lock → PUT → (optional) activate → unlock. Prefer xmlPath (from bw_adso_get_xml + outputPath) over inline xmlContent for large bodies. When a transport is required: pass transport= OR createTransport=true (use bw_transport_check to list available requests). Do not omit both. Returns a compact projection; set outputPath to keep the full update/activate detail.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| xmlPath | No | Path (under the workdir) to a file containing the xml. Takes precedence over xmlContent. Use bw_*_get_xml with outputPath to produce such a file. | |
| timestamp | No | ||
| transport | No | Existing transport request number to use. | |
| 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. | |
| xmlContent | No | Inline xml content. Mutually exclusive with xmlPath. | |
| autoActivate | No | Default true. | |
| createTransport | No | If true and recording is required with no transport/corrNr, create a new TR. Default false — you must choose transport or createTransport. | |
| transportDescription | No | Description used only when createTransport=true. |