on 08-19-2019 4:54 AM - last edited on 02-03-2024 9:08 PM by postmig_api_4
Hi,
Good Morning!
I trying to create the connection SAP Web IDE with S/4HANA Cloud System.
I followed the document https://developers.sap.com/india/tutorials/abap-custom-ui-communication-arrangement.html
But when creating Communication Arrangements (SAP_COM_013) with communication system user SCP_DEV, It doesn't work, because I can not configure the user as OAuth2.0. Follow the images:
Could someone guide me?
Thank you,
Marco Antônio
Hi Marco
Do you have special reason to authenticate with OAuth2.0 between your Web IDE and S4 HANA Cloud?
(I also have read the tutorial which you showed.)
There is another way to refer CDS data in Web IDE.
(1)SCP side
At the "Destination" setting in SAP Cloud Platform, you can maintain your S4 HANA Cloud environment with BasicAuthentication, just user ID and password which you defined in S4HC as communication system user.
(2)S4HC side
App: Communication Arrangements
Define Communication Arrangements with scenario SAP_COM_013 (**Actually there is no available standard scenario "SAP_COM_013", but there are SAP_COM_0130 ~~~ SAP_COM_0139 actually. Please confirm the scenario again), then you can get service URL as Inbound Services with application protocol OData V2 or SOAP.
(3)Web IDE
At Data Connection stage, please select "Service URL" instead of Service Catalog.
You can choose destination of S4HC which you defined in (1) and also specify service URL of (2) - only after "/sap/opu/odata/sap/xxxxxxx"
xxxxxxx = your OData service name (API name or CDS name)
Hope it helps.
Thank you and best regards,
Yuri
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
I would always recommend having the KBA Article: https://launchpad.support.sap.com/#/notes/2685335 as side reference while going through the blog you already shared because, there are some pre-requisites to be known while setting up the connection between the two which is shared the KBA article.
There could be possibilities like Sub account configuration issue and if the issue still persist, we need an incident with SAP to take care of this.
I will be curious to know how this goes.
Good Luck!
Amith Nair
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Marco,
Have you tested only using the basic authentication (User ID & Password)?
Maybe this could help you identify whether the problem is in the type of authentication or any other configuration.
I tried here to change from the basic authentication to the OAuth2.0 and it worked perfectly.
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
7 | |
6 | |
3 | |
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.