Building Analytic Applications

After completing this lesson, you will be able to:

After completing this lesson, you will be able to:

  • Create a simple analytic application using scripting

Scripting to Create Analytic Applications

Analytic applications can be used to supplement your SAP Analytics Cloud stories. They provide the application developer with many more options than the standard Story design options, enabling developers to create a highly customized and interactive experience for the end user. However, an application can also be designed with even less functionality than a standard SAP Analytics Cloud story. This broad range of customization options–from very static to highly interactive–is possible through the SAP Analytics Cloud analytics designer.

Designing an application is similar to designing a story, except you use the Analytic Applications design interface. You can add widgets that display and control data. Almost all widgets expose events that occur when a user interacts with the widget. To add custom logic to the analytic application, you can implement event handlers with the help of the JavaScript scripting language.

Features of SAP Analytics Cloud, analytics designer

The SAP Analytics Cloud, analytics designer is tailored for application designers and support the following features:

  • One design environment
  • Rapid prototyping
  • Standardization of analytics content

Scripting capabilities

The JavaScript script editor in the application design environment is similar to other SAP editors. You can use Ctrl+Space to access available functions and data to speed up your script writing. In addition, the editor provides auto-complete and syntax check as you write.

The application designer does not use full JavaScript, but rather a subset.

Because SAP Analytics Cloud stories are web-based, analytic applications can integrate those stories via the Web Page widget. In addition, the application can be designed to allow users to generate a story from a chart or table in the application.

Extension capabilities

Application design options are not limited to the defined set within the analytic designer. Developers can create custom widgets and R widgets to add even more visualization options to their applications.

Build a Simple Analytic Application

Task 1: Build a simple analytic application

Business example

You want to create a dashboard to provide management with an overview of the sales revenue for different regions. You want to analyze the data in a chart or a table format and filter the results based on different product categories.

Task flow

In this practice exercise, you will perform the following tasks:

  • Create an analytic application
  • Add a table and chart
  • Configure a radio button with script to display either the chart or the table
  • Set up a dropdown widget that uses loops through an array to display products

Save progress to your learning plan by logging in or creating an account

Login or Register