on 10-21-2011 10:53 AM
Hi,
If you've defined a GW Data Model based on a Data source - RFC and system alias LOCAL, can you subsequently change the system alias to one of the connected backend SAP Business Suite systems?
Can the system alias be specified at runtime to point the ODATA request to a different system for the same GW Consumption Model?
-Paul
Hi Paul,
Yes you could change the RFC destination of a system alias in the configuration to point to a remote SAP Business Suite System. And each System Alias is associated with a software version of the SAP business suite system.
A service is generally configured with
A) User Roles
B) System Alias
From these two parameters software version of the SAP Business Suite System is determined and from that the appropriate Data Provider class for your service is invoked during runtime.
Regards
Chandan VA
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Chandan V.A ...
Can you please let me have some more information on this.. How to define aliases in N/w gateway system and How can I route to the R/3 system from gateway at runtime dynamically..
Ex:- I have 3 R/3 systems which are connected to a single gateway system. So, I will create 3 aliases for these three R/3 systems respectively.. whenever I call from the frond end application, I should be able to fetch the data from any of these 3 R/3 systems based upon my choice.. Can you please let me know , How could i achieve it..
Your answer will really be appreciated..
You need to use the feature Muliti Origin Composition provided by SAP NW Gateway. You can get the information at
http://help.sap.com/saphelp_nw74/helpdata/en/bc/f72651c294256ee10000000a445394/content.htm
If you have more than one System aliases then you can use "mo" as in
http://<host name>:<port>/sap/opu/odata/iwfnd/RMTSAMPLEFLIGHT;mo/FlightCollection
To get the Flight Collection form all the systems.
if you want from a particular system use ?$filter=SAP__Origin eq 'System Alias Name' .as in
http://<host name>:<port>/sap/opu/odata/iwfnd/RMTSAMPLEFLIGHT;mo/FlightCollection?$filter=SAP__Origin eq 'ALIAS'
This will give the data inly from the backend system "ALIAS".
I hope I have answered your question.
Thanks & Regards,
Mohan
I have gone through the link you have shared and found it is very much helpful.. But while consuming the service from the browser as mentioned in the link shared by you, I am getting an error.. Can you please let me know, how could I resolve it..
The error I am getting is "No Service found for namespace/IWFND/,name ZTEST_STOREROOM_SRV, version 0001"
Even I have gone through /IWFND/Error_log but couldn't resolve..
Please find the attached screen shot..
Hello jitendra kansal...
I have gone through the link you have shared and found it is very much helpful.. But while consuming the service from the browser as mentioned in the link shared by you, I am getting an error.. Can you please let me know, how could I resolve it..
The error I am getting is "No Service found for namespace/IWFND/,name ZTEST_STOREROOM_SRV, version 0001"
Even I have gone through /IWFND/Error_log but couldn't resolve..
Can you please let me know, how to get this resolved.. For more information, please read above conversations...
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
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.