Hi,
I am using a simple ABAP backend API service to add two numbers. The configuration in CP is fine. The app link in CP also works fine as below
Am using the API service as below. Currently am not passing memory variables here. But just trying to print the above "Sum" as a static result. The response {{api_service_response.add.body.d.Sum}} comes as empty and so is the {{api_service_response.Add.body.status_code}}. It's silly I know. Am I missing something basic here?

Request clarification before answering.
Hi Sujin,
I am facing the same issue. If you are able to find the solution, please do post the same here for reference
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Looks like the call is not getting through to backend. I have tried using the backend service URL too directly, instead of cloud platform approuter link. No results.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sujin,
first, there is a small glitch in your statement for the status code, it contains the body segment which is incorrect - could you try {{api_service_response.Add.status_code}}?
Could you call your ABAP backend via postman, curl, etc and provide the response structure here?
Best,
Stephan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sujin,
I think there is an issue with the URL that you are using in CAI.
I only see the server URL in your screenshot, however the service path and name is missing in the URL. If it is an ABAP OData Service, the URL should be along the lines: https://<masked server name> or <hostname>:<port>/sap/opu/odata/sap/<ServiceName>/<EntitySet>
Please let me know in case you still face an issue.
Best Regards,
Rohit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 4 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.