Using SAP Fiori Launchpad Plugins

Objective

After completing this lesson, you will be able to extend the SAP Fiori Launchpad

How to Connect the SAP BTP Subaccount to the SAP S/4HANA On-Premise System

In the next exercise, participants will develop an SAP Fiori launchpad plugin using SAP Business Application Studio. This plugin will be deployed from SAP Business Application Studio to the SAP S/4HANA system S4D. To do this, the S4D system must be made accessible for your SAP BTP subaccount using the Cloud Connector. This is set up in this demonstration. The connection to the SAP BTP subaccount used in this training class is established from a Destination, which you create in the SAP BTP Cockpit.

The connectivity concept should be familiar to the participants. Therefore, the purpose of this demonstration is not to explain the concepts, but to set the technical stage for the next exercise.

Steps

  1. Open the SAP BTP Cockpit and choose the tile representing the subaccount used in the training class.

    Note

    Use the SAP BTP Cockpit user from the system setup guide to log on to the SAP BTP Cockpit.
  2. In the left navigation panel, choose ConnectivityDestinations.

  3. Make sure that there is a destination with the following properties in the displayed table:

    Destination S4D_100

    PropertyValue
    NameS4D_100
    TypeHTTP
    DescriptionSAP Gateway S4D
    URLhttp://s4d.virtual:443
    Proxy TypeOnPremise
    AuthenticationBasicAuthentication
    Location ID 
    UserSYSTEMSETUP
    Password<password of the SYSTEMSETUP user - see system setup guide>
    HTML5.DynamicDestinationtrue
    HTML5.Timeout120000
    sap-client100
    WebIDEEnabledtrue
    WebIDEUsagedev_abap,odata_abap

    Note

    If such a destination does not exist yet, you can create it by importing the prepared file S:\Courses\S4D425_25\Destination_S4D_100. To do this, proceed as follows:
    1. Choose Import Destination.
    2. In the dialog that appears, navigate to S:\Courses\S4D425_25, select the file called Destination_S4D_100, and click Open.
    3. Enter the password of the SYSTEMSETUP user in the Password field. This password can be found in the system setup guide.
    4. To save the destination, choose Save.
  4. Now log on to the Cloud Connector that is already installed in the training landscape, and add the SAP BTP subaccount used in the training class.

    Note

    This step links the Cloud Connector with the SAP BTP subaccount.
    1. To log on to the Cloud Connector, open a browser window and enter the URL https://wtshost.wdf.sap.corp:8443 or use the prepared browser favorite 00 Local WTS ToolsCloud Connector.

      Note

      You can ignore any security warning that may appear. For example, in the Chrome browser, select Advanced and then click Proceed to wtshost.wdf.sap.corp (unsafe).

      Result

      The login page of the Cloud Connector displays.
    2. In the User Name field, enter Administrator and in the Password field, enter <password of the Cloud Connector Administrator - see system setup guide>. Then, choose Login.

    3. Make sure that the Master (Primary Installation) option is selected and choose Save.

    4. On the Define Subaccount form that is then displayed, enter the following values and press Save.

      Subaccount Definition

      FieldValue
      RegionEurope (Frankfurt) - AWS
      Subaccount<ID of the subaccount used in the training class>
      Subaccount User (Login E-Mail)<SAP BTP Cockpit user from the system setup guide>
      Password<password of the SAP BTP Cockpit user - see system setup guide>

      Hint

      • To check the Region of the subaccount, proceed as follows: Log on to the SAP BTP Cockpit with the SAP BTP Cockpit user from the system setup guide. On the tile representing the subaccount, look at the fields Provider and Region (for example Provider: Amazon Web Services (AWS) and Region: Europe (Frankfurt)).
      • To look up the Subaccount, proceed as follows: Log on to the SAP BTP Cockpit with the SAP BTP Cockpit user from the system setup guide. On the screen that appears, click on the tile representing the subaccount used in the training class. The required Subaccount is the Subaccount ID that is displayed in the upper area of the next screen (for example ee8d8929-2710-4821-a9a5-86ff28cbda34). Make sure you do not confuse this ID with the Subdomain, Tenant ID, Org Name, and Org ID, which are also displayed on the page.
  5. Finally, map the virtual system from the Destination defined above in the SAP BTP Cockpit to the S4D ABAP system used in the training class. For the sake of simplicity, import the prepared file S:\Courses\S4D425_25\Cloud_Connector_Mapping.zip for this purpose.

    Check the availability of the S4D system.

    1. Choose Cloud To On-Premise in the left navigation panel of the Cloud Connector.

    2. Click the icon Import system mappings... from the toolbar of the Mapping Virtual To Internal System table.

    3. In the dialog that appears, choose Browse.

    4. In the dialog that appears, navigate to S:\Courses\S4D425_25, select the file called Cloud_Connector_Mapping.zip, and click Open.

    5. Choose Import.

    6. In the Actions column of the Mapping Virtual To Internal System table, click the Check availability of internal host... icon.

      Result

      The Check Result column should show the status Reachable.

Log in to track your progress & complete quizzes