Technology Blogs by SAP
Learn how to extend and personalize SAP applications. Follow the SAP technology blog for insights into SAP BTP, ABAP, SAP Analytics Cloud, SAP HANA, and more.
cancel
Showing results for 
Search instead for 
Did you mean: 
former_member232287
Active Participant
Update:

This blog is outdated. Please use the official documentation.

--------------------------------------------------------------------------------------------------------------------------------------

If you want to use the SAP WebIDE to access data from SAP IoT Application Enablement and you have not configured the destinations yet or you have already configured them, but you don’t see any data and you’re just receiving 500 – Internal Server errors, then you should check, if the trust between your SAP Cloud Platform Neo Account and SAP IoT Application Enablement is already configured.

There are three steps you should do to create the trust.

I.            Trust configuration in subaccount



  1. Open the SAP Cloud Platform cockpit: https://account.hana.ondemand.com/cockpit

  2. Select the global account and subaccount for which you want to set up the trust.

  3. In the navigation area on the left side expand Security and click on Trust.

  4. Within the Local Service Provider tab, click Edit and change the Configuration Type to Custom

  5. Download the SCI tenant metadata using the following link:
    https://<SCI-TENANT>.accounts.ondemand.com/saml2/metadata​

    You can find the SCI-Tenant name in your Welcome to SAP IoT Application Enablement! Mail.



  1. Go back to your Cloud Platform Cockpit and switch to the tab Application Identity Provider.

  2. Click Add Trusted Identity Provider.

  3. Click on Browse and select the downloaded metadata file.

  4. Switch to the tab Attributes and Add Assertion-Based Attribute.

  5. Insert Groups in both text boxes.

  6. Click Save.

  7. Go back to the Local Service Provider tab and click Get Metadata.


 

II.            Trust configuration in SCI tenant



  1. Open the administration console of your SCI tenant using the following link:
    https://<SCI-TENANT>.accounts.ondemand.com/admin/​


  2. In the navigation area on the left side expand Applications & Resources and click on Applications.

  3. Click on +Add enter the name of your Cloud Platform Neo account and click Save.

  4. Select your new application in the left and then SAML 2.0 Configuration on the right.

  5. Click on Browse and select the metadata you downloaded in step 12 of the first part. 

  6. Now got to Name ID Attribute and select E-Mail. Save your changes.

  7. Go to Assertion Attributes and +Add Groups. The value in the text box should be Groups Furthermore, change the value of E-Mail to mail. 


 

III.            Trust configuration in the XSA admin UI



  1. Open the XSA admin UI.
    https://<SAAS-TENANT>.admin.cfapps.eu10.hana.ondemand.com/​

    You can find the SAAS-Tenant name in your Welcome to SAP IoT Application Enablement! Mail.



  1. Click at the + button at the lower left side of the page to add a new identity provider.

  2. Copy the XML code you downloaded in step 12 of the first section and paste it inside the field Metadata on the right side of the page.

  3. Click on Parse

  4. Switch to the Role Collections tab and create two new entries:

    • <SAAS-TENANT>-userdamin Groups equals <SAAS-TENANT>-userdamin

    • <SAAS-TENANT>-thingsuperuser Groups equals <SAAS-TENANT>-thingsuperuser 




 

After you have configured the trust, you can now create the destinations in SAP Cloud Platform to really access the data and use SAP WebIDE. The destination configuration can be found in the official SAP Application Enablement documentation.

7 Comments