SAP BTP, ABAP system as Content Provider for SAP Launchpad Service
Target of this tutorial is to provide content of a SAP BTP, ABAP environment system to the SAP Launchpad Service of a subaccount on SAP BTP.
Overview
You will learn
- How to setup a communication arrangement
- How to expose roles to the SAP Launchpad Service
- How to create the necessary destinations
- How to create a Content Provider
- How to create a Launchpad Site
Prerequisites
Prerequisites
- Subscribe to the SAP Launchpad Service in the subaccount the content shall be consumed. Therefore follow the steps of tutorial “Set Up the SAP Launchpad Service” in your subaccount.
- Authorization: Your SAP BTP, ABAP environment user needs a business role with business catalogs Administrator (ID:
SAP_BR_ADMINISTRATOR role) assigned. - Authorization: In the subaccount where the destinations for Content Federation will be created, the user needs to be a subaccount administrator with Role Collection
Launchpad_Adminassigned.
Steps
Open the
Communication Systemsapp from the SAP Fiori Launchpad in your SAP BTP, ABAP environment system.Create a new Communication system.
Specify
System IDandSystem Namefor the new Communication System.In the field
Host Nameenter the callback URL. This is needed for setting up content change notifications. For example portal-service.cfapps.eu10.hana.ondemand.com.
Communication system overview Add a technical user for inbound communication.

New Inbound User 
New Inbound User Authentication method is
User Name and Password. Let the System generate a Password. Do not forget to note the password down. It will be used inStep 5(Create Design-Time destination).

Similarly add a technical user for outbound communication with
Authentication MethodNone.
Outbound User settings
Open the
Communication Arrangementsapp from the SAP Fiori Launchpad and selectNew.In the
New Communication Arrangementapp choose Communication ScenarioSAP_COM_0647for creation.Press
Create.In the “Common Data” section set the Communication System created before using the value help.

- Enter the job execution details for scheduling the FLP Content Exposure job every minute and press
Save.
Open the
Maintain Business Rolesapp.Search for Business Role ID
SAP_BR_ADMINISTRATOR.Mark Business Role
SAP_BR_ADMINISTRATOR.Click
Expose to SAP Launchpad Service.

The content related to the Business Role, such as groups, catalogs, pages or spaces can then be consumed by the SAP Launchpad Service.
In the SAP BTP Cockpit download the trust certificate of the subaccount runtime destinations, by navigating to Connectivity -> Destinations. Press the
Download Trustbutton.Open the
Communication Systemsapp from the Fiori Launchpad in your SAP BTP, ABAP environment system.Create a new Communication system.
Specifiy the System ID and System Name for the new System.
Select
Inbound only.Set
SAML Bearer Assertion ProvidertoON.Upload the certificate file that you downloaded from your subaccount as the Signing Certificate.
Specify a unique Provider Name in the following format:
cfapps.<**region**>.hana.ondemand.com/<unique_name>Save the communication system.
We will create the design-time destination in order to define the location from which the SAP Launchpad service should fetch the exposed content.
Go to the subaccount in which you want to use the Launchpad Service.
Choose
Destinationsin theConnectivitymenu item.Create a new Destination.

URL:
Use Service URL of section
Inbound Servicesin the Communication Arrangement created inStep 2(Create the Communication Arrangement).Add suffix
/entities.Format:
https://<guid>.abap.<region>.hana.ondemand.com/sap/bc/http/sap/aps_flp_content_exposure/entities
Authentication: BasicAuthentication.
User: Inbound user with its password created in Step 1 (Create the Communication System).
Click “Save”.
Create a new Destination.

URL: Use the domain of the Service URL in section “Inbound Services” in the Communication Arrangement created in Step 2 (Create the Communication Arrangement). Replace abap with abap-web. (Format: https://<tenant>.abap-web.<region>.hana.ondemand.com)
Additional Properties:
Click on New Property to add new items.
HTML5.DynamicDestination: true
sap-platform: ABAP
Click “Save”.
Create a new Destination.

URL: Use the domain of the Service URL in section “Inbound Services” in the Communication Arrangement created in Step 2 (Create the Communication Arrangement).
Format: https://<tenant>.abap.<region>.hana.ondemand.com
AuthnContextClassRef: urn:oasis:names:tc:SAML:2.0:ac:classes:PreviousSession
Additional Properties:
HTML5.DynamicDestination: true
nameIdFormat: urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress
Click “Save”.
From the subaccount, navigate to
Services,Instances and Subscriptionsand search for theLaunchpad Servicein the Search boxAccess Launchpad Service.
Go to Provider Manager.
Create a new Content Provider.

Workflow Add Title, Description, ID and the Destinations created in
Step 5-7(Create Design-Time / Runtime destination) accordingly.
Create Content Provider Click “Save”.
In the
Statuscolumn of the table the status will be set toCreatedas soon as the creation is finished.
Navigate to the Content Manager.
Open Tab
Content Explorer. Here all the created Content Providers are listed.Click on the Content Provider created in the previous Step.
Mark the item with Title
Administratorand clickAdd to My Content.

Add roles to own content
Navigate to the Site Directory.
Click
Create Sites.Choose a site name and click
Create.Click
Editand click into the box toSearch for items to assign.

Create Launchpad Site Choose the
Administratorrole (click on+).Click
Save.Copy and store the URL of the Launchpad for later use.

Launchpad URL
Now you assigned the Business Role, which you exposed to the Launchpad Service, to your Launchpad Site. With it all apps that are related to this Business Role will be available in the Launchpad Site. Also a Role Collection is created, which is named in this format:
<Content Provider name>_<Business Role name>
In order to be able to access the Launchpad Site you have to assign the Role Collection created in the last Step, to the SAP BTP, ABAP environment user in the SAP BTP Cockpit.
Open the BTP Cockpit.
Go to the subaccount, of the Launchpad Service.
Navigate to the
Usersmenu.Search for and mark the BTP user of the SAP BTP, ABAP environment.
Click on
Assign Role Collectionin theRole Collectionsection (might be hidden behind the..., dependent on the window size).Assign the created authorization to the user.

Now access the Launchpad Site via the URL stored in Step 10 with the SAP BTP user you assigned the Role Collection to in Step 11.
Resources
Discussion
Share feedback on this tutorial or join the conversation in SAP Community.