bw_write_open_hub
Create or update an Open Hub Destination from a template object, and change table or file options, fields, keys, and notifications for SAP BW/4HANA data extraction.
Instructions
Create or change an Open Hub Destination. The operation enum lists every operation with what it requires; bw_describe(tool: "bw_write_open_hub", 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_open_hub"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | No | Fields to add; existing fields are kept. Full definition: bw_describe(tool: "bw_write_open_hub", operation: "update"). [update] | |
| package | No | Development package (default "$TMP"). [create] | |
| directory | No | Defined per operation — bw_describe(tool: "bw_write_open_hub", operation: "…") gives each definition. | |
| file_name | No | Defined per operation — bw_describe(tool: "bw_write_open_hub", operation: "…") gives each definition. | |
| file_type | No | Defined per operation — bw_describe(tool: "bw_write_open_hub", operation: "…") gives each definition. | |
| info_area | No | InfoArea to create the destination in (e.g. "INFOAREA_NAME"). [create] | |
| operation | Yes | Operation — one of: create: Create an Open Hub Destination (TLOGO DEST) from a template object: the server copies the fields and key of the given aDSO, CompositeProvider or query and gene… Requires open_hub_name, description, info_area, template_object_name. | update: Change an Open Hub Destination (TLOGO DEST): description, the database options of a table destination (write mode, technical key, connection), the file options… Requires open_hub_name. | |
| separator | No | Defined per operation — bw_describe(tool: "bw_write_open_hub", operation: "…") gives each definition. | |
| transport | No | Transport request to record the change on. [update] | |
| key_fields | No | Table only, without technical key. The complete semantic key in order, by field name as bw_get_open_hub lists it (including any $BIC$ prefix); an empty array clears the key. [update] | |
| write_mode | No | Defined per operation — bw_describe(tool: "bw_write_open_hub", operation: "…") gives each definition. | |
| description | No | Defined per operation — bw_describe(tool: "bw_write_open_hub", operation: "…") gives each definition. | |
| server_name | No | Defined per operation — bw_describe(tool: "bw_write_open_hub", operation: "…") gives each definition. | |
| open_hub_name | No | Defined per operation — bw_describe(tool: "bw_write_open_hub", operation: "…") gives each definition. | |
| remove_fields | No | Field names to remove, including from the key. [update] | |
| rename_fields | No | Fields to rename, as an object of current field name to new field name. A new name has at most 16 characters, starts with a letter and consists of letters, digits and underscores. [update] | |
| connection_type | No | Defined per operation — bw_describe(tool: "bw_write_open_hub", operation: "…") gives each definition. | |
| rfc_destination | No | RFC destination for the notification. [update] | |
| destination_type | No | TAB = database table, FILE = flat file. Default "TAB". [create] | |
| logical_file_name | No | Defined per operation — bw_describe(tool: "bw_write_open_hub", operation: "…") gives each definition. | |
| use_technical_key | No | Defined per operation — bw_describe(tool: "bw_write_open_hub", operation: "…") gives each definition. | |
| db_connection_name | No | Defined per operation — bw_describe(tool: "bw_write_open_hub", operation: "…") gives each definition. | |
| external_format_on | No | Fields to switch to external format; output type and length follow the modeling tools (CHAR with the display length, STRG for strings). [update] | |
| file_on_app_server | No | Defined per operation — bw_describe(tool: "bw_write_open_hub", operation: "…") gives each definition. | |
| external_format_off | No | Fields to switch back to internal format. [update] | |
| dtp_external_program | No | The DTP into this destination is started by an external program. [update] | |
| template_object_name | No | Technical name of the object whose fields and key are copied (an aDSO, a CompositeProvider or a query). [create] | |
| template_object_type | No | Type of the template object. Full definition: bw_describe(tool: "bw_write_open_hub", operation: "create"). [create] | |
| send_notification_rfc | No | Notify an RFC destination after a load; needs rfc_destination. [update] |