cancel
Showing results for 
Search instead for 
Did you mean: 

Consuming External Service Onpremise in SAP CAP

jmtrujillogalan
Explorer

Hi everyone,

I was reading many threads about how consume an external service in SAP CAP. But i didn't find a solution to my specific problem.

My app is configured to consume an enternal service in Onpremise SAP server. When I use the same destination in the wizard of BAS to create a fiori app, it's work fine.

- EDMX was imported

- Destination was added to package.json

- The services connectivity, xsuaa and destination have been used

- BTP Destination was configured with Basic Auth, Proxy Onpremise

When I try to use this service with a Select, i am receiving "Error during request to remote service: Request failed with status code 401" Logon failed

Is the problem the connectivity of my app to cloud connector?

Thanks!

gregorw
Active Contributor

I would suggest to do a trace in cloud connector and check if the authentication data is passed correctly.

View Entire Topic
Chandruu0208
Explorer
0 Kudos

Hi Jose,

So, "Perform all procedures" need to be enabled and check box "Use configuration data from super node" needs to be disabled
correct?

jmtrujillogalan
Explorer
0 Kudos

Please, change the configuration of your Z* service. In your screen, you are changing root configuration for all services...

In your Z* /sap/opu/odata/sap/Z*

-Procedure: Standard

-Mark: "Use All Login Procedures"

-SAML Conf: Uncheck the option "Use Config from Super..."

Regards