how does gateway framework treat default system flag in customizing
gateway in system How Framework does Default flag
2023-09-14 09:02:51 时间
Suppose we have maintain multiple backend system as “default” in customizing:
![](https://user-images.githubusercontent.com/5669954/59421007-76747a80-8e00-11e9-88e5-4ed808468f57.png)
in the runtime, for a given service, ONLY exactly one system alias will be chosen.
![](https://user-images.githubusercontent.com/5669954/59421009-76747a80-8e00-11e9-85e6-35648d3b522f.png)
The logic is, firstly all configured system alias will be retrieved together:
![](https://user-images.githubusercontent.com/5669954/59421010-770d1100-8e00-11e9-8784-a5c6ab1d0a74.png)
![](https://user-images.githubusercontent.com/5669954/59421011-770d1100-8e00-11e9-8376-658bfb5f2de1.png)
And if none of those alias is marked as default, exception will be raised;
If multiple have default maintained, only THE FIRST one will be returned ( line 29~31 )
![](https://user-images.githubusercontent.com/5669954/59421013-77a5a780-8e00-11e9-8355-81e0fc6ea687.png)
This is the reason if I try to search one Opp with description QHD ( which is actually created in system QHD ) in gateway system which have configured both QHA and QHD as default but QHA is the first one, no result will be returned.
![](https://user-images.githubusercontent.com/5669954/59421014-77a5a780-8e00-11e9-9669-fad8c39daa0c.png)
Just simply because gateway only issues a backend request to QHA, but not for QHD.
![](https://user-images.githubusercontent.com/5669954/59421015-77a5a780-8e00-11e9-91f6-bf241b440b59.png)
![](https://user-images.githubusercontent.com/5669954/61616089-2a87e180-ac9a-11e9-861d-c29c2cf897af.png)
相关文章
- [AWS] Serverless: API Gateway
- when is json data formatted in gateway
- Control currency conversion in gateway
- SAP ABAP Gateway 系统里 HTTP 请求响应头部字段 DataServiceVersion 的可能取值范围
- SAP Gateway 里的 REST 概念
- SAP Gateway 在开发系统和生产系统上的缓存控制
- SAP OData 服务在 gateway 层出错,应该如何处理?通过一个错误消息 Query XXX is invalid or contains errors 来举例说明
- SAP Fiori gateway OData开发重要的tcode SEGW背后的数据库表
- Filter handling in SAP gateway
- view detail data in gateway error log
- SAP gateway的307重定向
- gateway调用后台系统时选择RFC的决定逻辑
- SAP Gateway currency conversion utility
- 如何通过Fiori后台调试的方式找到gateway系统的ID
- SAP ABAP Gateway Client 里 OData 测试的 PUT, PATCH, MERGE 请求有什么区别
- OData model cache logic in gateway system
- filter operation implementation in Gateway framework
- Day 30 - 实作 Amazon API GateWay 整合 AWS Lambda 与 Dynamodb
- SpringCloud Alibaba微服务第6章之Gateway