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

Connect SAP Business Application Studio and SAP S/4HANA Cloud System

For key user extensibility connect SAP Business Application Studio and an SAP S/4HANA Cloud system using SAML assertion authentication to develop custom UIs.

Overview

🎓 beginner 20 min. ABAP ExtensibilityBeginnerCloudSAP Business Technology PlatformSAP Business Application Studio

You will learn

  • โœ”How to create an HTTP destination on SAP Business Technology Platform with SAML assertion authentication to an SAP S/4HANA Cloud system
  • โœ”How to create a communication system for an SAP Business Application Studio subaccount in an SAP S/4HANA Cloud system
Peter Persiel P Peter Persiel April 30, 2026
Created by June 6, 2023
Contributors

Prerequisites

Prerequisites

  • You have an SAP S/4HANA Cloud system and a business user with Communication Management authorizations (this requires a business role with unrestricted write access containing business catalog SAP_CORE_BC_COM ).
  • You have an SAP Business Technology Platform Trial account or customer account with an SAP Business Application Studio subscription
  • You have set up mutual trust between the SAP BTP subaccount and the Identity Provider, see Tutorial: Set Up Trust Between SAP Cloud Identity Services and SAP BTP Cloud Foundry Environment

Steps

Additional Infos

Step 1 Create destination to SAP S/4HANA Cloud system
โ€”

SAP Business Application Studio requires connection information to request custom business object data from your SAP S/4HANA Cloud system and to deploy a UI into this system. That information is stored in the SAP Business Application Studio subaccount as a so-called destination. To create that destination, do the following:

Although this tutorial describes the flow with a trial account, the sequence is the same for a customer account after entering the subaccount of your choice.

  1. In your web browser, open the SAP BTP Trial cockpit https://account.hanatrial.ondemand.com and Go To Your Trial Account, which is a so-called global account.

    Enter Global Trial Account
    Enter Global Trial Account

  2. On your global account page, select default subaccount trial.

    Enter trial subaccount
    Enter trial subaccount

  3. In the navigation pane expand the Connectivity section.

    Get to New Destination
    Get to New Destination

  4. Select Destinations.

  5. To simplify the destination creation and to reduce the risk of errors, this tutorial provides a template file for the destination. You can download SAML_ASSERTION_destination_template.json locally.

  6. Create the destination either by uploading the text file via Create โ†’ From File (A) or if you want to input everything manually via Create โ†’ From Scratch (B).

  7. In case of import (A) adapt the Name and Description to your needs and provide the mandatory value for URL and Audience and empty value for Client Key as shown below.

    In case of completely manual configuration (B) set the Main Properties as shown below.

    Field NameValue
    Name<YOUR_SYSTEMS_ID>_SAML_ASSERTION
    TypeHTTP
    DescriptionSAML Assertion Destination to SAP S/4HANA Cloud system <YOUR_SYSTEMS_ID>
    URLIn the SAP S/4HANA Cloud system, navigate to the Communication Systems app, click the Own SAP Cloud System button, copy the Host Name and paste it with prefix https://, for example https://my12345-api.s4hana.cloud.sap
    Own System Host Name in Communication Systems App
    Own System Host Name in Communication Systems App
    Proxy TypeInternet
    AuthenticationSAMLAssertion

    Set the SAML Properties as follows:

    Field NameValueRemark
    AuthnContextClassRefurn:oasis:names:tc:SAML:2.0:ac:classes:PreviousSessionย 
    AudienceCopy and paste the OAuth 2.0 SAML2 Audience from the Own SAP Cloud System.ย 
    Client KeyCheck Set empty checkboxย 
    Name Id Formaturn:oasis:names:tc:SAML:1.1:nameid-format:emailAddressIf you have set the subject name identifier in the trust configuration to E-Mail, you have to add this property. Refer to Tutorial: Set Up Trust Between SAP Cloud Identity Services and SAP BTP Cloud Foundry Environment. This also requires the e-mail address to be maintained for SAP S/4HANA Cloud system business users.

    Select Add Property and maintain the following Additional Properties and values.

    Field NameValueRemark
    HTML5.DynamicDestinationtrueย 
    HTML5.Timeout60000value stated in milliseconds. 60000 equals 1 minute. Required as deployment needs longer than the standard of 30 seconds.
    WebIDEEnabledtrueย 
    WebIDEUsageodata_abap,dev_abapย 
  8. Make sure that the Use default client trust store checkbox is ticked in the Client Trust Store configuration.

    Configure Destination
    Configure Destination

  9. Click Save.

Step 2 Download SAP BTP trust certificate
+
Step 3 Create communication system in SAP S/4HANA Cloud system
+
Step 4 Configure communication system
+
Step 5 Test yourself
+

Resources

Discussion

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

Submit detailed feedback Discuss in Community
Steps
Step 1 of 5
1. Create destination to SAP S/4HANA Cloud system 2. Download SAP BTP trust certificate 3. Create communication system in SAP S/4HANA Cloud system 4. Configure communication system 5. Test yourself

Learn more →