on 07-15-2021 3:22 PM
Hi there,
I am creating a side-by-side extension using standard CDS view I_StorageLocation. I have done following setting :
1.Created a created a custom CDS view YY1_PlantStorageLocation
2.Created a custom communication scenario YY1_PLANTSTORAGELOCATION_CDS
3.Created following communication arrangement :
I have created a destination in SAP BTP with SSO Mechanism “OAuth2 SAML Bearer Assertion”. I have observed following :
Please note following points :
This is the first time I am creating destination for CDS view with “OAuth2 SAML Bearer Assertion”. Looks like I am missing some setting required to CDS view with SSO. Any help on this issue would be much appreciated. Thanks
Regards, Jenni
Hello Jennifer,
There is very likely some issue with the OAuth configuration for the custom comm scenario you created.
You could either try to debug it or opt for bypassing the OAuth client and use the SAMLBearerAsertion authentication directly against your bespoke ODATA API.
[Actually this is the approach my colleague Prasanth alludes to as well in his reply.]
I explain the difference between these 2 approaches (between having an OAuth client and the saml bearer assertion) in my blog SAMLBearerAssertion authentication with S/4HANA and S/4HANA Cloud.
On a side note, if you wanted to debug your issue there are ways to do it as for instance described in How to generate SAML bearer assertion token with SAP BTP Destination Service? and here ABAP acting as a Resource Server. App2App integration with OAuth2SAML2BearerAssertion flow. in the troubleshooting section.
kind regards; Piotr
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Jenni,
The OData Service that is created with the "External API" scenario of the Custom CDS Views key user app does only support basic authentication (user/password).
Best Regards,
Andreas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jennifer,
Could you refer to the documentation https://help.sap.com/viewer/0f69f8fb28ac4bf48d2b57b9637e81fa/2105.500/en-US/31876c06f99645f289d802f9... for more details on how to connect SAP S/4HANA Cloud to BTP via SAML Assertion. This should solve your issue.
Best Regards,
Prasanth
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
7 | |
7 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.