SAP- How to create custom Analytical Query

S/4 Hana Creating Custom Analytical Query and publish as an app

S/4 Hana Creating Custom Analytical Query is a an app used for reporting and analysis Moreover, S/4 Hana Creating Custom Analytical Query offers the fields required to design a query. The user can select the required fields and set filters for the query.They can add restricted measures, calculated measures, and preview the query results hereafter following these simple steps, you can create various Custom Analytical Queries.We follow the below steps to create custom Analytical query

  1. Creating Custom Analytical query 
  2. Update display section
  3. Update filter section
  4. Publish as an app
 

Note that this blog refers the CDS view created before please refer to the link below on How to create CDS view

Create Custom Analytical Query

We can now use the custom CDS view created to create a new custom Analytical query

S/4 Hana Creating Custom Analytical Query

Specify the name and click on next

S/4 Hana Creating Custom Analytical Query

Go to field selection and select the checkbox and the fields would start showing on the right side “ Free” Section

S/4 Hana Creating Custom Analytical Query

Update display Section

  1. Select the row
  2. Then choose if you want to display it or not
  3. Which axis it should show up
  4. Sorting is enabled or not
  5.  Then click on up and down to change the sequence of the fields

S/4 Hana Creating Custom Analytical Query

Update filter section for S/4 Hana Creating Custom Analytical
Query

  1. Click on the filer to define filters
  2. Select the row for the specific fields to make a filter
  3. Then Check filter options and for now, I have selected user input value as a filter with “selection type” “Interval”

S/4 Hana Creating Custom Analytical Query

After publishing check the query  then this is how it looks like with just 1 filter which was added as the storage location

S/4 Hana Creating Custom Analytical Query

Publish custom analytical query as an app 

Open the view browser app and find your specific query and look for the application ID, Note that it may sometime take time to appear if you just published. 

S/4 Hana Creating Custom Analytical Query

Hereafter refer below image how it should look like S/4 Hana Creating Custom Analytical Query

Now select the Application ID and go to Custom catalog extension and search the using the APP ID and then add to the specific catalog you would like to see it in.

This would add the app to the catalog and then it would be shown as an app on the Fiori Launchpad. 

S/4 Hana Creating Custom Analytical Query

Get In Touch If You Have A Business Query

Related Posts