bw_trfn_class_save_source
Save and activate the ABAP class source for a transformation routine, using a file path or inline content. Specify the routine ID and optionally disable activation.
Instructions
Save+activate the routine's ABAP class source. Prefer sourcePath over inline sourceContent.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"id": "<id>"
},
"name": "bw_trfn_class_save_source"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| transport | No | ||
| 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. | |
| sourcePath | No | Path (under the workdir) to a file containing the source. Takes precedence over sourceContent. Use bw_*_get_xml with outputPath to produce such a file. | |
| sourceContent | No | Inline source content. Mutually exclusive with sourcePath. | |
| transportDescription | No | ||
| activateTransformation | No | Default true. |