How To Setup My Inbox 2.0
How To Setup My Inbox 2.0
0
app
UI for Cross Applications 2.0 SP06
Konstantia Zerva-Spanou BusinessObjects Explorer, StreamWork, SAP HANA, and other SAP products
and services mentioned herein as well as their respective logos are
trademarks or registered trademarks of SAP AG in Germany and other
countries.
Sybase and Adaptive Server, iAnywhere, Sybase 365, SQL Anywhere, and
other Sybase products and services mentioned herein as well as their
respective logos are trademarks or registered trademarks of Sybase Inc.
Sybase is an SAP company.
Crossgate, m@gic EDDY, B2B 360°, and B2B 360° Services are registered
trademarks of Crossgate AG in Germany and other countries. Crossgate is an
SAP company.
All other product and service names mentioned are the trademarks of their
respective companies. Data contained in this document serves informational
purposes only. National product specifications may vary.
These materials are subject to change without notice. These materials are
provided by SAP AG and its affiliated companies ("SAP Group") for
informational purposes only, without representation or warranty of any
kind, and SAP Group shall not be liable for errors or omissions with respect
to the materials. The only warranties for SAP Group products and services
are those that are set forth in the express warranty statements
accompanying such products and services, if any. Nothing herein should be
construed as constituting an additional warranty.
Document History
2
How to Setup My Inbox 2.0
www.sap.com
TABLE OF CONTENTS
4
Abstract
Chapter 1 – Configuring UI for Cross Applications
1.1. Configuring the connection to the NetWeaver Gateway server
1.2. Creating a user
1.3. Creating a role
1.4. Assign the user to a role
5
Chapter 1
Configuring UI for Cross Applications
This document contains all the information you’ll need to install Fiori app My Inbox 2.0 and adding
a tile to your Fiori Launchpad.
• This document will relate to a Frontend (NetWeaver Gateway system 7.50) and
Note a Backend S4HANA system. For each step, it is specified if the action should be
performed on the Frontend or in the Backend.
• Install and configure NetWeaver 7.5 or higher. NetWeaver 7.5 already comes
with SAP Gateway, SAP_GWFND 7.5, and SAP_UI 7.5
Requirement • Windows 7, 8.1, or 10 for development and configuration
• Install the SAP Logon utility.
• Having a Fiori Launchpad properly configured.
The main Software Component for My Inbox 2.0 is UI for Cross Applications (200 SAPK-
200AGINUIX01CA1). These components are installed in the Front-End.
The following instances contain UI for Cross Applications Software component:
Name of Object Name of Activated Instance
FIORI APPROVE REQUESTS X1 2.0 Approve Requests UI 2.0
FIORI APPROVE REQUESTS X1 2.0 Approve Requests UI 2.0 > 7.50
HCP WORKFLOW 1.0 MyInbox Cloud Deployment
SAP ACS 1.2 FOR SAP S/4HANA UI for ACS
SAP ACS 1.2 FOR SAP S/4HANA UI for ACS on NW 7.5
SAP ACS 1.3 FOR SAP S/4HANA UI for ACS
SAP ASSURANCE & COMPLIANCE 1.2 UI ACS on NW 7.51 and NW 7.52
6
SAP ASSURANCE & COMPLIANCE 1.2 UI Assurance and Compliance
SAP ASSURANCE & COMPLIANCE 1.3 UI ACS
SAP FIORI FOR SAP ERP TRV 1.0 UI for ERP TRV
SAP FIORI FOR SAP S/4HANA 1511 UI for Approve Requests
SAP FIORI FOR SAP S/4HANA 1610 UI for Approve Requests
SAP FIORI FOR SAP S/4HANA 1610 UI for HCM (Fiori 2.0)
SAP FIORI FOR SAP S/4HANA 1610 UI for SAP S/4HANA
SAP FIORI FOR SAP S/4HANA 1610 UI for TRV
SAP FIORI FOR SAP S/4HANA 1709 UI for Approve Requests
SAP FIORI FOR SAP S/4HANA 1709 UI for HCM (Fiori 2.0)
SAP FIORI FOR SAP S/4HANA 1709 UI for SAP S/4HANA
SAP FIORI FOR SAP S/4HANA 1709 UI for TRV
SAP HYBRIS MARKETING 1.2 Hybris Marketing
SAP HYBRIS MARKETING 1709 Hybris Marketing
For other instances, you can download this component in the SAP Support Launchpad:
7
Figure 1 MyInbox Component
In addition to the main component, it is highly recommended to apply the support packages in
order to have the latest corrections available:
8
Figure 2 Support Packages
9
IW_PGW 100
3. Next download all the SPs which they are SP01-SP09 as shown below:
10
Component IW_PGW 100 will be out of maintenance as of
Note
31.12.2025
4. Once Everything is downloaded and installed, you should confirm in the Front-End you
have the following:
11
Chapter 2
Creating Inbox specific System Alias
When using an OData service, it is needed to define a System Alias. These aliases refer to an RFC
connection that will consume the backend services in the Front-End.
Only fill the “Software Version” column if you are using the
Note system alias for My Inbox app. Other Fiori apps do not use BWF,
so this column must remain blank in this case. This issue is
addressed in SAP Knowledge Base Article 2348671
You can find more information related to the flags in the following note:
2249736 - FAQ related to the System Alias and Gateway flags
13
Chapter 3
Activating and testing OData Service
Service TASKPROCESSING
The OData service that My Inbox 2.0 uses is TASKPROCESSING version 2. In this section, we will
import the service to our Gateway system, add the Technical service in order to consume the
service and assign a system alias so the service is consumed in the right system and client. These
settings are performed in the frontend system, although the service resides in the backend.
Go to your Gateway system and execute transaction /n/IWFND/MAINT_SERVICE. You will see a list
of OData services that belong to the backend and are currently consumed in the frontend:
1. Choose the system alias created in Chapter 1 and service /IWPGW/TASKPROCESSING. Click
on “Get Services”
14
Figure 8 Getting TASKPROCESSING Service
2. Once the service is found and the Version is 2, select the service and click on button “Add Selected
Services”
- Technical Service Name: The name of the service you will consume
- Technical Model Name: The name of the model that the Gateway service will execute
- Package Assignment: The package where you will export the service
15
set the package to a temporary one ($TMP), but don’t do that if
you plan to transport the service.
In order to check that the RFC works properly and the users are consistent in both systems
1. double click on the SAP System Alias
17
Figure 13 Checking System Alias
2. Click on the “Remote Logon” button. If the initial screen for the backend system is shown,
the RFC connection works fine:
Transaction SICF
In addition to the OData services, SAP Fiori needs to activate the generic Internet Communication
Framework (ICF) services, which are available in an inactive state for security reasons. After the
installation, you have to activate the corresponding service for my inbox, which is called
CA_FIORI_INBOX. This service resides in the Front-End system.
Activating service CA_FIORI_INBOX
19
4. Look for UI5 service CA_FIORI_INBOX under ui5_ui5 and right click on it and choose
“Activate Service” option and confirm
20
5. You should see the following screen below:
There is another service called CA_FIORI_INBOX that points to the old BSP
Note application. Do not activate that service unless you are using a BSP non
UI5 based service
Right click on the service again and choose ‘Test’. Of course the browser will not open the page
since this service is not designed to work by itself. But keep the service path since it will be used in
a later stage when defining the My Inbox Tile.
21
Figure 18 Testing the service
22
1. Go to PFCG which is the Role Maintenance in your Gateway Front-End system and type
SAP_FND_BCR_MANAGER_T as shown below:
2. Click on the Pencil Icon to in order to add your user ID to this Role
23
3. Next click on the User tab to add the user to it
24
Chapter 5
Activating the Task Filter
Task Filter
You can activate or deactivate the task filter so that the only tasks configured in the Maintain Task
Names and Decision Options IMG activity or the Workflow Pattern Customization IMG activity are
seen in My Inbox. By default, the filter is deactivated.
When the task filter is set to Active:
Sending Notifications: Only notifications of items that were configured using the Maintain Task
Names and Decision Options IMG activity or the Workflow Pattern Customization IMG activity are
sent.
The SAP Gateway Workflow service only receives items that were configured using the Maintain
Task Names and Decision Options IMG activity or the Workflow Pattern Customization IMG
activity.
When the task filter is not set to Active:
• All notifications are sent.
• All items are read.
25
Figure 21 Enabling Task Filter
26
Chapter 6
Workflow Customizing
In this section we will explain the basic workflow customizing needed to make My Inbox app work.
If you already can see your items in transaction SBWP, you can skip this section. All these settings
are done in the backend system.
To setup a Workflow environment, the easiest way is executing the Automatic Workflow
Customizing. You can execute this in transaction SWU3:
For release S/4HANA OnPremise 1709 and above, the workflow system user and workflow have
been changed. The workflow system user is called SAP_WFRT now instead of WF-BATCH. The
workflow system jobs start with SAP_WORKFLOW now and are scheduled automatically by
"Technical Job Repository", transaction SJOBREPO.
27
For more detail about the new workflow system user and jobs,
Note
check SAP note 2568271. In this note, we detail the steps to
follow when upgrading to S/4HANA release.
For releases prior to S/4HANA OnPremise 1709, the only action to do in this transaction is
executing the automatic customizing (F9 or the button). The system performs the tasks shown
in the folders and will show a green check if the task was successful.
Not all the tasks have to be in green status. There are certain
Note
tasks that may not be needed in your business scenario and may
have the red icon.
In this transaction, you can also execute the verification workflow. This is a test workflow that will
Click on F5 (or the icon) to start the verification workflow. This will launch workflow 30100051
Go to SAP Business Workplace (transaction SBWP or icon ) and check that the verification task
was sent successfully:
Once the workflow environment is ready, the next step consists of assigning the workflow tasks to
the corresponding agents.
My Inbox app will only show the tasks assigned to the corresponding agent, so it is important to do
a proper agent assignment in all tasks of our workflow.
For this example, we will do the customizing on the “Process Notification of Absence” workflow.
Note that you must do this customizing for all the workflows you want to display on My Inbox app.
Go to transaction PFTC, enter Workflow Template 30000015 and click on Display (F7)
The first step to perform is making sure that the triggering event of the workflow is activated.
Every time the triggering event happens, the workflow will be triggered.
29
1. Go to the “Triggering events” tab and make sure that the event is activated (green light):
30
2. The next step consists of assigning the agents to the workflow tasks. Go to “Basic Data” tab
and choose the “Workflow Builder” tab:
31
4. Look for the tasks that require agent assignment. Double click on the task and check if the
“Agent Assignment” icon is green:
5. Click on the icon next to “Agent Assignment”. Here you will see the tasks groups that are
assigned to this workflow. Click on “Create Agent Assignment” (F5 or icon):
32
6. Choose “User” and enter the ID of the agent you want to receive the tasks:
33
8. You don’t need to save, just update the index (Shift+F1).
The last step consists of launching the workflow and making sure that the tasks arrive in the
Business Workplace.
The workflow is launched when the triggering event happens in the system. Another option, used
only for test purposes, is going to transaction SWUS and simulating the triggering event:
34
1. Enter the workflow number and click on “Execute”:
3. Go to the business workplace and check that the task was successfully received
35
Chapter 7
Customizing Task Names
The next step in the configuration for My Inbox is customizing the task that will be displayed in the
application. Here you will assign the tasks that will be displayed in My Inbox app and the decisions
that can be taken via the buttons.
1. Go to SPRO path, Backend system
• SAP NetWeaver
• SAP Gateway Service Enablement
• Content
• Workflow Settings
• Maintain Task Names and Decision Options
36
2. The entries were the following:
- Workflow ID: Is the workflow for which you want to display tasks. In this example,
we will choose Workflow template WS30000015
- Step description: The description you want to provide.
- Step ID: You can find this identifier in the backend. Go to transaction PFCT, enter
your workflow and click on display:
37
3. In the “Navigation Area” section, you will find the Step ID:
Figure 39 Step ID
1. In the same customizing view shown in the previous section, click on the “Decision Keys”
sub-dialog :
2. Add and define your decision options in the Decision Keys table as described below and
save your entries:
• Key: Enter the decision key.
Decision keys are numeric and sequential and correspond to the position of decision
options in the Workflow Builder. Enter the first decision option with key 1, the second
decision option with key 2, and so on.
38
• Icon Mime Repository Path: Leave this field blank.
• Decision Text: Define the label of the decision option.
This name is displayed on the application screen as a button label. The proposed length
of the decision text is maximum 14 characters. Decision texts longer than 14 characters
will not fit to the device screen.
• Comment On: If you want to make it mandatory for the user to add a comment when
executing a decision, select this checkbox.
• Nature: Here you have the following options:
- Select POSITIVE for the approve type decision option.
The decision option is displayed either as a green pushbutton or in a gray popover
(depending on the space available) on the detail screen of the application.
- Select NEGATIVE for the reject type decision option.
The decision option is displayed either as a red pushbutton or in a gray popover
(depending on the space available) on the detail screen of the application.
- Leave the field empty for multiple decision options.
The decision options are displayed either as gray pushbuttons or in a gray popover
(depending on the space available) on the detail screen of the application.
If you cannot see the Approve and Reject buttons in My Inbox app, apply SAP note
2365275. Do not forget to invalidate all caches afterwards as explained here. It is
recommended to upgrade to My Inbox 2.0 SP03.
39
Chapter 8
Scenarios
The next step is defining a scenario for the Inbox app. Scenarios contain the list of tasks that each
user will see.
40
- Scenario Identifier: The name of your scenario
- Scenario Display Name: My Inbox Scenario
- Technical Service Name: /IWPGW/TASKPROCESSING
- Version: 2
- EntitySet External Name: Task
- Property External Name: TaskDefinitionID
- Default Sort by Property: CreatedOn (or the default sort order for the incoming items)
- Mass Action: ‘X’ if you want to allow mass approval/rejection of items
3. Choose your scenario and click on folder “Assign Consumer Type”. Here you choose on
which device you will display My Inbox app. In this example, I choose the three consumer
types available:
Tablet is mandatory in this sub-dialog. All other Consumer Types are optional.
42
Chapter 9
Creating a Tile for the Task Definition Scenario
Next step will be creating a new Tile in the Fiori Launchpad and assigning it to the corresponding
user and its scenario.
1. Log in to the Launchpad Designer. You can either launch the Launchpad Designer URL:
http(s)://host:port/sap/bc/ui5_ui5/sap/arsrvc_upb_admn/main.html#
Or use t-code /n/UI2/FLPD_CUST or logon via the customizing path:
• SAP Customizing Implementation Guide
• SAP NetWeaver
• UI Technologies
• SAP Fiori
• Configuring Launchpad Content
• Adding Apps to SAP Fiori Launchpad
• Configure Target Mappings and Tiles
2. SAP Fiori Launchpad Designer (Current Client)
3. You can either create a new catalog so you can group your tiles. My Inbox tile is included in
the existing standard Business Catalog SAP_CA_BC_MYINBOX for S/4HANA 1610, but it is
not recommended to use the standard catalogs. The recommendation is copying the
standard catalog into your own one and transporting your own catalog between
envinronments.
Note If you are using another product version you can find the
standard catalog in Fiori Library here.
43
4. In order to create a new catalog, click on the ‘+’ sign at the bottom of the catalog list:
44
5. Provide a title to your catalog and click on “Save”:
6. Inside the catalog, a target mapping and a tile must be created. In the target mapping we
provide the information on what is the application we are going to launch. Technically this
is called “Semantic Object” and “Action”. Click on “Create Target Mapping” and provide the
corresponding fields.
45
Figure 47 Accessing target mapping
46
Figure 48 Getting the URL of My Inbox application
47
Creating a new dynamic tile
Next step is consuming that target mapping in a Dynamic tile. Dynamic tiles calculate in real time
the amount of items available in the app.
1. Go to the Launchpad Designer and click on the ‘+’ button
2. Choose a dynamic tile so we can see the amount of items in the inbox:
48
tus eq 'READY' or Status eq 'RESERVED' or Status eq 'IN_PROGRESS' or Status eq
'EXECUTED'
- Semantic Object: WorkflowTask
- Action: Display
Parameters: If you want to see all items in the inbox, just type allItems=true. If you want to
display the items according to the scenario defined in previous step, type scenarioId=XXX
(your scenario ID defined in the customizing).
After doing this, there are two options: Assigning the catalog to the user or creating a group,
assigning the tile to the group and assigning the group to the user.
If you follow this procedure, you leave the users the option to
Note add the tile to their Launchpad or not. In this case, the users may
not be able to get newly updated tiles. You should follow one or
another method depending on your company policies.
At this point, the catalog is not assigned to any user, so we have to provide the agents with access
to the recently created My Inbox Tile
1. Go to transaction PFCG and create a new single role
50
Figure 55 Assigning the Catalog
4. Go to the User tab and assign the users for which you want to see the catalog:
51
6. Click on the pencil icon to access the new created catalog
7. Click on “Add Group”:
52
Figure 60 Creating the new group
Leave the “Enable users to personalize their group” if you want to give the users
personalization privileges.
4. Now add the new tile to the group. Click on the “+” sign in the Show as Tiles section
53
Figure 62 Adding the catalog to the group
54
Figure 64 Assigning the group to the role
10. Go to the User tab and assign the users for which you want to see the group:
55
Figure 66 Assigning the user to the Role
Figure 67 Once in the Fiori Launchpad, add the tile to the group
56
Figure 68 Adding the Tile into the catalog
Final Result
57
Figure 69 My Inbox Demo
58
Click on the Tile. You will be able to see the app with all the items
59
Figure 72: Available Options in the User Icon
- App Finder: Here you can find the available apps in your Fiori Launchpad. You can find more
information here
- Settings: The generic settings of the Fiori Launchpad.
- Manage My Substitutes and Substitute For: These buttons are used to manage substitutions in My
Inbox. You can find information on how to configure this feature in KBA 2447316
- Support Information: Shows technical information about the selected task such as the workflow
task ID, the scenario or the selected sort sequence.
60
Figure 73 Support Information Screen
- About: Shows generic information about the app such as Inbox version, SAPUI5 version or the
Target Mapping ID.
61
Figure 74: About My Inbox 2.0
Note For more information on how to display My Inbox version, check KBA 2557477
62