Show TOC

Process documentationTutorial part 7: Create a Dashboard

 

In this part of the Tutorial to Create and Register Dashboard Apps, you create a simple dashboard for your apps. You can display your apps in your dashboard, and make a dashboard available which shows the desired apps for all users. This part of the tutorial shows you how to create a dashboard as an app container, as well as creating apps.

Process

Create Dashboard in Dashboard Management

To create a dashboard, use the Dashboard Management (see Creating and Editing Dashboards).

  1. 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 Note

    To put this entry in your SAP Easy Acess menu Favorites manually, proceed as follows:

    1. In the SAP Easy Access menu, call Start of the navigation path Favorites Next navigation step Add Other Objects End of the navigation path.

    2. From the list in the Restrictions screen, choose Web-Dynpro Applications.

    3. On the Web Dynpro Application screen, in the Web Dynpro Application field, enter the name dashboard_management.

    4. Enter a description, for example Dashboard Management Tool, and complete the creation of the new entry.

    End of the note.
  2. To create a new dashboard, choose Create Dashboard.

  3. Enter the following details for your new dashboard:

    Input field

    Entry

    Comments

    Dashboard Alias

    Z_TUTORIAL

    The technical name of the dashboard must begin with Z, to be in customer namespace.

    Title

    Tutorial Apps

    This title is displayed in the dashboard

    Description

    This dashboard contains apps which were created in a tutorial.

    The description states the topic and the planned use of the dashboard.

    Authorization Group

    Public

    You can specify whether the authorization is to be checked when the dashboard is called, via the authorization group . No authorization check is performed for this dashboard

    Category

    Not Assigned (NOT_ASSIGNED)

    The category determines the user topic to which the dashboard belongs. You can only put apps of the same category in the dashboard. As you have selected the category Not Assigned for all apps in this tutorial, also use it for the dashboard.

    Note Note

    If you have not performed the previous parts of the tutorial, the apps are not available. In this case, choose the category Tutorial Examples, so that you can add apps to the dashboard later.

    End of the note.

    Type

    General

    A general dashboard has only one instance, so when a user changes it (e.g. add or remove an app), this is visible to all users.

    Initialization BAdI

    Not Initialized

    This function ensures that a BAdI is also called for a dashboard without apps, which is typically the case the first time the dashboard is called. This BAdI can, for example, ensure that the dashboard is then filled with its apps. This is not necessary here.

    Style Sheet

    Default

    You use the default design for dashboards.

    Suitable for mobile devices

    Not selected

    The dashboard is not suitable for mobile devices.

  4. Save your dashboard.

Put apps in the dashboard

To put apps in the new dashboard, call the dashboard. The Dashboard Management (see above) outputs a link when you save the dashboard under Link to Dashboard.

  1. Call the dashboard with the Dashboard Management link, as specified above.

  2. Choose Configure, to put apps in the dashboard.

  3. Choose Add New App. The apps in the category Not Assigned assigned to the dashboard, are displayed.

  4. Add apps to the dashboard by selecting them and confirming with OK. Configure apps with configuration apps.

  5. Save the assignment of apps to your dashboard, with Save Dashboard.

Call dashboard

You have created your dashboard and put apps in it. 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:

    1. In the SAP Easy Access menu, call Start of the navigation path Favorites Next navigation step Add Other Objects End of the navigation path.

    2. From the list in the Restrictions screen, choose Web-Dynpro Applications.

    3. On the Web Dynpro Application screen, in the Web Dynpro Application field, enter the name generic_dashboard_viewer.

    4. Enter a description, for example Tutorial Dashboard.

    5. 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.

Result

You have completed this part of the tutorial, and created a dashboard with the tutorial apps.