bw_create_infosource
Create an InfoSource shell for SAP BW, optionally copying fields from aDSO, CompositeProvider, DataSource, or InfoObject. Activate later with bw_activate.
Instructions
Create a new InfoSource (TRCS) shell. Optionally copy fields from an existing aDSO, CompositeProvider, DataSource, or InfoObject via copy_from_* parameters. Created inactive — call bw_activate with object_type "trcs" afterwards. To add fields after creation use bw_update_infosource.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | InfoSource name (e.g. "INFOSOURCE_NAME"). | |
| description | Yes | Description / label for the InfoSource. | |
| info_area | Yes | InfoArea to create the InfoSource in (e.g. "MCPBW"). | |
| package | No | Development package (default "$TMP"). | |
| copy_from_object_name | No | Technical name of the source object to copy fields from. Required when copy_from_object_type is set. | |
| copy_from_object_type | No | Type of the source object: ADSO (aDSO), HCPR (CompositeProvider), RSDS (DataSource), IOBJ (InfoObject). | |
| copy_from_object_sub_type | No | SubType for IOBJ only: ATTR (Attribute), TEXT (Text), HIER (Hierarchy). | |
| copy_from_source_system | No | Source system name (required when copy_from_object_type is RSDS, e.g. "PC_FILE"). |