cancel
Showing results for 
Search instead for 
Did you mean: 

Creation Connection SAP Web IDE with S/4HANA Cloud System

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

yuri053845
Participant
0 Kudos

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

Answers (2)

Answers (2)

Amith_Nair
Advisor
Advisor
0 Kudos

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

fegutieri
Product and Topic Expert
Product and Topic Expert
0 Kudos

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

Former Member
0 Kudos

Hello felipe_gutieri ,

I made the authentication OAuth2.0 but still not working.

"SAP_DEV_SYSTEM Catalog service is unavaiable. Please try again"

Thanks for your attention