bw_update_aggregation_level
Add or remove fields on an existing SAP BW Aggregation Level to expose or drop characteristics and key figures, skipping duplicates and preventing empty Aggregation Levels.
Instructions
Add fields to or remove fields from an existing Aggregation Level (TLOGO ALVL). action "add_fields" exposes further characteristics or key figures of the underlying InfoProvider; action "remove_fields" drops them from the Aggregation Level. Fields already exposed (add) or not exposed at all (remove) are reported as skipped, not treated as errors. The Aggregation Level becomes inactive — activate it with bw_activate using object_type "alvl" and lock_handle "". A removal that would leave no characteristic or no key figure is refused before writing. On a CompositeProvider both the prefixed field name and the bare name are accepted.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | No | Defaults to "add_fields". | |
| fields | Yes | Fields to add or remove (e.g. ["FIELD_NAME", "IOBJ_NAME"]). Names are resolved against the underlying InfoProvider. | |
| transport | No | Transport request number. Required on systems with transport obligation. | |
| aggregation_level_name | Yes | Technical name of the Aggregation Level (e.g. "OBJECT_NAME"). |