Importing SAP BW Data to a New or Existing Model
To import data from an SAP Business Warehouse (BW), or an SAP BW/4HANA system, to new or existing models, you specify the source data and then specify how you want to import the data into model dimensions.
You use an SAP Business Warehouse (BW) system, version 7.3x or higher release, or an SAP BW/4HANA system, SP4 or higher, and both the SAPCP cloud connector and SAP Analytics Cloud agent are installed and configured.
- Select the appropriate option:
If you're creating a new model:
NoteFrom the acquire data panel, select the filter icon to narrow down the number of data sources in the list. You can filter by data source type or by category.
- Select .
- Select Get data from a data source.
- Select SAP BW.
If you're importing into an existing model:
NoteYou can select the filter icon to narrow down the number of data sources in the list. You can filter by data source type or by category.
- Select .
- Open the model you want to update.
- Switch to the Data Management screen.
- Select .
- Select SAP BW.
- Choose an existing connection, or create a new connection.
- Copy a query from an existing model (which you can edit before saving), or create a new query.
To copy and edit an existing query, follow these steps:
- Select Copy a query from a model.
- Select a query from the list, and then select Next.
- Make your changes, and then select Create.
Or, to create a new query, follow these steps:
- Select Create a new query and select OK.
- Type a name for your query.
- Select a BW query from the list, or search for a query by name, and then select Next.
- If the data source contains prompts, select values for them. If you're using a variable that is filled by customer exit, you can select the Use Backend Default option. Then when you refresh the data, the data is based on the current value filled by the customer exit instead of the value saved when the query initially ran.
- Select dimensions and measures for your query.
(If you're importing data via a BEx query using an SAP BW import data connection, see the note in the prerequisites above.)
- You can select the icon to open the Select Presentations dialog, and then choose which presentations you want to see. Depending on the characteristic, you could have these presentations available:
Key (DISPLAY_KEY) Key (Internal) (KEY) Long Text (LONG_TEXT) Medium Text (MIDDLE_TEXT) Short Text (SHORT_TEXT) Text (TEXT)
- If one of the selected dimensions has a hierarchy, you can click (Select Hierarchy and Drill Level) for more options, such as specifying which hierarchy to use. Note that No Hierarchy / Flat Presentation (Default) is the default.
You can also specify the drill level. The default drill level is 2.
- Select Create.
You can continue to work on other tasks while the data is being uploaded in the background.
- When the draft data is finished uploading, open it from the Draft Data list (for a new model or dataset), or the Draft Sources list (for an existing model or dataset).
The data appears in the data integration view.
- Complete the following substeps if your SAP BW data source contains date dimensions that you want to enrich with time-hierarchy information.
If you enrich the date dimensions, you can use date-related features such as sorting by date, and date range sliders for filtering.
- Select the column that contains the SAP BW date dimension data.
- In the right hand Details side panel, expand Modeling and choose the Date dimension type.
- Choose the appropriate Date Format.
After the initial import of raw data, continue with the data preparation task before completing your model: Preparing Data.