cancel
Showing results for 
Search instead for 
Did you mean: 
Subscribe

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?

0 Likes
View Entire Topic
rohit_singhal
Active Contributor
0 Likes

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

former_member306391
Participant
0 Likes

Hi Rohit,

The remaining part apart from Hostname & port is added to the app json file. Below is excerpt app json. This is then zipped and deployed to application with xsuaa + connectivity instance.