cancel
Showing results for 
Search instead for 
Did you mean: 

How to dynamically choose a destination when calling an OData Provisioned cloud service

BrendanFarthing
Participant

Hi,

I am using OData Provisioning on the SAP Cloud Platform connected to backend ERP systems that have the IWBEP component only (Netweaver 7.31).

Our backend ERP systems have multiple clients, separated by different regional user groups.

When I register an OData Service in OData Provisioning I set multiple destinations representing each client against the service. One of them is set as default.

For example, I have destination A (default) which goes to client 100, destination B which goes to client 200 and destination C that goes to client 300, all on the same backend system.

If I call the OData Provisioned service URL on the cloud platform it will pull data from the default destination. No problem.

My issue/question is - how can I call the service with the other destinations if I want data separately from the other destinations/clients? Is there a URL parameter where I can set something like "?Destination=B" ?

I could not find anything in the standard documentation.

Note that I do not want to do multi origin where I call all destinations assigned to the service and combine the data together. I want to be able to call a nominated destination, and only that destination, each time I call the service URL.

Thanks,

Brendan

ben_mignon
Discoverer
0 Kudos

Hi Brendan,

Did you find a solution for your issue ?

Thank you,

Benoît

former_member686240
Discoverer
0 Kudos

Hi,

Any luck with finding a solution for this?

Regards,

Gopal.

Accepted Solutions (1)

Accepted Solutions (1)

Ivan-Mirisola
Product and Topic Expert
Product and Topic Expert

Hi Brendan,

I believe this is what you are looking for:

Example: http://<hostname>/odata/<namespace>/<servicename>;<version>;o=sid(ABC.100)/<entityset>;

Where ABC is the system ID and 100 is the client. For more information on prerequisites, refer to Multi Origin Composition.

Regards,
Ivan

Answers (0)