SAP CRM WebClient UI和CRM Fiori应用里Opportunity的显示过滤逻辑

88 阅读1分钟

In Fiori My Opportunities application, as mentioned by my previous mail, only those which fulfill the following three selection parameters will be displayed in the master list in Fiori.

在这里插入图片描述
For example, if I change the status of Opportunity “testJerry2” from “open” to “lost”:

在这里插入图片描述
However, it is still displayed in WebUI:

在这里插入图片描述
And in your MyAccount Fiori:

在这里插入图片描述

And in your Fiori Application, when you select “Opportunity”, there are two requests sent to backend:

HTTP请求1:https://:7080/sap/opu/odata/sap/CRM_BUPA_ODATA/AccountCollection(‘JERRYACOUN’)/Opportunities/$count?sap-client=001

Response: 8 – this count is used in #2 to get opportunity detail data:

HTTP请求2:

GET AccountCollection(‘JERRYACOUN’)/Opportunities?KaTeX parse error: Expected 'EOF', got '&' at position 7: skip=0&̲top=8& o r d e r b y = c l o s i n g D a t e orderby=closingDate%20desc& orderby=closingDateexpand=MainContact%2cMainContact%2fPhoto&sap-client=001&sap-client=001 HTTP/1.1

So if you would like to know why “We are never able to pull out any opportunities.” In customer system, you can debug the implementation of #1 to know why. ( Odata: CRM_BUPA_ODATA )

要获取更多Jerry的原创文章,请关注公众号"汪子熙":