bw_create_adso
Creates a new aDSO shell in SAP BW/4HANA. Supports template-based creation from an existing aDSO or DataSource, or empty shell for custom fields.
Instructions
Create a new aDSO shell. action "from_template" (default): proposes fields/keys/settings from a template object — pass template_name. Without template_name creates an empty standard shell. The template can be an existing aDSO (template_type "ADSO", default) or a DataSource (template_type "RSDS"); for RSDS, source_system is required and the server proposes the DataSource fields. action "empty": creates a minimal empty aDSO with the given adso_type preset (no fields). After creation the aDSO is inactive — add fields with bw_update_adso, then call bw_activate.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | Yes | Description / label for the new aDSO. | |
| action | No | "from_template" (default) or "empty". | |
| package | No | Development package (default "$TMP"). | |
| adso_name | Yes | Name for the new aDSO (e.g. "ADSO_NAME"). | |
| adso_type | No | aDSO type preset for action "empty" (default "standard"). | |
| info_area | Yes | InfoArea to create the aDSO in (e.g. "NEXTJUICE"). | |
| source_system | No | Source system name of the DataSource. Required when template_type is "RSDS". | |
| template_name | No | Template object to propose fields from (action "from_template" only). An aDSO name when template_type is "ADSO", or a DataSource name when template_type is "RSDS". | |
| template_type | No | Type of the template object for action "from_template": "ADSO" (default) to copy from an existing aDSO, or "RSDS" to propose fields from a DataSource. When "RSDS", source_system is required. | |
| write_interface | No | Enable write interface (pushMode="true"). Default false. |