Activities on Back-End Server 3.3.1 Assign RFC Authorization to Test User
If the OData back-end service is located on a remote back-end, users need permission to perform the RFC call on the back-end system, that is, they require the authorizations
S_RFC and S_RFCACL for trusted RFC.
In this case, and if your user does not have these authorizations yet, assign a role including the RFC authorization objects to the back-end user that corresponds to the test user initially created (see
Create
Test User on Front-End Server).
Note:
You can check whether the user has the RFC authorizations in the user information system (by entering transaction
User Maintenance
(SU01) and choosing
Information
Information System
).
3.3.2 Assign PFCG Role with OData Service Authorization to Test User
Note:
The following procedure describes how you assign the OData service to a user for just the one app (
My Leave Requests app/
Customer fact sheet).
For a productive usage of Fiori apps, you would most probably do the PFCG role assignment differently: You would create a PFCG role
that contains multiple OData App-Specific Configuration
Configuring transactional
SAP Fiori Apps - Quick Guide 25 start authorizations. For example, you would include the start authorizations for all
HR apps, based on the technical catalog for HR.
1. Run transaction
Role Maintenance
(PFCG) to copy the back-end authorization role required for your app to your customer namespace:
Technical role name for the My Leave Requests app:
SAP_GBHCM_LEAVE_REQUEST_EMPL
Technical role name for the
Customer fact sheet:
SAP_SD_CUSTOMER_APP
2. Edit the copied business role in transaction
Role Maintenance
(PFCG)
3. On the
Menu tab, open the dropdown menu of the button for adding objects (+ button). By default, the object type
Transaction is selected. Change the selection to
Authorization Default
4. In
the Service pop-up that opens, select
TADIR Service from the dropdown menu for the Authorization Default. Specify the following values:
Program ID: R3TR
Object Type: IWSV
5. In the table, enter the name of the activated OData service (see
Activate OData
Service for App (SAP Fiori Administrator
)
6. Under the
Authorization tab, click the button next to the
Profile Name field to generate the authorization profile for the role.
7. Choose
Change Authorization Data
. On the screen that opens up, click
Save and then the
Generate button.
8. Run transaction User Maintenance (SU01) and assign the role to the test user user initially created (see
Create Test User on Front-End Server
).
Note:
The following steps are only necessary if the user does not yet have the business authorizations
that are required to use the My Leave Requests app.
1. On the
Authorization tab, click
Generate Profile next to the profile name.
2. Choose
Maintain Authorization Data
3. On the
Authorization Details screen, click the
Generate icon in the toolbar.
3.3.3 Create Search Connectors (Fact Sheets Only)
Prerequisites:
To create search connectors, you need the following authorizations:
SAP_ESH_SEARCH
SAP_ESH_LOCAL_ADMIN
SAP Fiori fact sheets are based on search models.
To enable the use of fact sheets, search connectors must be created for the underlying search models.
App-Specific Configuration
Configuring transactional SAP Fiori Apps - Quick Guide
26
Retrieve the search connectors required for the
Customer fact sheet in the
App
Implementation: Customer
Create the search connectors as described on SAP Help Portal under
Back-End Server:
Create Search Connectors for Apps
19 3.3.4 Start Indexing of Search Connectors (Fact Sheets Only)
For more information, see
Setup of SAP Fiori
Search on SAP Help Portal20 3.3.5 Perform Check: SAP Fiori Launchpad with Content and Authorizations
Open the SAP Fiori Launchpad with the test user credentials.
My Leave Requests app:
1. Choose
Open Catalog from the menu.
2. The business catalog with your transactional app (My Leave Requests app) should be visible.
Customer fact sheet
Fact sheets can be called from the results of the SAP Fiori search. To access the
Customer fact sheet, proceed as follows:
1. Use the SAP Fiori search. To narrow down the search results to customer business objects, enter a customer name and then enter the term customer in the search field.
2. From the search results, you should be able to
open the Customer fact sheet When starting the apps, the actual app functions should be available.
Note
If you get an error message stating that configuration is missing when you start the app, it means that your back-end system has not been configured correctly to enable the business functionality (see
Out of Scope
).
19
http://help.sap.com/fiori
App Implementation Information for SAP Fiori Implementation
Information
App Implementation for Fact Sheets
Back-End Server: Create Search Connectors for Apps.
20
http://help.sap.com/fiori
Configuration of SAP Fiori Infrastructure Setup of SASP Fiori
Search