Saturday, 18 May 2019

SAP S/4HANA Cloud Extensibility – Engraving sample scenario – Technical Setup – Custom analytics Part-4

This blog is part of a blog series focusing on SAP S/4HANA Extensibility. It is one of 5 blog posts taking care of the technical setup of extensibility with a focus on In-App Extensibility.


Custom Analytics


In order to get some analytical insights about which engravings have been ordered in which month i will now setup some custom analytics.

Goto app: Custom Fields and Logic

Enter custom field: yy1_engraving

Goto tab: UIs and Reports enable C_SALESORDERITEMQRY

Publish the field again.

SAP ABAP Certifications, SAP ABAP Study Materials, SAP ABAP Tutorials and Materials

Goto app: View Browser

Enter view: C_SALESORDERITEMQRY

Check if the field YY1_engraving is assigned.

SAP ABAP Certifications, SAP ABAP Study Materials, SAP ABAP Tutorials and Materials

C_SALESORDERITEMQRY is referenced to I_SALESORDERITEMCUBE therefor the YY1_engraving field will also be assigned to the view. Please check-

SAP ABAP Certifications, SAP ABAP Study Materials, SAP ABAP Tutorials and Materials

Goto app: Custom Analytical Queries

SAP ABAP Certifications, SAP ABAP Study Materials, SAP ABAP Tutorials and Materials

Press: “New”

Enter:

◈ Query Name = “Engraving_Analytics”
◈ Data Source = “I_SALESORDERITEMCUBE”

Press: “OK”

SAP ABAP Certifications, SAP ABAP Study Materials, SAP ABAP Tutorials and Materials

New query will be created

SAP ABAP Certifications, SAP ABAP Study Materials, SAP ABAP Tutorials and Materials

Goto tab: “Field Selection” and select the fields like shown below.

SAP ABAP Certifications, SAP ABAP Study Materials, SAP ABAP Tutorials and Materials

Goto tab: “Filters” and enter the filter values for fields: Exchange Rate Type”

SAP ABAP Certifications, SAP ABAP Study Materials, SAP ABAP Tutorials and Materials

Display Currency

SAP ABAP Certifications, SAP ABAP Study Materials, SAP ABAP Tutorials and Materials

Engraving

SAP ABAP Certifications, SAP ABAP Study Materials, SAP ABAP Tutorials and Materials

Press: “Save” and “Preview”

SAP ABAP Certifications, SAP ABAP Study Materials, SAP ABAP Tutorials and Materials

Go back and press: “Publish”

The status should change quickly to “Published”. The Publishing of the service my be time consuming.

SAP ABAP Certifications, SAP ABAP Study Materials, SAP ABAP Tutorials and Materials

Goto App: “Create KPI”

Enter:

◈ Title = “engraving analytics”
◈ Description =  “engraving analytics”
◈ CDS View = YY1_ENGRAVING_ANALYTICS
OData Service = /sap/opu/odata/sap/YY1_ENGRAVING_ANALYTICS_CDS
Entity Set = YY1_ENGRAVING_ANALYTICS
Value Measure = NetAmountInDisplayCurrency

Press: “Activate and Add Evaluation”

SAP ABAP Certifications, SAP ABAP Study Materials, SAP ABAP Tutorials and Materials

Enter:

◈ Evaluation = “engraving analytics”

Press: “Activate and Configure Tile”

SAP ABAP Certifications, SAP ABAP Study Materials, SAP ABAP Tutorials and Materials

Enter

◈ Semantic Object = “SalesOrderItem”

Press: “Save and Configure Drill-Down”

SAP ABAP Certifications, SAP ABAP Study Materials, SAP ABAP Tutorials and Materials

Select Evaluation: “engraving analytics”

Press: “Configure”

SAP ABAP Certifications, SAP ABAP Study Materials, SAP ABAP Tutorials and Materials

Select: Engraving

Press: “OK”

SAP ABAP Certifications, SAP ABAP Study Materials, SAP ABAP Tutorials and Materials

Press: “Back”

SAP ABAP Certifications, SAP ABAP Study Materials, SAP ABAP Tutorials and Materials

Press: “Save and Publish”

SAP ABAP Certifications, SAP ABAP Study Materials, SAP ABAP Tutorials and Materials

Select the business catalog(s) the tile should be assigned to

Select the business catalog(s) and press: “Publish”

SAP ABAP Certifications, SAP ABAP Study Materials, SAP ABAP Tutorials and Materials

When the publishing is finished you can add the tile to the Fiori Launchpad.

Press: Icon in the upper left corner + “Edit Home Page”

SAP ABAP Certifications, SAP ABAP Study Materials, SAP ABAP Tutorials and Materials

Press: “+” in the group where you want to add the tile.

SAP ABAP Certifications, SAP ABAP Study Materials, SAP ABAP Tutorials and Materials

Search for engraving + select the tile: “engraving analytics”

SAP ABAP Certifications, SAP ABAP Study Materials, SAP ABAP Tutorials and Materials

No comments:

Post a Comment