This tutorial is part of a course that explains how to create and register apps for the Dashboard Framework. In this eighth part, you learn about context apps. These allow you to specify the configuration settings for all apps in a dashboard at dashboard level, rather than at app level (as is the case for a configuration app). The relevant context app is always visible in the corresponding dashboard, which means you are not required to access this first to configure settings.
In this step, you create a dashboard in which the apps and the context app are displayed that you created previously and registered in the Dashboard Framework. For these elements to be added to the dashboard, you have to specify the initialization BAdI that you created in the previous step of the tutorial when you create the dashboard.
This procedure is part of a comprehensive tutorial about Creating and Registering Dashboard Apps. During this tutorial, you create and register apps and their data sources.
You create this dashboard in the eighth part of the tutorial.
Note
Ensure that you have already performed the previous steps, as described in Tutorial Part 8: Create Dashboard with Context App.
To create the dashboard, use the Dashboard Management (see Creating and Editing Dashboards).
In the SAP Easy Acess menu, choose Dashboard Management Tool
. The entry is in the folder SAP_SM_DASHBOARDS_ADMIN
in your user menu, if you have this role.
Note
To put this entry in your SAP Easy Acess menu Favorites manually, proceed as follows:
In the SAP Easy Access menu, call
.From the list in the Restrictions
screen, choose Web-Dynpro Applications
.
On the Web Dynpro Application
screen, in the Web Dynpro Application
field, enter the name dashboard_management.
Enter a description, for example Dashboard Management Tool, and complete the creation of the new entry.
To create a new dashboard, choose Create Dashboard
.
Enter the following details for your new dashboard:
Input field | Entry |
---|---|
| Z_TUTORIAL8 |
| Comparison of subsidiaries |
| This dashboard displays the costs, overall duration, and number of telephone calls for any month. |
|
|
|
|
|
|
|
|
|
|
| Not selected |
Save your dashboard.
You have created your dashboard and put apps in it using the initialization BAdI. You can call the dashboard in two ways:
Via SAP Easy Access
To put your dashboard in your Favorites in the SAP Easy Access
screen, proceed as follows:
In the SAP Easy Access menu, call
.From the list in the Restrictions
screen, choose Web-Dynpro Applications
.
On the Web Dynpro Application
screen, in the Web Dynpro Application
field, enter the name generic_dashboard_viewer.
Enter a description, for example Tutorial Dashboard.
Insert a row in the table Parameter
, in the Name
column, enter ALIAS, and in the Value
column, enter Z_TUTORIAL.
Via a link.
Dashboard Management outputs a link to the dashboard, under Link to Dashboard
, as described above. As you assigned the dashboard to the type General
, you can also send the link. If he has a user in the system, the recipient can call the dashboard, and finds the same apps.
You have completed this part of the tutorial, and created a dashboard with the tutorial apps. This dashboard is automatically filled with the three apps and the context app the first time it is started.