on 02-16-2016 6:54 PM
HI Gurus,
As of now we have single Gateway server where (we do GW config as well as coding to access back end ) connected with our back end SAP server development , Quality and production via RFC destination ..
How do I dynamically connect to different server ?
For example , if I make all three (dev, qs, prd ) as default in system alias, will I be able to connect to different back end dynamically ?
Appreciate your help..
Kind regards
Shiv..
You can try out Multi Origin capability of Gateway.
You need to configure three system aliases pointing to three different backend systems marking one as default.
To get data from a specific backend you need to pass ;o=<SYSTEM ALIAS FOR TARGET SYSTEM> while calling the OData service. Here 'o' stands for Origin.
Example:
/sap/opu/odata/IWFND/RMTSAMPLEFLIGHT;o=N78_400_BEP/CarrierCollection
Read more at
Multiple Origin Composition - SAP Gateway Foundation (SAP_GWFND) - SAP Library
However I think it is not a very good idea to have only one Gateway server for all cases.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Atanu ,
Thanks
When I make my Quality system as Default , and I would expect the Odata will extract data from Quality system ...
But instead I am getting error 500 , internal server error
------------------------------------
<?xml version="1.0" encoding="utf-8" ?>
</Error_Resolution>
</innererror>
</error>
-----------------------------
Appreciate your help ..
Kind regards
Shiv
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.