bw_get_variable
Retrieve and verify a BW Variable's definition—reference characteristic, processing and selection types, input readiness—after creation, to ensure the stored object matches the intended modeling settings.
Instructions
Read a reusable BW Variable: reference characteristic, description, variable type, processing type, selection type, input type, input readiness, reusability, package and InfoArea. Use it after bw_create_variable to confirm what was stored — the modeling API accepts an enum literal it does not know, saves its default and still reports the object as consistent, so a create alone proves nothing about the processing or selection type. Reading the variable through a query does not answer this: a query resolves the technical name of a variable reference, never its definition.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | Output format: "text" (default) for the parsed definition, "raw" for the unmodified XML. | |
| variable_name | Yes | Technical name of the variable (e.g. "VAR_NAME"). |