Operational Analytics with ODPs - Using Analytic Queries for … · 2017-02-23 · The screen shot...

29
Welcome to the Learning Objekt Operational Analytics with Operational Data Providers. After the explanations of the entire ODP Architecture and the specifics of the TransientProvider layer this unit will focus on Operational Analytics in more detail concerning the usage of Analytic Queries based on Operational Data Providers. 1

Transcript of Operational Analytics with ODPs - Using Analytic Queries for … · 2017-02-23 · The screen shot...

Page 1: Operational Analytics with ODPs - Using Analytic Queries for … · 2017-02-23 · The screen shot shows an example for different predefined Operational Analytic Queries in Sales

Welcome to the Learning Objekt Operational Analytics with Operational DataProviders.After the explanations of the entire ODP Architecture and the specifics of theTransientProvider layer this unit will focus on Operational Analytics in more detailconcerning the usage of Analytic Queries based on Operational Data Providers.

1

Page 2: Operational Analytics with ODPs - Using Analytic Queries for … · 2017-02-23 · The screen shot shows an example for different predefined Operational Analytic Queries in Sales

The Objectives of this unit are to show a lot of details and specific benefitsusing Analytic Queries on ODPs.You will learn how:

• The consumption of ODP data is enabled any type of analytical userInterfaces and state of the art SAP Business Objects frontends

• Authorizations and Variables can be used for Analytc Queries on ODPs inthe same way as it is supported for any other type of InfoProvider in theSAP Business Warehouse environment.

• BW Accelerator can help to optimize query performance for OperationalAnalytics in the Business Suite in the same way as it is used for the SAPBusiness Warehouse

• The Easy Query concept can help to build simple apps for particularpurposes around Operational Analytics

Page 3: Operational Analytics with ODPs - Using Analytic Queries for … · 2017-02-23 · The screen shot shows an example for different predefined Operational Analytic Queries in Sales

Therefore the Agenda holds the following topics:– Business Intelligence Frontend Perspective on ODP based TransientProviders

– Analytic Queries in Business Explorer Query Designer and Business Objects Analysisenvironments

– Creating individual analytic Queries

– Authorizations in the Analytic Query

– Using Variables in the Analytic Query

– Performance Optimization Using SAP NetWeaver BWA

– WebService Support for Operational Analytics using the Easy Query Functionality

3

Page 4: Operational Analytics with ODPs - Using Analytic Queries for … · 2017-02-23 · The screen shot shows an example for different predefined Operational Analytic Queries in Sales

For reporting and analysis on a TransientProvider derived from an operational data provider (ODP),you can either use an analytic query (query) as delivered for your operational analytics applicationor define a query of your own. The usage of Analytic Queries based on TransientProviders istransparent to the user compared to queries on top of BW-InfoProvider.Different frontend tools may give access to the data using different terms.

To create or update Analytic queries on top of ODP the Business Explorer Query Designer is used.Available TransientProviders are displayed and logically grouped in InfoAreas and structured inInfoObjects.

An InfoArea name is derived from the application component that is assigned using the packageassignment to the underlying search and analysis model.The InfoArea description is also derived from the application component.For example the InfoArea name for models that are assigned to packages with applicationcomponent CO-PC is 2O-CO-PC, the description is “Product Cost Controlling”.

While editing in the BEx Query Designer, the InfoObjects belonging to the TransientProvider aredisplayed under InfoProviders.The InfoObjects are displayed here structured by key figures and the dimensions (Data Part, KeyPart and Unit) for the characteristics.

Due to this fact queries on top of ODPs can be edited in the same way as queries on otherInfoProviders.

For developing Queries on TransientProviders consider the Bex Query Designer Documentation.

4

Page 5: Operational Analytics with ODPs - Using Analytic Queries for … · 2017-02-23 · The screen shot shows an example for different predefined Operational Analytic Queries in Sales

This slide illustrates how Analytic Queries integrate into the entire OperationalData Provisioning architectural picture.As analytic queries typically read data from multiple DataSources the ODP layerdefines relations between DataSources and exposes this very model the analyticquery offering TransientProviders.

5

Page 6: Operational Analytics with ODPs - Using Analytic Queries for … · 2017-02-23 · The screen shot shows an example for different predefined Operational Analytic Queries in Sales

• The ODP framework of the ERP system provides a TransientProvider Previewtransaction to give an overview over the entire data model with all dimensions, keyfigures and related navigational attributes and texts up to refered hierarchies andauthorizations.• Exactly this picture has to be provided to the Analytic Query Layer by theparticular BI tools.• The following slides will give examples how TransientProviders can be found andconsumed in different BI environments.

6

Page 7: Operational Analytics with ODPs - Using Analytic Queries for … · 2017-02-23 · The screen shot shows an example for different predefined Operational Analytic Queries in Sales

This example is showing the handling for ODP based TransientProviders in theBusiness Explorer Query Designer.For creating a new analytic query the designer offers the Create Query optionwhich leads into an InfoProvider Selection dialog for the creation of a new query.InfoAreas represent different application components following the namingconvention explained above.Per InfoArea finally TransientProviders are offered as the basic InfoProvider modelfor the query creation in the Bex Query Designer.The slide shows the example for a Customer Balances analysis in the FinanceAccounts Receivable area.

7

Page 8: Operational Analytics with ODPs - Using Analytic Queries for … · 2017-02-23 · The screen shot shows an example for different predefined Operational Analytic Queries in Sales

Within BEx Query Designer queries are defined based on InfoProviders.InfoProviders offer a multidimensional model of an application component or a partof it.In our case the ODP based TransientProvider for Customer Balances in FinancialAccounts Receivable appears as InfoProvider an offers the foundation for thequery definition in decribing the entire multidimensional model for CustomerBalances using InfoObjects for key figures and dimensions for characteristics,units and time relations.In this way TransientProviders are used to expose the ODP model to the BI user.

8

Page 9: Operational Analytics with ODPs - Using Analytic Queries for … · 2017-02-23 · The screen shot shows an example for different predefined Operational Analytic Queries in Sales

This slide explanes details of the text handling during query design.The screen shots show the properties of the InfoObject Company Code in the keypart of the Dimensions.The option Value Display allows to choose between different options how to showtextual information from the Company Code text tables that are also part of theunderlying ODP model.

9

Page 10: Operational Analytics with ODPs - Using Analytic Queries for … · 2017-02-23 · The screen shot shows an example for different predefined Operational Analytic Queries in Sales

In this slide the hierarchy handling in the BEx Query Designer will be explained.The key field Reconciliation Account for Customer Balances supports hierarchiesthat are also reflected in the related ODP model.During designtime the Bex Query Designer allows to choose on of the availablehierarchies Reconciliation Account for display and navigation purposes duringquery runtime.Beside that additional hierarchy parameters such as expanding level and positionof lower level nodes can be defined in the properties for the dimension.

10

Page 11: Operational Analytics with ODPs - Using Analytic Queries for … · 2017-02-23 · The screen shot shows an example for different predefined Operational Analytic Queries in Sales

Authorzations are also reflected in Analytic Queries on ODP basedTransienProviders.The screen shots document an example of an query run in the RSRT QueryMonitor with active Authorization Check Log.The InfoProvider Check description shows again that the TransientProvider2O0FIN_AR_T20 is seen here as an InfroProvider that is typical BW terminology.The consumption of information using this very Transientprovider is reflected bythe activity 03 for which the user has to have the authorization finaly.Otherwise the query would have shown no results.

11

Page 12: Operational Analytics with ODPs - Using Analytic Queries for … · 2017-02-23 · The screen shot shows an example for different predefined Operational Analytic Queries in Sales

Numerous Business Suite Applications already provide huge Business Content forOperational Analytics.The screen shot shows an example for different predefined Operational AnalyticQueries in Sales and Distribution and Accounts Receivable in a Business ClientGUI.In this example the Customer Balance results are shown in the Chrystal ReportsViewer – just another front end alternative out of the wide range of SAP BusinessObjects BI Tools.

12

Page 13: Operational Analytics with ODPs - Using Analytic Queries for … · 2017-02-23 · The screen shot shows an example for different predefined Operational Analytic Queries in Sales

In order to find all the details of an Operational Analytics Business Content Query– beside the Business Content documentation – you can use the Open Queryoption in the Bex Query Designer and navigate to a specific query again viaInfoAreas.Standard queries follow the naming convention 0FIN (... In our case) wherebyindividual queries are in the Z-namespace.

13

Page 14: Operational Analytics with ODPs - Using Analytic Queries for … · 2017-02-23 · The screen shot shows an example for different predefined Operational Analytic Queries in Sales

The display behavior of the queries can be modified in various ways according toyour needs.The sreen shots show examples for the Result Position per Rows and Columnes,Zero Supression behavior per row and/or column etc.

14

Page 15: Operational Analytics with ODPs - Using Analytic Queries for … · 2017-02-23 · The screen shot shows an example for different predefined Operational Analytic Queries in Sales

Another example for a Customer Balance Query result is shown here: It‘s the BExWeb result layout with different navigation options shown on the left side.The tabstrip Info provides details information about the query itself and the staticfilters or variable settings.A link to the Query documentation is also provided.

15

Page 16: Operational Analytics with ODPs - Using Analytic Queries for … · 2017-02-23 · The screen shot shows an example for different predefined Operational Analytic Queries in Sales

SAP Business Object Analysis Edition for Microsoft is SAPs most recent offering for anMS Excell based Analysis Add-In.Offering a modern and familiar Microsoft Office user experience it providesmultidimensional analysis capabilities for SAP BW adressing the needs of an BIprofessional business user. SAP BO Analysis helps to build powerful Excel workbook BIapplications and also supports BW-Integrated Planning.

The connection to SAP BW backend systems uses the BI Consumer Services (BICS)interface. Therefore all BW Queries built with the BEx Query Designer are visible usingthe Select Data Sources dialog in Analysis and can be used as a data provider.Alternatively a TransientProvider can also be selected as data source. The system thengenerates a default query offering all dimensions and key figures of the underlying ODP.

The structure of te ODP based Transientprovider is shown via InfoObjects in the wellknown way.

16

Page 17: Operational Analytics with ODPs - Using Analytic Queries for … · 2017-02-23 · The screen shot shows an example for different predefined Operational Analytic Queries in Sales

The grafic shows the conectivity options for BW backend systems in BO AnalysisEdition for MS Office.This analytic interface is based on the BICS suite and therefore internal andgeneric using BEx Queries and TransientProviders. It allows to build complexfrontend tools.

17

Page 18: Operational Analytics with ODPs - Using Analytic Queries for … · 2017-02-23 · The screen shot shows an example for different predefined Operational Analytic Queries in Sales

In this grafic the Select Data Source dialog is shown in detail. Data sources fromBW are selectable per Role or InfoAreas.Existing BEx Queries are shown per Info Area and Application Component an canbe directly consumed.Selecting an existing query leads into the Selection Prompt of the query and startsthe particular analytical application.

18

Page 19: Operational Analytics with ODPs - Using Analytic Queries for … · 2017-02-23 · The screen shot shows an example for different predefined Operational Analytic Queries in Sales

The slide shows a query result and some background information of the queryobject itself, the involved components and the navigation options in the queryresult.

19

Page 20: Operational Analytics with ODPs - Using Analytic Queries for … · 2017-02-23 · The screen shot shows an example for different predefined Operational Analytic Queries in Sales

For Ad hoc reporting needs it is also possible to reference the TransientProviderlevel directly in SAP Business Objects Analysis, as shown in the grafic.In such a case the system will generate a default query in a similar way the BWQuery Monitor (Transaction RSRT) does in the SAP Business Warehouse.

20

Page 21: Operational Analytics with ODPs - Using Analytic Queries for … · 2017-02-23 · The screen shot shows an example for different predefined Operational Analytic Queries in Sales

The result is based on all available information of the underlying ODP basedTransientProvider.The technical name of the generated query follows the pattern TransientProvidername with the praefix „!!A“.

21

Page 22: Operational Analytics with ODPs - Using Analytic Queries for … · 2017-02-23 · The screen shot shows an example for different predefined Operational Analytic Queries in Sales

• Amazingly Operational Data Provisioning also supports in memory indexingbased on the BW Accelerator technology and frame work.Dedicated connectors allow to build up indexes and to store them in the BW

Accelerator Appliance of the ERP system.• The Connector Administration Cockpit supports all relevant process steps tobring Operational Analytics to the speed of thought that more and morebusinesses are asking for• BW Accelerator guarantees optimal performance for Operational Analytics. Theinvolvement of BWA indices can be controlled in the Run Time Statistics of theQuery Monitor in BW

22

Page 23: Operational Analytics with ODPs - Using Analytic Queries for … · 2017-02-23 · The screen shot shows an example for different predefined Operational Analytic Queries in Sales

As the ODP concept is mainly based on the Data Provisioning layer for Searchand Analytics the involvement of the TREX based BW Accelerator framework ispossible and more than appreciated in Operational Analytics as well.

23

Page 24: Operational Analytics with ODPs - Using Analytic Queries for … · 2017-02-23 · The screen shot shows an example for different predefined Operational Analytic Queries in Sales

As shown in the graphic the Connector Administration Cockpit allows toadministrate and monitor the BW Accelerator support for Operational Analytics inan ERP environment.Indexing schedules can be defined for the objects of an TransientProvider relatedconnector and its dependent connectors.The Statistics Data for Query runtime finally shows that all data has been readusing the BW Accelerator index which is shown here with the old terminology of„Aggregate“ per InfoProvider. The name of the Aggregate is the name of theTransientProvider with the suffix „$X“.

24

Page 25: Operational Analytics with ODPs - Using Analytic Queries for … · 2017-02-23 · The screen shot shows an example for different predefined Operational Analytic Queries in Sales

Analytic Queries can be consumed in various ways from more or lesssophisticated analytic applications on the frontend side.This example shows how the Easy Query tool of SAP BW (transactioneqmanager) can be used to generate a WebService that starts the query in anWeb environment and is able to handover query results to mobile applications orgadgets.

25

Page 26: Operational Analytics with ODPs - Using Analytic Queries for … · 2017-02-23 · The screen shot shows an example for different predefined Operational Analytic Queries in Sales

The Easy Query concept allows to deliver an external interface for query datain SAP BW.This allows the early use of ABAP BICS in a well defined scenario.Nevertheless the ease of use comes with limitations.A static default view without drilldown is shown and no flexibility informatting is available.

26

Page 27: Operational Analytics with ODPs - Using Analytic Queries for … · 2017-02-23 · The screen shot shows an example for different predefined Operational Analytic Queries in Sales

In summary you should now be able to consume ODP data using any type ofanalytical UI, to set authorizations in the Analytic Query, to use Variables in theAnalytic Query, to optimize Query performance using the SAP NetWeaver BWAccelerator and to build Apps using Easy Query WebService Support forAnalytic Queries

Page 28: Operational Analytics with ODPs - Using Analytic Queries for … · 2017-02-23 · The screen shot shows an example for different predefined Operational Analytic Queries in Sales

You can find further information on Using Analytic Queries for Operational DataProviders in the SAP Library for SAP NetWeaver 7.0 including EnhancementPackage 3 under http://help.sap.com.

28

Page 29: Operational Analytics with ODPs - Using Analytic Queries for … · 2017-02-23 · The screen shot shows an example for different predefined Operational Analytic Queries in Sales

29