cancel
Showing results for 
Search instead for 
Did you mean: 

Not able to communicate with multiple back end system

Kartheek
Discoverer
0 Kudos

Hello All,

I have an issue while connecting to multiple back end systems via Odata service. I have maintained 3 system alias where one of them is default. The customer landscape uses API management for better governance. I am using Proxy generated from API management. When I am using API generated proxy it is connecting to default system only. How do I connect with other system alias maintained in the gateway. We tried by passing the alias name in the url but it couldn't help.

Could anyone help us with any suggestions?

Regards,

Kartheek.

Accepted Solutions (0)

Answers (2)

Answers (2)

PraveenVarriam
Product and Topic Expert
Product and Topic Expert

Please check this link for dynamic routing to multiple backend systems.

https://answers.sap.com/questions/12981478/gateway-odata-system-alias-based-api-routing-confi.html

Thanks

Praveen Varriam

ElijahM
Advisor
Advisor
0 Kudos

Hi Kartheek,

Can you provide additional details? You state you have 3 system alias in an OData service - does this mean SAP Gateway? How are you attempting to differentiate the systems when passing an OData call? You mention you pass the alias name in the URL , if this is SAP Gateway does this mean you are passing the flag sap-name or another variable?

By default the API Gateway will pass whatever value you provide it - so you would expect to connect to the system aliases in the same way you would do so via a direct OData API call, whether that is sap-name, url, port or whatever is set up. Depending on how this is passed normally you can either pass this in the URL, or set up a route rule.

Regards,
Elijah

Kartheek
Discoverer
0 Kudos

Hello Elijah,

Thanks for the response.

yeah, I have maintained 3 system alias for the OData service in SAP Gateway.

I am trying to pass the system alias as maintained in the gateway in below format.

I understand that in case of OData API call the additional parameter SAP_ORIGIN = ‘System alias is passed in the service URL. So that it routes to the respective system.

But in our case it is not routing to the respective system even though i pass the system alias in API gateway.

As far as the information i have from customer, the Sap-names are also maintained in API management.

Could you please help me if you have any other approach/suggestions?

Regards,

Kartheek.