Skip to Content

As you may know , from SP09 of HANA we have the EIM services now being made available as part of HANA as SDI and SDQ . These services allow you to load data from external DBs either virtually through the federation feature which we call as SDA (Smart data access) or replicate in realtime through the SDI (Smart data Integration) functionality.

More Info on HANA EIM: HANA IM Services: SDI and SDQ in HANA SPS09

Especially interesting for BW is the HANA Smart data Integration .To use the SDI functionality, the external DBs from which data needs to be replicated are connected through the SDI adapters in the remote source which acts as a channel for realtime replication.SDI supports all types of data delivery reatime, batch and federation.

Platform Integration – HANA Smart Data Integration for SAP BW

To connect to the EIM services of HANA to BW we have a new source system type called as SAP HANA source systems. This new source system replaces the existing DB connect source systems from 750 codeline . It has the following capabilities

  • it leverages SAP HANA Smart Data Integration as provisioning technology
  • it  provides a simplified and unified source system connection to SDI, SDA and local SAP HANA sources with the HANA Source System in BW
  • it uses the SDI Adapter in SAP BW for real-time replication from various source DBs

There are many databases that can be connected through SDI or SDA . Only a few are listed in the above fig. The complete and the up-to-date list can be accessed here : full list of supported adapters

SAP HANA source systems comes in 3 flavors.

 

HANA_LOCAL: this type of source system allows connection to schemas of the same database.

HANA_SDA :

  • is a type of source system connection that allows connection to external DB and access the data using the virtual table through the SDA functionality and which allows realtime replication through the SDI adapter based remote source connection

HANA_MDC:

  • for Multi-tenant Database Container (MDC) support
  • Support for connecting to SAP HANA tables / views in other database tenants

To create a new source system for SDI based replication, first a remote source connection to the external database using the SDI adapter has to be created. All SDI adapters are hosted on a DP agent : Install and configure a DP Agent. Then the remote source is pointed to the source system while creating a new one (see below):

So, once the source system is created it will be possible to create HANA datasources for these source system. Each HANA datasource of SDI type during activation creates a target table for data replication along with other HANA artifacts  in the BW schema.

Leveraging the SAP HANA SDI HANA Adapter in SAP BW-Integration Scenarios with SAP BW

The HANA datasource can be enabled for 2 types of replication: UPSERT and INSERT.

UPSERT replication : During replication the target table of the datasource holds the actual of the data as in the source table , no history is captured. only updated information is stored.
INSERT replication: if the datasource is enable for INSERT replication every update on the source data is captured along with its history which means the before and after image as also stored in the target table which is captured by the SDI adapter which is later mapped to the 0RECORDMODE IOBJ in the transformation during data modeling.

This activated datasources can be connected to the Open ODS view for ad-hoc and quick reporting or to an ADSO for traditional data staging scenarios of BW.
Real-time replication up to the data staging layer of ADSO can be enabled with a new feature in Process chains Called as Streaming process chains. More details are in the video links below.

Videos:

Enable realtime replication of type UPSERT and consume in an open ODS view
Enable realtime replication of type INSERT from datasource to ADSO using Streaming process chains

More Info:

How to set up HANA datasource for SDI

 

 

 

To report this post you need to login first.

9 Comments

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

  1. Sebastian Gesiarz

    Great post, thank you, Mary!

    Provides a nice clarification for the whole EIM SDA.

     

    Could you please tell whether it would be somehow possible to create SDA DataSources based on the standard (for example LO – LIS) extractors streaming the data to (V3) and from RSA7 queue via INSERT replication? Kind of RDA daemon replacement. Or is it only for the tables and views?

    (0) 
    1. Mary Shilpa Balavendra Post author

      Hi Sebastian,

      The recommended approach for real-time streaming from SAP sources would be to go for ODP datasources and including their dataflow in the streaming process chain for real-time replication. SDI would not be necessary in this case.

       

      Regards,

      Shilpa

      (0) 
      1. Veronica de la Pinta de Ana

         

        Hi Mary!

        Thanks so much for you detail explanation.

        I was wondering in case you have to chose in a new BW Hana implementation the best method to replicate data into BW systems based on a real-time need…. What option would be the best and why?

         

         

        (0) 
      2. TCS Team

        Dear Shilpa,

        Can you please elaborate the approach you have suggested above. Do you mean to say all the ODP datasources can send data at run time directly to SAP BW unlike many standard datasources?

         

         

        Thanks,

        Gaurav

         

        (0) 
        1. Mary Shilpa Balavendra Post author

           

          Hi Gaurav,

           

          SDI is used mainly for replicating data in realtime from non-SAP sources.

          For standard extractor based approach we still use ODP type of source systems for which PSA is not longer mandatory.

          Thus, you can load directly to the BW providers.

           

          Regards,

          Shilpa

           

          (0) 
  2. Singh Manish

    Thanks for sharing your experience.

    What will be your recommendation on extracting data out of SAP either BW or  ERP where both the systems are running on SAP HANA. Need of customer is to extract data and use it in 3rd party external system for analytics in near real time.

    Thanks

    (0) 
  3. Murthy Gunuputi

    Hi Shilpa

    Thanks for the article.

    I’m wondering whether we can connect SAP HANA(as source) to other database using SDI. Do you have any idea about this?

    Thanks

     

    (0) 

Leave a Reply