Connect SAP Business Application Studio (SAP BAS) and SAP S/4HANA Cloud ABAP Environment
- How to assign role collections
- How to configure destinations
- How to create communication systems
Prerequisites
- You have a license for SAP S/4HANA Cloud and have a developer user in it
- Trial: You need an SAP BTP trial user
- Business Catalog
SAP_CORE_BC_COMmust be assigned to business user
Hint: The administrator receives an welcome e-mail after provisioning. This e-mail includes the system URL. By removing
/uiyou can log into the SAP S/4HANA Cloud ABAP Environment system. Further information can be found here.
Connect SAP Business Application Studio and SAP S/4HANA Cloud, ABAP Environment system using SAML assertion authentication to develop custom UIs.
Prerequisites
- You have a license for SAP S/4HANA Cloud and have a developer user in it
- Trial: You need an SAP BTP trial user
- Business Catalog
SAP_CORE_BC_COMmust be assigned to business user
You will learn
- How to assign role collections
- How to configure destinations
- How to create communication systems
Intro
Hint: The administrator receives an welcome e-mail after provisioning. This e-mail includes the system URL. By removing
/uiyou can log into the SAP S/4HANA Cloud ABAP Environment system. Further information can be found here.
-
Select your subaccount trial.
-
In the navigation pane expand the Connectivity section and select Destinations. Click New Destination.
Configure the new destination with the following standard field values.
| Field Name | Value |
|---|---|
| Name | System_###_SAML_ASSERTION |
| Type | HTTP |
| Description | SAML Assertion Destination to SAP S/4HANA ABAP Environment system_### |
| URL | In the SAP S/4HANA Cloud tenant, navigate to the Communication Systems app and copy the Host Name from Own System = Yes![]() https:// for example https://my12345-api.s4hana.ondemand.com. |
| Proxy Type | Internet |
| Authentication | SAMLAssertion |
| Audience | Enter the URL of your system and remove -api, for example https://my12345.s4hana.ondemand.com. |
AuthnContextClassRef | urn:oasis:names:tc:SAML:2.0:ac:classes:PreviousSession |
Select **New Property** and maintain the following **Additional Properties** and values.
| Field Name | Value | Remark |
|---|---|---|
| HTML5.DynamicDestination | true | |
| HTML5.Timeout | 60000 | value stated in milliseconds. 60000 equals 1 minute. Required as deployment needs longer than the standard of 30 seconds. |
WebIDEEnabled | true | |
WebIDEUsage | odata_abap,dev_abap | |
nameIDFormat | urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress | Required in case your subaccount sends mail address as SAML Name ID for authentication ( Subject Name Identifier in Identity Authentication tenant ), although SAP S/4HANA Cloud tenant expects user login by default. That is the case with a trial Account. This also requires the mail address to be maintained for SAP S/4HANA Cloud tenant business users. |
Make sure that the **Use default JDK truststore** checkbox is ticked.

Click **Save**.
- Click Download Trust.













