cancel
Showing results for 
Search instead for 
Did you mean: 

How to expose same name ODATA service from different backend in gateway

Former Member
0 Kudos

Hello ,

I have a WF service at the gateway backend which I am able to expose to get the workflow tasks.

There is another backend where Iam having the same name odata service and I want to expose that too from the same gateway.

Bsically we are not able to expose two different ODATA service from two different backend with the same name in one gateway.

Please let me know how can I achive this.

Regards,

sunny singh

Accepted Solutions (1)

Accepted Solutions (1)

AshwinDutt
Active Contributor
0 Kudos

Hello Sunny,

You need try to use Multiple Origin Composition concept here.

You can have different System Alias pointing to different back-end system in GW System with separate RFC Destinations.

Assign these System Alias to the GW Service ( one System Alias would be defaulted ) and now using System Alias ( SAP_Origin Parameter ) Name in the URL you can specify which back-end it should hit and get data.

Multiple Origin Composition - SAP Gateway Foundation (SAP_GWFND) - SAP Library

Regards,

Ashwin

Answers (2)

Answers (2)

Former Member
0 Kudos

Thank you Ashwin.

It works for me.

Jitendra_Kansal
Product and Topic Expert
Product and Topic Expert
0 Kudos

Discussion has been moved from SMP Developer Center to SAP Gateway