how is OData url select option implemented in the backend
生活随笔
收集整理的這篇文章主要介紹了
how is OData url select option implemented in the backend
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
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:
但是在backend返回給gateway的entity response里,包含了整個opp header的所有數據:
那么這個selection的filter只能是在gateway上做的:
lo_expand_select包含我們url傳入的id和description信息:
lo_expand_select包含我們url傳入的id和description信息:
在這里指定只將id和description這兩個property寫回http response里:
要獲取更多Jerry的原創文章,請關注公眾號"汪子熙":
總結
以上是生活随笔為你收集整理的how is OData url select option implemented in the backend的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 试算平衡的理论依据是
- 下一篇: 无缘无故银行卡被冻结了怎么回事 银行卡无