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.

Prerequisites

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.

Note
If you're importing data via a BEx query using an SAP BW import data connection, see these SAP Notes: 2416705 Information published on SAP site 2408693 Information published on SAP site.

Procedure

  1. Select the appropriate option:
    • If you're creating a new model:

      1. Select Start of the navigation path (Main Menu) Next navigation step  Create Next navigation step  ModelEnd of the navigation path.
      2. Select Get data from a data source.
      3. Select SAP BW.
      Note
      From 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.
    • If you're importing into an existing model:

      1. Select Start of the navigation path (Main Menu) Next navigation step  Browse Next navigation step  FilesEnd of the navigation path.
      2. Open the model you want to update.
      3. Switch to the Data Management screen.

      4. Select Start of the navigation path Next navigation step Data sourceEnd of the navigation path.
      5. Select SAP BW.
      Note
      You 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.
  2. Choose an existing connection, or create a new connection.
  3. 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:

      1. Select Copy a query from a model.
      2. Select a query from the list, and then select Next.
      3. Make your changes, and then select Create.
    • Or, to create a new query, follow these steps:

      1. Select Create a new query and select OK.
      2. Type a name for your query.
      3. Select a BW query from the list, or search for a query by name, and then select Next.
      4. 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.
      5. 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.)

      6. 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)
      7. 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.

      8. Select Create.

    You can continue to work on other tasks while the data is being uploaded in the background.

  4. 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.

  5. 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.
    1. Select the column that contains the SAP BW date dimension data.
    2. In the right hand Details side panel, expand Modeling and choose the Date dimension type.
    3. Choose the appropriate Date Format.

Next Steps

After the initial import of raw data, continue with the data preparation task before completing your model: Preparing Data.