bw_run
Executes SAP BW/4HANA DTPs, process chains, failed chain steps, request activation or deletion, and remodeling requests through operation-based run controls.
Instructions
Execute: run a DTP, start a process chain or repeat a failed step, activate or delete a request, run a remodeling request. The operation enum lists every operation with what it requires; bw_describe(tool: "bw_run", 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_run"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Process chain technical name (e.g. [process_chain] | |
| start | No | Start time for "execute" and "restart": "immediate" (default) or an ISO 8601 timestamp to schedule the backgr… [remodeling] | |
| action | No | Action to perform (default "execute"). [remodeling] | |
| log_id | No | Log ID of the run, from bw_list_process_chain_runs or bw_list_process_chain_last_status. [restart_chain_step] | |
| target | No | g. [delete_request] | |
| storage | No | Defined per operation — bw_describe(tool: "bw_run", operation: "…") gives each definition. [activate_request, delete_request] | |
| chain_id | No | Process chain technical name (e.g. [restart_chain_step] | |
| dtp_name | No | Technical name of the DTP to run (e.g. [dtp] | |
| operation | Yes | Operation — one of: dtp: Start (execute) a run of an existing, active DTP. Requires dtp_name. | process_chain: Start a process chain once, now, as the BW/4HANA Cockpit does with "Execute" (asynchronous): the run goes to the background under the technical user of the cha… Requires name. | restart_chain_step: Repeat a failed or canceled step of a process chain run, as the process chain monitor does with "Repeat": the step runs again as a new instance within the same… Requires chain_id, log_id. | activate_request: Activate loaded data (DSO request activation): move a finished load from the Inbound Table into the active data table and change log. Requires request_tsn. | delete_request: Delete load requests from an InfoProvider, removing the data they brought in along with their entry in the request management. | remodeling: Start, restart or reset a remodeling request. Requires info_provider, remodeling_rule. | |
| process_id | No | Step number as bw_get_process_chain_run_detail shows it (e.g. [restart_chain_step] | |
| request_tsn | No | Defined per operation — bw_describe(tool: "bw_run", operation: "…") gives each definition. [activate_request, delete_request] | |
| target_type | No | Target object type (default "ADSO"). [delete_request] | |
| all_requests | No | Delete every request of target in one run (default false): roll back the activations, then delete what is lef… [delete_request] | |
| wait_seconds | No | Wait up to this many seconds for the run to end before answering (0 = answer right after the start, the defau… [process_chain] | |
| info_provider | No | InfoProvider technical name the rule belongs to. [remodeling] | |
| request_number | No | Optional request GUID from bw_list_remodeling_requests output. [remodeling] | |
| remodeling_rule | No | Remodeling rule ID, from bw_list_remodeling_requests output. [remodeling] |