Skip to Content

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


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.



Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Dec 22, 2017 at 06:28 PM

    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.


    Add comment
    10|10000 characters needed characters exceeded