cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to connect Destination using s4hana cloud sdk in cloud foundry trail account

0 Kudos

Hi Experts,

I have created Side by side Extensibility application and consumed custom service from HANA on premise system.

I have created and binded my-xsuaa, my-connectivity and my-destination for my application too.

I am able to see output whenever add ALLOW_MOCKED_AUTH_HEADER = true in user provided variables.

I have remove and tested to see data from HANA on premise system which configured in cloud foundry. But, i am getting below error. So, please help me to solve this issue.

error.png

Regards,

Dileep

Accepted Solutions (0)

Answers (2)

Answers (2)

cschubert
Participant

Hi Dileep,

for that you need a security setup as described in step 7 of our blog post series: https://blogs.sap.com/2017/07/18/step-7-with-sap-s4hana-cloud-sdk-secure-your-application-on-sap-clo...

Greetings

Chris

0 Kudos

Hi chirstoph,

I have gone through this blog and understood this concept. But, i couldn't add Approuter in SAP Full stack web ide. Please suggest me to proceed..

Please share if any blog also...

Regards,

Dileep

cschubert
Participant
0 Kudos

Hi Dileep,

as this has nothing to do with the S/4HANA Cloud SDK in itself (the Approuter as well as the Web IDE are different products) I would suggest you to add tags related to those, then you will reach people that can help you.

Greetings

Chris

liat_b
Employee
Employee
0 Kudos

Hi Dileep,

Have you created the application as a new project in Web IDE? What do you mean by "test the application" - do you mean you run it via Web IDE or that you deploy and run it?

Thanks,

Liat

liat_b
Employee
Employee

Maybe I can give a few more details, even before you answer 🙂

When you create an MTA project in Web IDE and then an html5 module inside it, a file named xs-app.json is created in your app. This file is the only thing required for the app-router and is used to configure your routes etc.

See documentation here:https://help.sap.com/viewer/65de2977205c403bbc107264b8eccf4b/Cloud/en-US/01c5f9ba7d6847aaaf069d153b981b51.html