天天看點

How my opportunity works - my team and my group

I log on with WANGJER and can see those opportunities not only belong to me but also from my other colleagues. Why?

How my opportunity works - my team and my group

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

How my opportunity works - my team and my group

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

How my opportunity works - my team and my group

We can find this CP in table HRP1000:

How my opportunity works - my team and my group

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

How my opportunity works - my team and my group

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

How my opportunity works - my team and my group

This unit could be found from WebUI:

How my opportunity works - my team and my group

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

How my opportunity works - my team and my group

For example, position 50001701:

How my opportunity works - my team and my group

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

How my opportunity works - my team and my group

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

How my opportunity works - my team and my group

156 CP are found:

How my opportunity works - my team and my group

Then Opportunities belong to these 156 CP are searched

How my opportunity works - my team and my group

繼續閱讀