how is OData url select option implemented in the backend

简介: Created by Jerry Wang, last modified on Sep 22, 2015

Created by Jerry Wang, last modified on Sep 22, 2015

使用如下url 进行测试:

https://:4080/sap/opu/odata/sap/CRM_OPPORTUNITY/Opportunities?KaTeX parse error: Expected 'EOF', got '&' at position 22: …=Id,Description&̲top=1

返回结果只包含request的id和description:

image.png


但是在backend返回给gateway的entity response里,包含了整个opp header的所有数据:

image.pngimage.png

 

那么这个selection的filter只能是在gateway上做的:


image.pngimage.pngimage.pngimage.png

 

lo_expand_select包含我们url传入的id和description信息:

image.png


lo_expand_select包含我们url传入的id和description信息:

image.pngimage.png

 

在这里指定只将id和description这两个property写回http response里:

image.png

相关文章
|
2月前
|
Java Spring
成功解决Initialization failed for ‘https://start.spring.io‘ Please check URL, network and proxy settings
这篇文章提供了解决Spring Initializr网站初始化失败问题的方法,包括检查URL、网络和代理设置。
成功解决Initialization failed for ‘https://start.spring.io‘ Please check URL, network and proxy settings
|
5月前
|
Java Spring
Initialization failed for 'https://start.spring.io' Please check URL, network and proxy settings.
Initialization failed for 'https://start.spring.io' Please check URL, network and proxy settings.
838 0
解决requests.exceptions.MissingSchema: Invalid URL ‘xxx‘: No schema supplied. Perhaps you meant“xxx”
解决requests.exceptions.MissingSchema: Invalid URL ‘xxx‘: No schema supplied. Perhaps you meant“xxx”
423 0
成功解决404 Not Found Not Found The requested URL was not found on the server. If yo
成功解决404 Not Found Not Found The requested URL was not found on the server. If yo
how is OData url select option implemented in the backend
how is OData url select option implemented in the backend
118 0
how is OData url select option implemented in the backend
SAP Fiori Elements Service Order edit - why no http request sent
SAP Fiori Elements Service Order edit - why no http request sent
96 0
SAP Fiori Elements Service Order edit - why no http request sent
How is navigation target url request handled by backend
How is navigation target url request handled by backend
247 0
How is navigation target url request handled by backend
Fiori Elements detail table data request logic
Fiori Elements detail table data request logic
118 0
Fiori Elements detail table data request logic
CL_FXS_URL_DATA_FETCHER - a good utility to fetch picture binary data according to url
CL_FXS_URL_DATA_FETCHER - a good utility to fetch picture binary data according to url
104 0
CL_FXS_URL_DATA_FETCHER - a good utility to fetch picture binary data according to url