bw_write_adso
Create, restructure, and configure SAP BW/4HANA aDSOs: add fields, manage key fields, change settings, and switch between planning and loading modes.
Instructions
Create or change an aDSO: structure, keys, settings, planning mode. The operation enum lists every operation with what it requires; bw_describe(tool: "bw_write_adso", operation: "…") gives the complete parameter definition of one.
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": {
"operation": "<operation>"
},
"name": "bw_write_adso"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | "planning" for interactive planning, "loading" for staging/loading. [set_planning_mode] | |
| label | No | Description / label for the new aDSO. [create] | |
| action | No | Defined per operation — bw_describe(tool: "bw_write_adso", operation: "…") gives each definition. [create, update] | |
| fields | No | Pure field definitions for action "add_pure_field". [update] | |
| package | No | Development package (default "$TMP"). [create] | |
| settings | No | Settings to apply (only for action "update_settings"). [update] | |
| adso_name | No | Defined per operation — bw_describe(tool: "bw_write_adso", operation: "…") gives each definition. | |
| adso_type | No | aDSO type preset for action "empty" (default "standard"). [create] | |
| dimension | No | Field group ("Feldgruppe") to place the field in, given as the bare group name — e.g. [update] | |
| info_area | No | InfoArea to create the aDSO in (e.g. [create] | |
| operation | Yes | Operation — one of: create: Create a new aDSO shell. Requires adso_name, label, info_area. | update: Add/remove fields, change aDSO type/settings, manage key fields, or update individual field properties. Requires adso_name. | set_planning_mode: Switch a planning-enabled aDSO between interactive planning ("planning") and loading ("loading", shown as "Staging" in the BW cockpit). Requires adso_name, mode. | |
| transport | No | Transport request number (e.g. [update] | |
| field_name | No | Field name to modify (only for action "update_field_properties"), e.g. [update] | |
| key_fields | No | List of field names that should be key fields (only for action "manage_keys"). [update] | |
| properties | No | Field properties to update (only for action "update_field_properties"). [update] | |
| partitioning | No | Partitioning to write (only for action "manage_partitions"). [update] | |
| source_system | No | Source system name of the DataSource. [create] | |
| template_name | No | Template object to propose fields from (action "from_template" only). [create] | |
| template_type | No | Type of the template object for action "from_template": "ADSO" (default) to copy from an existing aDSO, or "R… [create] | |
| infoobject_name | No | InfoObject name or comma-separated list to add or remove (e.g. [update] | |
| write_interface | No | Enable write interface (pushMode="true"). [create] |