How my opportunity works – my team and my group
- 2019 年 10 月 5 日
- 筆記
版權聲明:本文為部落客原創文章,遵循 CC 4.0 BY-SA 版權協議,轉載請附上原文出處鏈接和本聲明。
本文鏈接:https://jerry.blog.csdn.net/article/details/101000888
I log on with WANGJER and can see those opportunities not only belong to me but also from my other colleagues. Why?

First get CP ID 50064160 from User WANGJKER via FM CRM_CENTRALPERSON_GET:

The CP id is query based on relationship table HRP1001 by specify SOBID = WANGJER

We can find this CP in table HRP1000:

Then find this CP's organization unit via function module in line 63:

From result we knows CP 50064160 belongs to organization unit 50000003:

This unit could be found from WebUI:


From HRP1001 we can also find which positions this CP are in ( relationship 008 ):

For example, position 50001701:

We can double confirm in webUI that my user is assigned to this position:

Here find all other CPs who are also in the same organization unit with WANGJER:

156 CP are found:

Then Opportunities belong to these 156 CP are searched.