4/23/2017 ConnectingtoMultipleECCsystemsviaoneGatewaysystem(DynamicSystemSelection)
(https://www.sap.com/index.html)
GetStarted(https://www.sap.com/community/gettingstarted.html)
(https://onedx.find.sap.com)
Solutions (https://www.sap.com/solution.html) Support (https://www.sap.com/support.html)
Training (https://www.sap.com/training-certication.html) Community (https://www.sap.com/community.html)
Developer (https://www.sap.com/developer.html) Partner (https://www.sap.com/partner.html)
About (https://www.sap.com/about.html)
Community (http://go.sap.com/community.html) / Archives(/) / DiscussionsArchive(/discussions) / SAPNetWeaverGatewayDeveloperCenter
Archiveddiscussionsarereadonly.LearnmoreaboutSAPQ&A(https://go.sap.com/community/about/questionsandanswers.html)
(/discussions/space/developercenter/netweavergateway) / ConnectingtoMultipleECCsystemsviaoneGatewaysystem(DynamicSystemSelection)
ConnectingtoMultipleECCsystemsviaoneGateway
system(DynamicSystemSelection)
HiExperts,
WehavemultipleECCsystemsandoneGatewayserver.WewanttoconnecttothesedifferentECCsystemsusingoneGWsystem.
IhavecreatedSystemAliasesfortheseECCsysteminGWsystem.Foraservice,iadded2systemaliases.
NowwearelookingforthesolutionwhereUIcanprovidethesystemalias(itwantstoconnect)asaparameterwhilecallingoDataService.
Pleasehelp.
https://archive.sap.com/discussions/thread/3517468 1/4
4/23/2017 ConnectingtoMultipleECCsystemsviaoneGatewaysystem(DynamicSystemSelection)
Regards,
Rohit
(https://people.sap.com/rohit.choudhary)
RohitChoudhary(https://people.sap.com/rohit.choudhary)
April04,2014at15:22PM
0Likes
HelpfulAnswerbyRonSargeant(/discussions/message/14864565#14864565)
Notwhatyouwerelookingfor?Viewmoreonthistopic(https://go.sap.com/community/tag.html?id=01200615320800003185)or
Askaquestion(https://answers.sap.com/questions/ask.html?primaryTagId=01200615320800003185)
2 replies
HelpfulAnswer
RonSargeant(https://people.sap.com/ron.sargeant2)replied March11,2014at16:20PM
(https://people.sap.com/ron.sargeant2)
HiRohit,
Shouldthisnotbedeterminedbytheservicename?Theservicenameisboundtoan
alias(backend),thereforeuniqueservicenamesareequivalenttologginginto
"backendinstancex".
https://archive.sap.com/discussions/thread/3517468 2/4
4/23/2017 ConnectingtoMultipleECCsystemsviaoneGatewaysystem(DynamicSystemSelection)
Idon'texpectserviceconnectiondetailstobepassedthroughbytheGateway,
consumersshouldbeagnosticoftheprovisionsource(s).ThisallowsGateway
administratorstoredefinethebackendendpointswithoutchangingthepublished
Gatewayinterface.
TheremaybeawaytodothisbutIdon'treallyseeacommonusecaseforit.
Regards
Ron.
HolgerNeven(https://people.sap.com/nevenhol)replied April04,2014at15:24PM
(https://people.sap.com/nevenhol)
HiRohit,
wehaveasimilarscenariowherewehavetwosystemaliasesforoneservice.Bothaliases
pointtothesamesystem,butdifferentclientsitshouldnotmakeadifferencethough,
havingdifferentsystems.ThefeatureyouarelookingforisMultipleOriginComposition
(MOC).
Thereareacoupleofthingsyouhavetoconsider:
intheSEGWtheentitytobecalledhastobemarkedasaddressable
theURIoftheserviceneedstoincludethetagforMOC(mo)>
http://sapgw.domain.org:8000/sap/opu/odata/sap/ZSOME_SERVICEmo/entityset
(http://sapgw.domain.org:8000/sap/opu/odata/sap/ZSOME_SERVICEmo/entityset)
Withoutthemothecallwillberoutedtoyourdefaultalias.Themowillroutethecalltoboth
systems.UsingMOCwillgenerateanadditionalkeypropertyintoyourentities>
SAP__ORIGIN.Thepropertyisthealias.Ifyouwanttoroutetoaspecificsystemyouhave
toprovidetheSAP__ORIGINlikeprovidingnormalkeypropertiesinyourrequests.
https://archive.sap.com/discussions/thread/3517468 3/4
4/23/2017 ConnectingtoMultipleECCsystemsviaoneGatewaysystem(DynamicSystemSelection)
Thiswilllooklikethis:
<contenttype="application/xml">
<m:properties
xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata
(http://schemas.microsoft.com/ado/2007/08/dataservices/metadata)"
xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices
(http://schemas.microsoft.com/ado/2007/08/dataservices)">
<d:SAP__Origin>SOME_ALIAS</d:SAP__Origin>
<d:Identifier>SOME_IDENTIFIER</d:Identifier>
<d:Doublet/>
</m:properties>
</content>
TheoriginalEntityonlyconsistsofthekeyproperty"Identifier"andtheproperty"Doublet".
"SAP__ORIGN"isaddedviathemo.
Hopeithelped...
Holger
Share & Follow
(https://www.facebook.com/sapcommunity) (https://twitter.com/SAPCommunity) (https://www.youtube.com/c/SAPCommunities)
(https://www.linkedin.com/company/sap) (https://plus.google.com/+SAPCommunities) (https://instagram.com/sap/) (http://www.slideshare.net/SAP)
Privacy(http://go.sap.com/about/legal/privacy.html) TermsofUse(http://go.sap.com/corporate/en/legal/termsofuse.html) LegalDisclosure
(http://go.sap.com/about/legal/impressum.html) Copyright(http://go.sap.com/about/legal/copyright.html) Trademark(http://go.sap.com/about/legal/trademark.html) Sitemap
(http://www.sap.com/sitemap/index.html) Newsletter(https://go.sap.com/registration/newsletter.html)
https://archive.sap.com/discussions/thread/3517468 4/4