bw_write_infoobject
Create or update SAP BW/4HANA InfoObjects and manage characteristics, key figures, and hierarchies: build, change, activate, or delete hierarchy structures.
Instructions
Create or change an InfoObject and its hierarchies. The operation enum lists every operation with what it requires; bw_describe(tool: "bw_write_infoobject", 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_infoobject"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Defined per operation — bw_describe(tool: "bw_write_infoobject", operation: "…") gives each definition. [create, update] | |
| nodes | No | Defined per operation — bw_describe(tool: "bw_write_infoobject", operation: "…") gives each definition. [create_hierarchy, update_hierarchy] | |
| length | No | CHA only. [create] | |
| package | No | Development package. [create] | |
| version | No | A = the hierarchy (default), M = only its revised version. [delete_hierarchy] | |
| activate | No | Defined per operation — bw_describe(tool: "bw_write_infoobject", operation: "…") gives each definition. [create_hierarchy, update_hierarchy] | |
| data_type | No | CHA only. [create] | |
| info_area | No | InfoArea to assign the InfoObject to (e.g. [create] | |
| long_text | No | CHA only. [update] | |
| operation | Yes | Operation — one of: create: Create a new InfoObject — Characteristic (CHA) or Key Figure (KYF) — inactive. Requires name, info_area, description. | update: Update a Characteristic InfoObject: description, the lower case flag, master data, text and hierarchy properties, and/or the attribute list. Requires name. | create_hierarchy: Create a hierarchy for a characteristic and activate it. Requires characteristic, hierarchy_name, description, nodes. | update_hierarchy: Change a hierarchy: its description and/or its tree, then activate it. Requires characteristic, hierarchy_name. | delete_hierarchy: Delete a hierarchy of a characteristic. Requires characteristic, hierarchy_name. | |
| transport | No | Defined per operation — bw_describe(tool: "bw_write_infoobject", operation: "…") gives each definition. [create, update] | |
| attributes | No | New attribute list, replacing all existing ones. [update] | |
| fixed_unit | No | Defined per operation — bw_describe(tool: "bw_write_infoobject", operation: "…") gives each definition. [create, update] | |
| lower_case | No | Defined per operation — bw_describe(tool: "bw_write_infoobject", operation: "…") gives each definition. [create, update] | |
| short_text | No | CHA only. [update] | |
| with_texts | No | Defined per operation — bw_describe(tool: "bw_write_infoobject", operation: "…") gives each definition. [create, update] | |
| description | No | Defined per operation — bw_describe(tool: "bw_write_infoobject", operation: "…") gives each definition. [4 of 5 operations] | |
| medium_text | No | CHA only. [update] | |
| characteristic | No | Defined per operation — bw_describe(tool: "bw_write_infoobject", operation: "…") gives each definition. [create_hierarchy, update_hierarchy, delete_hierarchy] | |
| fixed_currency | No | Defined per operation — bw_describe(tool: "bw_write_infoobject", operation: "…") gives each definition. [create, update] | |
| hierarchy_name | No | Defined per operation — bw_describe(tool: "bw_write_infoobject", operation: "…") gives each definition. [create_hierarchy, update_hierarchy, delete_hierarchy] | |
| extra_long_text | No | CHA only. [update] | |
| infoobject_type | No | InfoObject type: CHA (Characteristic) or KYF (Key Figure). [create] | |
| aggregation_type | No | KYF only. [create] | |
| with_hierarchies | No | CHA only. [update] | |
| with_master_data | No | Defined per operation — bw_describe(tool: "bw_write_infoobject", operation: "…") gives each definition. [create, update] | |
| conversion_routine | No | CHA only. [create] | |
| hierarchy_intervals | No | CHA only. [update] | |
| compound_infoobjects | No | Technical names of the compound parent InfoObjects, in order. [create] | |
| texts_time_dependent | No | CHA only. [update] | |
| referenced_infoobject | No | CHA only. [create] | |
| hierarchy_reverse_sign | No | CHA only. [update] | |
| texts_language_dependent | No | CHA only. [update] | |
| unit_currency_infoobject | No | Defined per operation — bw_describe(tool: "bw_write_infoobject", operation: "…") gives each definition. [create, update] | |
| hierarchy_time_dependency | No | CHA only. [update] | |
| object_specific_data_type | No | KYF only. [create] | |
| hierarchy_version_dependent | No | CHA only. [update] |