on 03-13-2022 5:13 PM
Hi Team,
Is it possible to consume odata service in SAP CAI from ABAP trial Environment?
If yes, can anyone please help me with the procedure?
I tried consuming below service in CAI, but when I check the response, it returns the redirect URL for authorization. Although I have passed the email and password in basic authorization.
Please note: When I try the below odata service in incognito mode, it redirects to username and password screen, which if I enter successfully, it shows me the data.
O Data Service URL
https://XXXXXXXweb.us10.hana.ondemand.com/sap/opu/odata/sap/ZSB_TRAVEL_XXX/TravelProcessor
Response in CAI
<html><head><link rel=\"shortcut icon\" href=\"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7\" /><script>document.cookie=\"fragmentAfterLogin=\"+encodeURIComponent(location.hash)+\";path=/;Secure;SameSite=None;\";document.cookie=\"locationAfterLogin=\"+encodeURIComponent(location.href.split('#')[0].split(location.host)[1])+\";path=/;Secure;SameSite=None;\";document.cookie=\"signature=6253r%2FulOjFQomJfzC7miqtaNgQ%3D;path=/;Secure;SameSite=None;\";location=\"https://abap-public-trial-us10.authentication.us10.hana.ondemand.com/oauth/authorize?response_type=code&client_id=sb-abapcp-web-router-prod-us10!t1841&redirect_uri=https%3A%2F%2F45f514af-f57b-4579-990b-8b70ea328491.abap-web.us10.hana.ondemand.com%2Flogin%2Fcallback\"</script></head></html><strong><br></strong>
Hi Ramandeep,
this is unfortunately not possible.
As described here Create Communication Objects for a Remote OData Service | Tutorials for SAP Developers it is necessary to create an inbound communication arrangement which is only possible in licensed systems or in a freetier system, but not in a trial system.
Kind regards,
Andre
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.