Skip to Content
0
Feb 26, 2021 at 03:54 PM

ABAP Environment cannot access remote OData Service in S/4HANA System

186 Views

Dear All,

I struggle with the implementation of a service consumption model consuming an remote OData Service of one of our S/4HANA backend system. We have configured the cloud connector for the backend system. I have created a destination in the cloud cockpit and I have configured a destination instance in our ABAP Environment tenant in Cloud foundry.

I followed the guide and I have implemented a consumption model, followed by a custom entity together with a Query implementation and a client proxy. For the proxy I have used the code snipped

lo_http_client = cl_web_http_client_manager=>create_by_http_destination( cl_http_destination_provider=>create_by_cloud_destination(

i_name = 'DestinationSystem'

i_service_instance_name = 'destinationCF' ) ).

However the service instance could not be found by the system. So far I could not figure out why the destination instance is not recognised by the system and I was not able to find any explanation showing how a destination instance for the access of an ABAP Environment has to be configured. Has anyone any adice or idea?

Thank you very much!

Kind regards

Markus Adam