Skip to Content

About this Document


Business Case

This Document is based on SALES Business use case scenario.

Purpose


This manual aims to help you to understand the modeling of BW objects in HANA and reporting based on HANA models in SAP BW on HANA. This kind of processing is done in SAP BW on HANA. This manual also provides details of the steps involved in importing and modeling BW objects in HANA and creating a report based on HANA views. This document is created solely with the intention of sharing information.

Pre-requisites


Following are the pre-requisites for performing the tasks presented in this manual:

  • SAP BW on HANA 7.4 installed on the server with packages sp4 (SAPKW74004).
  • SAP BW on HANA 7.3.1 installed on the server with packages sp9 (SAPKW73109).
  • SAP BW on HANA 7.3 installed on the server with packages sp10 (SAPKW73010).
  • HANA database upgraded to version 1.00.48.372847 and above.
  • BW authorization and Analytic privileges.
  • Knowledge of BO Objects.
  • Knowledge of Lumira



Contents


1       Overview of HANA-Optimized DSO and InfoCube in BW 7.4.

2       Source Data Extraction (LO Extraction).

3       Modeling BW Objects in BW 7.4.

     3.1         Releasing BEx Query as InfoProvider.

4       HANA-Optimized InfoCube and DSO

5       Importing and Modeling in HANA.

     5.1         Modeling in HANA of DSOs.

     5.2         Modeling in HANA of InfoCube.

6       Visualization in Lumira.

   



1         Overview of HANA-Optimized DSO and InfoCube in BW 7.4

DSO and InfoCube in BW 7.4 are HANA-Optimized by default. This reduces the activation time and has a huge impact on the performance .Modeling BW objects in BW on HANA into Analytic /calculation views is only possible if the underlying database is HANA .This is because tables are physically stored in HANA and views are created with respect to the tables .

Key features


  • SAP HANA-optimized objects help you to achieve significantly better performance in load and activation processes. Up to 80% faster for loading in HANA Optimized Cubes.
  • With its high compression rate, the column-based HANA datastore requires less data be materialized.
  • Data modeling is simplified. Using in-memory-optimized objects you do not need to load a BWA index, for example. In addition, the architecture of the HANA database allows you to delete characteristics from an InfoCube that still contains data.
  • With BW in-memory-optimized objects, complex analysis and planning scenarios with unpredictable query types, high data volume, high query frequency, and complex calculations can be processed with a high degree of efficiency.
  • Loading SAP HANA-optimized BW objects can also be done more efficiently.
  • The SAP HANA database replaces both any previous database and SAP NetWeaver BWA, reducing infrastructure costs. Instead of both database administration tools and additional SAP NetWeaver BWA administration tools, the SAP HANA database requires just a single set of administration tools for monitoring, backup and restore, and other administrative tasks.




2         Source Data Extraction (LO Extraction)

We will now see the basic feature of Extraction from EC6 system.

  • Login to EC6 with proper username and password

/wp-content/uploads/2014/03/scn1_405106.png

  • We activate the data sources using a transaction code RSA5.

ecc 1.png

  • Next we have to fill up the set up tables for the data sources. For doing this first we need to delete the contents that are already present in that setup tables.
  • Go to the transaction code LBWG and select the application component whose content has to be deleted.

/wp-content/uploads/2014/03/scn2_405168.png

  • To check whether the setup table is deleted or not go to the transaction code RSA3 and give the data source name and it will show Record 0 found which means data has been deleted from the setup table.
  • Now using the transaction code LBWQ delete the extraction queue of the data source.
  • Also delete the delta queue for the data sources using the transaction code RSA7.
  • Next is to fill the setup table using the transaction code SBIW or OLI*BW where * denotes the application component

/wp-content/uploads/2014/03/scn3_new_405169.png

  • Click on Logistics under Settings for Application-Specific Data Sources–> Managing Extract Structures —>Application-Specific Setup of Statistical Data.
  • Now click on the execute button of Perform setup – Sales and do it for delivery.

/wp-content/uploads/2014/03/scn4_405180.png

  • We will now see the set up table contents using transaction code RSA3.

/wp-content/uploads/2014/03/scn5_405181.png





3 Modeling BW Objects in BW 7.4

  • We will locate the application component and replicate both the data sources.

/wp-content/uploads/2014/03/scn6_405189.png

  • Next we will create the info package for the data sources 2LIS_11_VAHDR and 2LIS_11_VAITM and activate it so that we can see all the data that are selected in the extract structure will be in the PSA table.

/wp-content/uploads/2014/03/scn7_405192.png

  • Next we will create the DSO for each data sources and load all the data into it using the data transfer process and activate both the DSOs.

/wp-content/uploads/2014/03/scn8_405195.png

/wp-content/uploads/2014/03/scn9_405209.png

3.1 Releasing BEx Query as InfoProvider

  • We  create the BEx Query in Query Designer for the InfoCube and display it using transaction code RSRT.

/wp-content/uploads/2014/03/scn10_new_405211.png

  • Next we will set the Query as InfoProvider in the properties tab or using t-code RSDB in order to use it in HANA.

/wp-content/uploads/2014/03/scn11_405214.png

/wp-content/uploads/2014/03/scn12_new_405218.png

4 HANA-Optimized InfoCube and DSO

  • In order to find out whether InfoCube is HANA-Optimized or not. In BW 7.4, by default it is HANA-optimized.

/wp-content/uploads/2014/03/scn13_405225.png

  • In order to find out whether DSO is HANA-Optimized or not, this can be find out after activation

/wp-content/uploads/2014/03/scn14_405224.png




5        Importing and Modeling in HANA

We will now see the basic steps of importing and modeling from BW into HANA.

  • Login to HANA Database via HANA Studio by clicking add system.

/wp-content/uploads/2014/03/scn15_405231.png



  • Go to File->import->import SAP Netweaver BW models.


/wp-content/uploads/2014/03/scn16_405249.png

  • Next we enter the credentials of BW on HANA choose the target system.
  • Note: target system has to be the underlying database.

/wp-content/uploads/2014/03/scn17_405250.png


  • Next we see that it imports, generates, transforms, saves and activate BW objects into views.



/wp-content/uploads/2014/03/scn18_405260.png



  • Next select the package for the views.
  • DSOs are imported as analytic views.

/wp-content/uploads/2014/03/scn19_405272.png


  • InfoCubes are imported as internal analytic views and graphical calculation view.
  • BEx query released as infoprovider is imported as analytic view


/wp-content/uploads/2014/03/scn20_405273.png







5.1 Modeling in HANA of DSOs

  • Next we created calculation view on top two analytic views.
  • We selected the fields which we need for analysis in projection
  • We used union since the metadata structure is same in projection and it increases the performance and aggregated it.



/wp-content/uploads/2014/03/scn21_405274.png


/wp-content/uploads/2014/03/scn22_405276.png

  • Next we check the value of calculation view.

/wp-content/uploads/2014/03/scn23_405279.png

5.2 Modeling in HANA of InfoCube

  • Next we also check the data of calculation view of infoCube imported.

/wp-content/uploads/2014/03/scn24_405281.png

6 Visualization in Lumira

  • Login to Lumira using HANA credentials.

/wp-content/uploads/2014/03/scn25_405282.png

  • Next select the calculation view to prepare the visualization.

/wp-content/uploads/2014/03/scn26_405283.png

  • Next, select the measures and dimensions to prepare visualization

/wp-content/uploads/2014/03/scn27_405293.png

  • Next, we can add filter or restrict in order to visualize the data

/wp-content/uploads/2014/03/scn28_405295.png

  • Finally we visualize and save the dataset either in local folder or in Excel or in HANA or in Lumira cloud.

/wp-content/uploads/2014/03/scn29_405300.png

To report this post you need to login first.

12 Comments

You must be Logged on to comment or reply to a post.

  1. Antony Jerald J

    Hi,

    Thanks for sharing, nicely explained.

    I’ve a query here:

    Since BW is running on Hana, what is the necessity in bringing the model again to Hana DB for modeling?  It’s again duplicating model/data right?  We can directly build BO Reports from BEx query which is from BW on Hana right?

    (One correction:  The view you’ve created is analytical view and it’s not the calculation View)

    Kindly suggest.

    Regards,

    Antony Jerald.

    (0) 
    1. Mohammad Safiullah Post author

      Hii Antony ,

      Yeah  you are completely right .We can build BO reports from Bex Query directly .

      It also depends on  requirements .If you need to create analytic view/calculation view
      on top of HANA-Optimised dso (imported as analytic view) and analytic view/attribute view created on tables present in HANA schema or on flatfile data or on tables imported from other sources, then you have build BO reports on HANA views .

      If there is a complex calculation needs to be done in BEX   , then it would be better if you do it in HANA side rather than on BEx  using HANA engines because performance is much faster .

      I have created calculation view on top of two analytical view (i.e on top of two HANA-Optimised DSO) .You can see that in 5.1 and calculation view is created as infocube is imported which is described in 5.2.

      (0) 
    1. Mallikarjuna Gande

      Hi,

      When we have HANA as DB for BW 7.4, no  manual import of DSO or Cube to HANA studio.

      If you enable following option for DSO/Cube, system will create views in HANA studio. its like auto importing.  🙂

      And the only disadvantage with this, after transporting to Production/next system  we need re-active all views manually 🙁 .

      if anybody know, how to activate all views @time After transport, please do share. thanks.

      DSO settings.JPG

      (0) 
      1. Mohammad Safiullah Post author

        Thank you Mr Mallikarjuna Gande.

        This option is available in BW 7.4 SP 6 and above .I didn’t see this option in BW 7.4 SP 4.

        Indeed I have checked this option and activated the DSO/Infocube and the following view is  automatically imported and  created. Then I manually activated the view to analyse the data further .

        Thank you once again for this information.

        (0) 
  2. Sanjay gupta

    Hi Mohammad,

    Thanks for the nice information.

    I have a small doubt here, for importing the BW models into SAP HANA, you are going into option file —> import… etc…

    But i heard that we have a T Code for importing the models into SAP HANA.

    Do you have any idea about the Tcode for importing the models into SAP HANA?

    Thanks & Regards,

    D. Sanjay Gupta.

    (0) 

Leave a Reply