SAP BLOG SAP BW (demo) and Microsoft PowerBI Desktop. Step by step guide

SAP Blog

Kayıtlı Üye
Katılım
22 Ara 2017
Mesajlar
1,925
Tepki puanı
7
Puanları
6
Prerequisites

You installed SAP NetWeaver AS ABAP Developer Edition
For example, you did it in the cloud with this Step-by-step guide
Link: SAP NetWeaver AS ABAP Developer Edition 7.52 SP04 in Yandex Cloud. Binary Installation. Step-by-step guide | SAP Blogs
Explore your new developer SAP system you find that SAP_BW (SAP Business Warehouse) component installed, transaction RSA1 properly working and a lof of BI pre-delivered content exists in the system. For learning purpose your want use querying tool for existing demo InfoObjects (InfoCubes, DSO and so on)
For example, you want to use Microsoft PowerBI Desktop on your Windows machine for this purpose.
0_BW_component.png

0_BW_pre_delivered-1.png

Resolution

As we see in this MS guide
Link: Use the SAP Business Warehouse (BW) Connector in Power BI Desktop - Power BI
Mandatory requirement for connection between MS PowerBI and SAP BW is installed SAP Net Connector
Quote:
“Implementation 2.0 of the SAP Connector requires the SAP .NET Connector 3.0. Access to the download requires a valid S-user. Contact your SAP Basis team to get the SAP .NET Connector 3.0”
Lucky peoples with S-user can download SAP Connector from Support Portal – SAP Connector for Microsoft .NET
Resolution for users who don’t have S-user account and who can’t download files from SAP Support Portal
If we consider installation media closer we can find Connector here –
<extracted path>\client\SAPGUI4Windows\BD_NW_7.0_Presentation_7.50_Comp._2_\PRES1\GUI\WINDOWS\Win32\System64\SAP .NET Connector\.NET40\
1_Connector.png

OK, In this point we must add this DLLs’ to GAC ( Global Assembly Cache )
An Easy way for lucky peoples who have Installed Microsoft Visual Studio:
cmd
gacutil -i <assembly name>
Link: How to: Install an assembly into the global assembly cache
Resolution for users who don’t have Visual Studio IDE and who can’t use gacutil
If we consider PowerShell (this tool basically exists in each Windows machine by default) closer we can find related for our purpose functional:
[System.Reflection.Assembly]::Load(“System.EnterpriseServices, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a”)
$publish = New-Object System.EnterpriseServices.Internal.Publish
$publish.GacInstall(“<extracted path>\client\SAPGUI4Windows\BD_NW_7.0_Presentation_7.50_Comp._2_\PRES1\GUI\WINDOWS\Win32\System64\SAP .NET Connector\.NET40\sapnco_utils.dll”)
$publish.GacInstall(“<extracted path>\client\SAPGUI4Windows\BD_NW_7.0_Presentation_7.50_Comp._2_\PRES1\GUI\WINDOWS\Win32\System64\SAP .NET Connector\.NET40\sapnco.dll”)
$publish.GacInstall(“<extracted path>\client\SAPGUI4Windows\BD_NW_7.0_Presentation_7.50_Comp._2_\PRES1\GUI\WINDOWS\Win32\System64\SAP .NET Connector\.NET40\rscp4n.dll”)
$publish.GacInstall(“<extracted path>\client\SAPGUI4Windows\BD_NW_7.0_Presentation_7.50_Comp._2_\PRES1\GUI\WINDOWS\Win32\System64\SAP .NET Connector\.NET40\libicudecnumber.dll”)
Run Microsoft PowerBI and try to connect to your SAP NetWeaver AS ABAP Developer Edition
Connection example:
3_connection.png

After the connection is successfully established you can obtain data from BW
File – Get Data – SAP Business Warehouse Application Server
3_bw.png

List of Objects available for querying
For example, InfoCube – 2CREPM_PRODUCT [1]
3_infocube.png

Everything works correctly
3_allworkingfine.png

Conclusion
Microsoft PowerBI Desktop is a very popular BI-tool
Some trick how to use it with SAP NetWeaver AS ABAP Developer Edition are provided

Okumaya devam et...
 
Üst