1. 程式人生 > >SAP CRM WebClient UI和CRM Fiori Account裡顯示Opportunity邏輯

SAP CRM WebClient UI和CRM Fiori Account裡顯示Opportunity邏輯

我們知道SAP CRM WebClient UI的Account頁面下有一個assignment block名叫opportunities,在SAP CRM Fiori UI裡也有一個opportunities的下拉選單。

I have checked in GM4001/GHD504 with my own user WANGJER, and the result is I could see EQUAL data from these two different UIs.

When I select the Opportunity from MyAccount dropdown list in Fiori for my account JERRYACOUN, I see 8 opportunities:

在這裡插入圖片描述
And in WebUI, I see exactly those 8 opportunities in the assignment block:
在這裡插入圖片描述

And when I click “MyOpportunity” tile in Launchpad, we use the following url to get opportunities list from CRM backend:

https://:7080/sap/opu/odata/sap/CRM_OPPORTUNITY/Opportunities?KaTeX parse error: Expected 'EOF', got '&' at position 7: skip=0&̲

top=20&select=Guidselect=Guid%2cId%2cDescription%2cClosingDate%2cExpectedSalesVolume%2cCurrencyCode%2cProspectNumber%2cProspectName%2cUserStatusCode%2cUserStatusText&inlinecount=allpages&sap-client=001

And if you set a breakpoint on method below in CRM system, you can see that we specified three search parameter to consume 1order search API:

在這裡插入圖片描述

在這裡插入圖片描述
The three parameters means “fetch all OPEN or IN PROCESS Opportunities which fall into given response area’.

RESPONS_AREA = 1 means “My own responsible Opportunities”, RESPONS_AREA = 2 means “My teams’ Opportunities”.

在這裡插入圖片描述

要獲取更多Jerry的原創文章,請關注公眾號"汪子熙":