SAP MDG · COMMUNITY

How do I combine MDG Change Request analytics with workflow step details in one app?

Use Change Request Analytics by Master Data Attributes for CR-level analysis, combine it with Work Items Analytics for workflow-step detail, and expose the result through a custom CDS cube/query and Smart Business report.

Use Change Request Analytics by Master Data Attributes for CR-level analysis, combine it with Work Items Analytics for workflow-step detail, and expose the result through a custom CDS cube/query and Smart Business report.

You use two standard analytics capabilities together: Change Request Analytics by Master Data Attributes and Work Items Analytics for Change Requests. First, generate the master-data analytics CDS view in ADT, identify the generated `CUB` view, then build a custom cube such as `ZBP_CUST_OBJ_WF_CUB` that joins it with `I_MDGovChgReqWrkflwTskCube` on `MDGovChangeRequest`.

The query is then published with `@Analytics.query: true` and `@OData.publish: true`, and the end result is a Smart Business Generic Drill-down report where users can start from CR-level information and drill into workflow steps.

Process flow

  1. Use ABAP Development Tools to create the CDS views.
  2. Configure and generate the Change Request analytics CDS for the needed master-data attributes.
  3. Review the generated objects and identify the `CUB` view.
  4. Reuse `I_MDGovChgReqWrkflwTskCube` as the workflow source.
  5. Create the combined cube `ZBP_CUST_OBJ_WF_CUB` with `@Analytics.dataCategory: #CUBE`.
  6. Define `P_MDGovDataModel` and `P_MDGovChgReqWrkflwScen`.
  7. Join the generated master-data cube and workflow cube on `MDGovChangeRequest`.
  8. Expose the required CR and workflow measures with the shown aggregation pattern in the cube definition and/or query design as needed by your report design.
ADT

ABAP Development Tools → CDS view development

Create and maintain the generated master-data analytics CDS, combined cube, and query CDS views.

PFCG

Role maintenance for Fiori catalog/group and backend authorization

Assign the required frontend and backend roles so the app is visible and authorized in Fiori Launchpad.

Referenced tables

ObjectPurpose
Generated CDS Data DefinitionsThe guide states that 3 CDS Data Definitions are generated after successful master-data analytics CDS generation.
Generated DCL Access Control ViewsThe guide states that 3 DCL Access Control views are generated after successful master-data analytics CDS generation.

The remaining configuration, implementation details, and testing guidance continue from this answer more…

Related questions and keywords

Alternative questions

  • What is the purpose of this MDG analytics guide?
  • How can I analyze Change Requests and workflow steps together?
  • Can I drill down CR analytics by master data attributes and workflow information?

Possible questions

  • What two standard analytics capabilities are combined?
  • What development tool is required?
  • What are the main implementation steps?
  • How many objects are generated for the analytics configuration?
  • Which CDS views and parameters are used in the combined cube?

Keywords

MDGChange Request AnalyticsWork Items Analyticsmaster data attributesworkflowdrilldownSAP S/4HANA 2020ABAP Development ToolsADTCDS viewanalytics CDScombined cubequery CDSSmart BusinessPFCGI_MDGovChgReqWrkflwTskCubeZBP_CUST_REUSECUBZBP_CUST_OBJ_WF_CUBZBP_CUST_OBJ_WF_OPEN