bw_update_query_key_figures
Add, modify, or remove key figures in a BW Query with support for basic key figures, reusable CKFs/RKFs, local formulas, display properties, and exception aggregation. All changes apply in a single save.
Instructions
Manage the key figure structure of an existing BW Query: add basic key figures, add references to reusable CKFs/RKFs (with optional local restrictions), add local formula members (recursive operator/operand tree), set member display properties (decimals, hidden, sign inversion) and exception aggregation, and remove members. All operations are applied in a single save. Member operations also apply to a reusable key figure structure referenced via bw_update_query_layout add_structure. All names must be technical names (e.g. "IOBJ_NAME", "CKF_NAME", "QUERY_NAME").
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| transport | No | Transport request number (e.g. DEVK900123). Only needed when the query lives on a transportable package; omit for $TMP queries. | |
| operations | Yes | Key figure changes to apply in one save cycle. | |
| query_name | Yes | Technical name of the query to modify (e.g. "QUERY_NAME"). | |
| structure_target | No | Container for the key figure structure when it is created by the first add operation (default "columns"). Ignored once a structure already exists. |