on 06-15-2021 6:48 AM
Tutorials: https://developers.sap.com/tutorials/s4sdk-odata-service-cloud-foundry.html
--------------------------
I follow tutorials, in my case the backend s/4hana system is OP, I installed cloud connector and in cloud connector Cloud To On-Premise, configured HTTPS protocol to s4hana op system, then configure HTTP destination in BTP and check connection works(and use this HTTP destination to do another testing such as call s4hana Odata from postman, it works).But i follow the blog, after deployment to BTP, the hello world servlet can be called, but cannot call BusinessPartnerServlet just threw error "Internal Server Error". Then I followed the local deployment steps(which did in sap business application studio), and also run this command set destinations=[{name: "MyErpSystem", url: "https://URL"}], after run locally in BAS, I got the below error mentioned environment variable 'VCAP_SERVICES' is not defined. I checked all the steps in the tutorials, have no idea what is missed.
The problem got resolved by adding the missing "connectivity" service binding to the application. Now the OData request to BusinessPartner Service is working.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.