0% found this document useful (0 votes)
24 views12 pages

Generic Data Source in SAP BW4HANA - Visual BI Solutions

Uploaded by

Bo Zhang
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
24 views12 pages

Generic Data Source in SAP BW4HANA - Visual BI Solutions

Uploaded by

Bo Zhang
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 12

4/27/2020 Generic Data Source in SAP BW4HANA - Visual BI Solutions

     

Generic Data Source in SAP BW4HANA


by Poovarasan Boopalan | Oct 4, 2019 | SAP BW/4HANA

 

In BW4HANA, T-code RSO2 can be used only to view the generic data sources. You cannot create or expose them to other
systems as it was done earlier. Listed below are the alternate options that are available in BW4HANA.

ABAP CDS (Logics can be incorporated)


HANA Calculation Views (potentially on top of External Views of InfoProviders)
BADI Provider as ODP-BW Provider

ABAP CDS Views


ABAP Core Data Services (CDS) allows the creation of complex views that exceed the capabilities of database views
created in SE11.

Creating ABAP CDS views


ABAP CDS views can be created in eclipse using the SAP HANA Development perspective.

https://visualbi.com/blogs/sap/sap-bw-hana/sap-bw4hana/generic-data-source-sap-bw4hana/ 1/12
4/27/2020 Generic Data Source in SAP BW4HANA - Visual BI Solutions

In the Project Explorer tab right-click on respective location and select New -> Other ABAP Repository Object

It will open a pop-up dialogue with the list of available objects. Select the Data Definition option under Core data services

to create the view.

https://visualbi.com/blogs/sap/sap-bw-hana/sap-bw4hana/generic-data-source-sap-bw4hana/ 2/12
4/27/2020 Generic Data Source in SAP BW4HANA - Visual BI Solutions
Specify the name and package for the view. Click on a finish to create the CDS structure.

You will get the coding window as shown below. Specify the SQL view name of the structure that we are going to create
and select the source using quick help(Ctrl+Space) option in the respective places.

Write down the required structure logic inside the curly braces in the highlighted area.

Create a Datasource on top of this view.

Calculation Views

SAP HANA Calculation view is a powerful information view that can be created by consuming multiple tables and we can
perform complex calculations. You can create a calculation view on top of database tables and info providers.

Creating Calculation views

To create a calculation view on top of the info providers, ‘External SAP HANA View’ property should be enabled as shown
below.

https://visualbi.com/blogs/sap/sap-bw-hana/sap-bw4hana/generic-data-source-sap-bw4hana/ 3/12
4/27/2020 Generic Data Source in SAP BW4HANA - Visual BI Solutions

(b) ADSO

(c) Query

Calculation views can be created in the SAP HANA Modeler Perspective

Right-click on schema where you want to create the view and select New -> Calculation view. Drag and drop the
projection node and you will find the objects that you had enabled for accessing through external views.

You can perform any calculations that are needed or join with other tables and use them as the data source.

BADI Provider

https://visualbi.com/blogs/sap/sap-bw-hana/sap-bw4hana/generic-data-source-sap-bw4hana/ 4/12
4/27/2020 Generic Data Source in SAP BW4HANA - Visual BI Solutions
BADI provider is an enhancement created by means of ABAP implementation. It is based on InfoObjects. Fields from
HANA views are not supported.

Creating a BADI Provider


Run the T-code SE19 to open the BADI builder. Select New BAdI and specify the enhancement spot as
RSO_BADI_PROVIDER and click create. It opens a pop-up window as shown below. Provide the name and text for the
BAdl and click on the creation of enhancement.

Once the enhancement implementation is created, you will be asked to select a package and create the implementation
class in the BADI as shown below.

https://visualbi.com/blogs/sap/sap-bw-hana/sap-bw4hana/generic-data-source-sap-bw4hana/ 5/12
4/27/2020 Generic Data Source in SAP BW4HANA - Visual BI Solutions
Specify the class name which needs to be created in the BAdl.

Once you have saved it, the enhancement implementation will be created as shown below in which we can write an ABAP
program based on the required structure of the Datasource.

You can use above mentioned three methods to create a generic Datasource from the Info Providers.

Know more about Visual BI Solutions SAP BW Services offerings here.

 

Subscribe to our Newsletter

Email *

Subscribe!

What are you looking for?

Search

Keep up with our latest Blogs

Email *

https://visualbi.com/blogs/sap/sap-bw-hana/sap-bw4hana/generic-data-source-sap-bw4hana/ 6/12
4/27/2020 Generic Data Source in SAP BW4HANA - Visual BI Solutions

Subscribe!

Related Blogs

SAP BW4HANA Transformation - HANA Pushdown

BW/4HANA Data Model on External Database

https://visualbi.com/blogs/sap/sap-bw-hana/sap-bw4hana/generic-data-source-sap-bw4hana/ 7/12
4/27/2020 Generic Data Source in SAP BW4HANA - Visual BI Solutions

CDS Views - Introduction

SAP Analytics Cloud – Consuming Data Using ODATA as a Data Source

https://visualbi.com/blogs/sap/sap-bw-hana/sap-bw4hana/generic-data-source-sap-bw4hana/ 8/12
4/27/2020 Generic Data Source in SAP BW4HANA - Visual BI Solutions

Categories
 About Us

BIG Data
 Business Intelligence

 Microsoft

 SAP
Analysis for Office
Data Services
Fiori
Lumira 2.0

https://visualbi.com/blogs/sap/sap-bw-hana/sap-bw4hana/generic-data-source-sap-bw4hana/ 9/12
4/27/2020 Generic Data Source in SAP BW4HANA - Visual BI Solutions
Lumira 2.2
 SAP Analytics Cloud

 SAP BusinessObjects

 SAP BW/HANA
SAP BW
SAP BW/4HANA
SAP HANA
SAP VORA
SAP Data Warehouse Cloud
SAP Digital Boardroom
SAP NetWeaver
SuccessFactors
 Self-Service BI

Snowflake
Tableau
TIBCO Spotfire
Tips and Tricks
Upcoming Events
 VBI Products

Authors
Ingo Hilgefort
Arun Varadharajan
Poovin Kumar
Bhupinder Singh
Shankar Narayanan
Nithyanandam Venu
Fazith Ali Z
More...

Archives
►2020 (45)

►2019 (234)

►2018 (201)

►2017 (119)

►2016 (35)

►2015 (57)

►2014 (78)

►2013 (22)

►2012 (6)

https://visualbi.com/blogs/sap/sap-bw-hana/sap-bw4hana/generic-data-source-sap-bw4hana/ 10/12
4/27/2020 Generic Data Source in SAP BW4HANA - Visual BI Solutions
Strategy
Data Lake | Data Warehousing
Cloud BI | Hybrid BI
Big Data & Advanced Analytics
ETL / Data Migration
Self-Service BI

Products
BI Hub
VBX Extensions
ValQ
xViz

Self Service BI
SAP Analytics Cloud
Microsoft Power BI
Tableau
TIBCO Spotfire
SAP Lumira

By Industry
Oil and Gas
Chemicals
Manufacturing
Retail
Healthcare
Pharmaceutical
Utilities

By Function
CEO
Sales
Finance
Supply Chain
Vendor Spend
Accounts Receivables
Accounts Payables

Featured Offerings
BI Strategy
SAP Lumira Training
Self-Service BI
5-Day QuickStart

Resources
Blogs
Webinars
Videos
Case Studies
Innovation Lab
Events

https://visualbi.com/blogs/sap/sap-bw-hana/sap-bw4hana/generic-data-source-sap-bw4hana/ 11/12
4/27/2020 Generic Data Source in SAP BW4HANA - Visual BI Solutions

About Us
About Visual BI
Our Team
Careers
Partners Program
News and Events

Contact Us
+1 888-227-2794
+1 972-232-2233
[email protected]
5920 Windhaven Pkwy
Plano TX 75093



Privacy Policy Sit emap Training Support Cont act Us Free Trial

Copyright © Visual BI Solut ions

https://visualbi.com/blogs/sap/sap-bw-hana/sap-bw4hana/generic-data-source-sap-bw4hana/ 12/12

You might also like