Using the Task Gateway Service

Objective

After completing this lesson, you will be able to use the task gateway service

Create a Tile in a Catalog

Perform the following steps:

Steps

  1. Log in to the launchpad designer, transaction /UI2/FLPD_CONF.

  2. Choose a catalog from the catalog list.

    (You can choose the standard technical catalog, SAP_FND_TC_T, which is shipped with My Inbox.)

  3. Choose the Add Tile icon.

  4. In the Select a Tile Template screen, choose App Launcher Dynamic template.

  5. An instance of the tile template is created in the selected catalog along with the other tiles.

  6. Select the newly created tile; it will take you to tile configuration screen.

  7. In the general section, give a title and subtitle and select an icon for the tile.

    Note

    The tile title should be the same as the title property of the target mapping used.
  8. In the Dynamic Data section, provide a service URL: /sap/opu/odata/IWPGW/TASKPROCESSING;mo;v=2/ScenarioCollection?$filter=key%20eq%20'<ID of a scenario definition>.

  9. In the Navigation section, select the Use semantic object navigation check box.

  10. In the Semantic Object field, select WorkFlowTask.

  11. In the Action field, enter displayInbox (if you are using the standard technical catalog; otherwise, enter the appropriate action defined in the target mapping).

  12. In Parameters, enter scenarioId=<ID of a scenario definition>.

  13. Save.

Task Gateway Service

The figure shows SAP Fiori Approve Requests and Unified Inbox

My Inbox in SAP Fiori

The figure shows My Inbox as unified inbox

The main benefits of the My Inbox application are as follows:

  • It enables the management of tasks across different devices (desktop and mobile).

  • It enables the management of tasks across different systems.

  • It provides full integration in the SAP Fiori launchpad.

  • It provides access to both SAP-delivered and custom-built workflows by using the SAP Gateway.

My Inbox Launchpad Overview

The figure shows Overview of My Inbox Launchpad

In launchpad, you can configure how My Inbox is called. You can either call a dedicated scenario only (for example, show only Leave Requests) or you can call all tasks for a user.

In launchpad, several tiles can be created that call My Inbox in a customized way so that it only shows specific items, such as leave requests, sales orders, and so on.