bw_set_transformation_routine_fields
Set the target fields that an END routine writes in a BW transformation. Specify either the fields to include or the fields to exclude.
Instructions
Edit the list of target fields the global END routine writes ("Felder setzen" in SAP GUI). Requires an existing END routine — use bw_set_transformation_routine to create one first. Provide exactly one of: fields (explicit complete set of target fields the END routine should write) or exclude_fields (all target fields minus these). Rejected if neither or both are given, if any field name does not exist in the target segment, or if the resolved field set is empty. Does not activate. Returns lock_handle for bw_activate.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | No | Explicit complete set of target field names the END routine should write (e.g. ["FIELD_A", "FIELD_B"]). Case-insensitive. Mutually exclusive with exclude_fields. | |
| transport | No | Transport request number (e.g. DEVK900123). Only required if the BW system requires transport assignment. | |
| exclude_fields | No | Target fields to exclude from the END routine — all other target fields are written. Case-insensitive. Mutually exclusive with fields. | |
| transformation_name | Yes | Transformation name (UUID-like key). |