bw_write_datasource
Create an SAP BW/4HANA DataSource, configure field transfer flags, or change its delta process using operation-specific parameters.
Instructions
Create a DataSource, set its fields, change its delta process. The operation enum lists every operation with what it requires; bw_describe(tool: "bw_write_datasource", 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_datasource"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | No | Fields to change and their target transfer flag. [set_fields] | |
| operation | Yes | Operation — one of: create: Create a DataSource (RSDS) on top of a remote entity from the server's field proposal, leaving it inactive. Requires datasource_name, source_system, application_component. | set_fields: Set the transfer flag of one or more DataSource fields (fieldProperties@transfer) and/or the segment language field designation. Requires datasource_name, source_system. | change_delta: Change the delta process of a DataSource (RSDS deltaProperties). Requires datasource_name, source_system, delta_process. | |
| transport | No | Transport request (e.g. [set_fields] | |
| description | No | DataSource description (default: the hana_entity value). [create] | |
| hana_entity | No | Remote entity technical name (technicalName from bw_list_remote_entities), bound as the adapter externalObjec… [create] | |
| delta_process | No | Target delta process code (e.g. [change_delta] | |
| source_system | No | Defined per operation — bw_describe(tool: "bw_write_datasource", operation: "…") gives each definition. | |
| language_field | No | g. [set_fields] | |
| datasource_name | No | Defined per operation — bw_describe(tool: "bw_write_datasource", operation: "…") gives each definition. | |
| application_component | No | Application component (APCO) to file the DataSource under (e.g. [create] |