Quantcast
Channel: SCN : Blog List - SAP Business ByDesign
Viewing all articles
Browse latest Browse all 245

Exposing ByDesign Reports and Fields via ODP Interface

$
0
0


The SAP Business ByDesign Operational Data Provisioning (ODP) Interface can be used to extract business data from ByDesign. The most popular use case is to connect ByDesign as source system to SAP BW.

 

You'll find a documentation of the integration scenario "Analytics Integration with SAP Business Warehouse" on SAP Business ByDesign – SAP Help Portal Page> Integration Scenarios.

 

One frequently asked question is, if the data of a specific ByD report or a specific report field can be extracted using ODP:

  • Which data can I extract using ODP? How can I expose my data source via ODP?
  • Which fields are supported?

Below I explain how get those information via ByD UI or via ByD web services.

 

Use Case

 

Let's assume the following scenario:

You work with ByD analytics report Financial Statement Consolidation Preparation - Data Export and you want to know if this report and the included field G/L Movement Type can be extracted using the ByD ODP interface.

 

Solution via ByD UI

 

Step 1:

Open report Financial Statement Consolidation Preparation - Data Export and check the Details (click on button "Details" on the upper right side).

Write down the data source used by the report, in our example this is data source FINGLAU01.

 

Step 2:

Open work center view Analytics > Design Data Sources and find the data source FINGLAU01.

Check if the data source is “Externally exposed” (only externally exposed data sources can be used by ODP):

ByD_list_of_datasources.jpg
If the data source is not yet exposed, you can expose it by button “Expose”.

If the data source is already exposed, you can use it in the ODP interface (incl. all fields).

 

Step 3:

Click on the documentation icon on the very right column to open the data source documentation with a list of all fields incl. field G/L Movement Type which we were looking for.

 

 

Solution via ODP Meta Data

 

ByD supports Operational Data Provisioning via web service OperationalDataProvisioningIn. In ByD the following interface operations are supported:

  • GetList
  • GetDetails
  • FetchDataDirect

The first two operations enable you to retrieve metadata incl. a list of exposed ByD data sources and the field structure of an exposed data source.

The 3rd operation can be used to fetch data from some data source.

 

Step 1:

Make sure that the data source FINGLAU01 is externally exposed (see section "Solution via ByD UI" above).


Step 2:

Get the Operational Data Provider ID:

The operation GetList provides you a list of all exposed data sources.

The web service request

<n0:OperationalDataProvisioningGetListRequest xmlns:n0=”http://sap.com/bw”><SubscriberTypeID>SAP_BW</SubscriberTypeID><ContextID>BYD_MDAV</ContextID><LanguageCode>EN</LanguageCode><GradualIndicator>true</GradualIndicator></n0:OperationalDataProvisioningGetListRequest>

returns the operational data provider FINGLAU01$F.

 

Step 3:

Get the field structure of operational data provider FINGLAU01$F using operation GetDetails:

The web service request

<n0:OperationalDataProvisioningGetDetailsRequest xmlns:n0="http://sap.com/bw"><SubscriberTypeID>SAP_BW</SubscriberTypeID><ContextID>BYD_MDAV</ContextID><OperationalDataProviderID>FINGLAU01$F</OperationalDataProviderID></n0:OperationalDataProvisioningGetDetailsRequest>

returns the response xml with the field structure including field G/L Movement Type:

getdetails_response.jpg


Viewing all articles
Browse latest Browse all 245

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>