SAP Home Learn Build Integrate Model Operate Extend with AI ConnectTutorial navigator Knowledge Graph API Devtoberfest Developer Advocates App Space

Manage my Account SAP Devs YouTube ↗ Learnings ↗ Community ↗ Provide Feedback ↗
Logout
โคข Open full site

Extend SAP S/4HANA Cloud on SAP BTP, Cloud Foundry Environment

Extend SAP S/4HANA Cloud with an extension application running on SAP BTP, Cloud Foundry environment using automated integration configuration.

Overview

🎓 intermediate 60 min. SAP BTP Cloud Foundry EnvironmentIntermediateSAP Business Technology PlatformCloudSAP S 4hana Cloud

You will learn

  • โœ”How to extend the functionality of your SAP S/4HANA Cloud system to manage business partners
Aneta Peteva A Aneta Peteva July 14, 2023
Created by July 14, 2023
Contributors

Prerequisites

Prerequisites

  • Tools:
  • On SAP BTP side:
    • You have a global account in SAP BTP.
    • You have an S-user or P-user. See User and Member Management.
    • You are an administrator of the global account where you want to register your SAP S/4HANA Cloud system.
    • You have enabled the Cloud Foundry capabilities for your subaccount in SAP BTP.
  • On SAP S/4HANA Cloud side:
    • You have a dedicated SAP S/4HANA Cloud tenant with an Identity Authentication tenant configured. You need to use the same Identity Authentication tenant for your subaccount in SAP BTP.
    • To configure the integration on the SAP S/4HANA Cloud system side, you need a business user with the roles:
      • SAP_BR_ADMINISTRATOR that contains the Business Catalog SAP_CORE_BC_COM necessary to access and administer the SAP S/4HANA Cloud tenant.
      • SAP_BR_BPC_EXPERT to be able to maintain the event topics in the SAP S/4HANA Cloud tenant. You can check whether your user has the required roles via the Maintain Business Users application in your SAP S/4HANA Cloud tenant. See Maintain Business Roles.

Steps

Intro

You can extend the functionality of your SAP S/4HANA Cloud system with an extension application deployed in a subaccount in SAP Business Technology Platform (SAP BTP) and at the same time fully integrated in your SAP S/4HANA Cloud system.

In this tutorial, you use the business partner sample application for SAP S/4HANA Cloud is to learn some best practices when building SAP S/4HANA Cloud extension applications on SAP BTP. We recommend to use this sample application only as a proof of concept and a starting point for implementing extensions.

Using this application, you can:

  • View a list of all your business partners
  • Add new business partners

The following diagram shows the technical components that take part in this scenario.

Architecture Diagram
Architecture Diagram


Step 1 Connect SAP S/4HANA Cloud to SAP BTP
โ€”

To do that, you must register your SAP S/4HANA Cloud system in your global account in SAP BTP. During this process, an integration token is created and then used by the SAP S/4HANA Cloud system tenant administrator to configure the integration on the SAP S/4HANA Cloud system side.

  1. In the SAP BTP cockpit, navigate to your global account, and then choose System Landscape.

  2. In the Systems tab, choose Add System.

    In the Systems panel, choose Add System.
    In the Systems panel, choose Add System.

  3. In the Add System dialog box:

    • Enter a name for the system you want to register.

      Use only printable ASCII characters.

      Enter a name for the system you want to register.
      Enter a name for the system you want to register.

    • In the Type dropdown list, select the system type.

      In the Type dropdown list, select the system type.
      In the Type dropdown list, select the system type.

    • Choose Add.

      SAP BTP generates an integration token that the tenant administrator of the extended SAP S/4HANA Cloud system uses when configuring the integration between your SAP S/4HANA Cloud system and the cloud platform on the respective SAP S/4HANA Cloud system side.

  4. To get a token to register this system with global account, choose Get Token. You need it for configuring the integration on the extended SAP S/4HANA Cloud system side.

  5. Copy the registration token and close the dialog box.

    The SAP S/4HANA Cloud system appears in the list of added systems. Its status is Pending because the registration process is not yet completed.

Step 2 Trigger registration in SAP S/4HANA Cloud tenant
+
Step 3 Make SAP S/4HANA Cloud system accessible in your subaccount
+
Step 4 Configure entitlements for SAP BTP, Cloud Foundry runtime
+
Step 5 Clone sample application from GitHub
+
Step 6 Create Destination service instance
+
Step 7 Create SAP S/4HANA Cloud Extensibility service instance
+
Step 8 Create SAP Authorization & Trust Management service instance
+
Step 9 Deploy and run sample application
+
Step 10 Test sample application
+

Resources

Discussion

Share feedback on this tutorial or join the conversation in SAP Community.

Submit detailed feedback Discuss in Community
Steps
Step 1 of 10
1. Connect SAP S/4HANA Cloud to SAP BTP 2. Trigger registration in SAP S/4HANA Cloud tenant 3. Make SAP S/4HANA Cloud system accessible in your subaccount 4. Configure entitlements for SAP BTP, Cloud Foundry runtime 5. Clone sample application from GitHub 6. Create Destination service instance 7. Create SAP S/4HANA Cloud Extensibility service instance 8. Create SAP Authorization & Trust Management service instance 9. Deploy and run sample application 10. Test sample application

Learn more →