App Implementation: Custom Analytical Queries

App-specific implementation information: Custom Analytical Queries

Prerequisites

For more information about system requirements, see SAP Note 2283716 Information published on SAP site.

Before implementing the app, you must ensure the following:
System Landscape Requirements

For information about the system requirements, see the http://help.sap.com/fiori_implementation: Start of the navigation pathSAP Fiori: Setup and Configuration Next navigation step Setup of SAP Fiori LandscapeEnd of the navigation path.

Implementation Tasks

The following sections list tasks that have to be performed to implement this app. The tables contain the app-specific data required for these tasks.

Front-End Server: Activate OData Services

Component External Technical Name
OData Services (Version Number) ANA_QUERY_DESIGNER

For more information about activating OData services, see http://help.sap.com/fiori_implementation: Start of the navigation pathImplementation Next navigation step SAP Fiori: App ImplementationEnd of the navigation path.

Front-End Server: Activate UI5 Application

Component Technical Name
SAP UI5 Application ANA_QDESIGN_MAN
Generic Drill-Down Application /default_host/sap/bc/ui5_ui5/sap/ana_qdesign_man

For more information about activating the SAPUI5 application, see section http://help.sap.com/fiori_implementation: Start of the navigation pathImplementation Next navigation step SAP Fiori: App ImplementationEnd of the navigation path.

Front-End Server: Enable App for Access in SAP Fiori Launchpad

The SAP Fiori launchpad is the entry point to the apps. In the launchpad, the user can see and access those apps that have been assigned by an administrator to the catalog designed for this user's role.

The administrator makes these assignments in the launchpad designer. For more information, see http://help.sap.com/nw751abap: Start of the navigation pathApplication Help Next navigation step UI Technologies in SAP NetWeaver Next navigation step SAP Fiori Launchpad Next navigation step Administration Guide Next navigation step Setting Up Launchpad Content Next navigation step Setting Up Content With the Launchpad Designer Next navigation step Creating and Configuring Catalogs/Creating and Configuring Tiles/Creating and Configuring GroupsEnd of the navigation path.

Front-End Server and Back-End Server: Assign OData Service Authorizations to Users

You must assign OData service authorizations for the app to your users.

Note Several authorization default values are connected to the OData service. To ensure that all these default values are assigned to a user, you have to follow the instructions given under the documentation links provided.
Make the assignment on the back-end server and on the front-end server:
  • On the back-end server, you have to assign the OData service authorization to a PFCG role. For more information, see http://help.sap.com/fiori_implementation: Start of the navigation pathImplementation Next navigation step SAP Fiori App ImplementationEnd of the navigation path.
  • On the front-end server, you have to assign the OData service authorization to a new or existing role, for example, a business role that has been adjusted to your needs. For more information, see sections http://help.sap.com/fiori_implementation: Start of the navigation pathImplementation Next navigation step SAP Fiori App ImplementationEnd of the navigation path.
Configuration Tasks

To be able to implement the app, you must perform the following configuration tasks in the back-end system:

In transaction Role Maintenance (PFCG), you need to create a new role. To provide access to the Custom Analytical Queries, authorizations must be added to the business catalog role. Ensure that following prerequistes are met:
  • You have maintained the required roles for authorization default settings.

    For more information, see http://help.sap.com/s4hana: <>Start of the navigation pathProduct Documentation Next navigation step UI Technology Guide Next navigation step App Implementation Next navigation step Implementation Task on the Front-End Server Next navigation step User Management and Authorization Next navigation step UI Content and Authorization ConceptEnd of the navigation path.

    The service R3TR IWSV ANA_QUERY_DESIGNER is displayed on the Menu of the role.

Procedure:
  1. Open the Authorizations tab.

  2. Choose Expert Mode for profile generation.

  3. Select <Read old status> and merge with new data and choose Your on-premise editionOK.

  4. Locate for the authorization objects (refer to the below table entries) which are currently available for standard authorization.

  5. Add and fill the authorization fields with the values listed in the table below.

    Table 1: Authorization Data

    Authorization Object

    Field

    Value in Business Catalog Role

    S_SERVICE

    SRV_NAME

    s_service authorizations:
    • ObjectType -IWSG

      Object Name - ANA_QUERY_DESIGNER_0001

    • ObjectType -IWSV

      Object Name -ANA_QUERY_DESIGNER 0001

    • ObjectType -IWSG

      Object Name - RSAO_ODATA_SRV_0001

    • 4) ObjectType -IWSV

      Object Name -RSAO_ODATA_SRV 0001

    SRV_TYPE

    Hash Value for TADIR Object

    S_ADT_RES

    URI
    • /sap/bc/adt/activation*

    • /sap/bc/adt/ato/notifications

    • /sap/bc/adt/ato/settings*

    • /sap/bc/adt/checkruns*

    • /sap/bc/adt/compatibility/graph*

    • /sap/bc/adt/core/discovery

    • /sap/bc/adt/cts/transportcheck

    • /sap/bc/adt/ddic/ddl/ddicrepositoryacces

    • /sap/bc/adt/ddic/ddl/elementinfo*

    • /sap/bc/adt/ddic/ddl/parser

    • /sap/bc/adt/ddic/ddl/sources*

    • /sap/bc/adt/discovery

    S_DEVELOP

    DEVCLASS

    Package (configured in ATO)

    OBJTYPE

    DDLS, STOB, VIEW

    OBJNAME

    Name* (Prefix configured in ATO)

    P_GROUP

    *

    ACTVT

    YourAdd or Create, Change, Display, Delete, Activate, generate

    S_DEVELOP

    DEVCLASS

    *

    OBJTYPE

    DDLS, STOB, VIEW

    OBJNAME

    *

    P_GROUP

    *

    ACTVT

    Display

    S_DEVELOP

    DEVCLASS

    $TMP

    OBJTYPE

    DDLS, STOB, VIEW

    OBJNAME

    Name* (Prefix configured in ATO)

    P_GROUP

    *

    ACTVT

    Add or Create, Change, Display, Delete, Activate, generate

    S_TRANSPRT

    TTYPE

    DTRA, TASK

    ACTVT

    Add or Create, Display

    S_RS_COMP

    RSINFOAREA

    *

    RSINFOCUBE

    RSINFOCUBE 2C*

    RSZCOMPTP

    Query

    RSZCOMPID

    2C*

    ACTVT

    Display, Execute

    S_RS_COMP1

    RSZCOMPID

    2C*

    RSZCOMPTP

    Query

    RSZOWNER

    *

    ACTVT

    Display, Execute

    S_RS_ZEN

    RSAO_OBJID

    ANALYSIS

    RSAO_OBJTY

    Analysis Application

    RSZOWNER

    *

    ACTVT

    Display, Execute

    Note
    • * indicates you can assign any value.

    • The values postfixed with * indicates that it starts with the given value.