Data Model
Overview
This section shows the available API objects and provides more information on executing SQL to SAP ByDesign APIs.
Key Features
- The add-in models SAP ByDesign Analytics Services as relational views. Entities defined on a Custom Service are modeled using a combination of tables and views, allowing you to write SQL to query SAP ByDesign data.
- Live connectivity to these objects means any changes to your SAP ByDesign account are immediately reflected when using the add-in.
Tables
Tables are dynamically defined entities available on the ServiceType=CustomService.Views
Views are dynamically defined either from the Navigation Properties off a ServiceType=CustomService, or from the queries on an ServiceType=AnalyticsService, ServiceType=ODataDataSource.Analytics Services
To retrieve reports of an analytics service, you must specify the Url ServiceType=AnalyticsService property. For example: Url=https://my999999.businessbydesign.cloud.sap;ServiceType=AnalyticsService;ServiceName=cc_home_analytics.svc; . All the reports are exposed as views. Note that client-side filtering will be disables if one tries to perform an unsupported by the SAP ByDesign API filter on a dimension and at the same time does not include that dimension in the SELECT clause.
If you want to make use of client-side filtering (executing filters that are not supported by the SAP ByDesign API), you need to include the dimension in the SELECT clause.
Also, if the query is a star query and the number of
the dimensions is higher than 15, the driver will use only the default dimension and ignore the others. This is done because it is really hard to give sense to a result set with too many dimensions. This use case is common
when the driver is used in various tools. The default dimension is chosen dynamically randomly by the driver.