Quantcast
Channel: SCN: Message List - SAP CRM: Webclient UI - Framework
Viewing all articles
Browse latest Browse all 7775

Re: How can I do it for obtein my manager by police rules in CRM?

$
0
0

Hi Carlos,

 

You have the possibility of reading the manangers as assigned in tcode : PPOMA_CRM , by using the methods in class : CL_CRM_PPM_UM_TOOLKIT.

 

You can use them in this order:

 

1. Get the positions in org unit to which user is assigned : GET_POSITION_OF_USER.

2. Get the org unit of each of those positions in step 1. : GET_ORGUNIT_OF_POSITION

3. For each org unit in step 2, get all positions : GET_POSITIONS_OF_ORGUNIT

4. Of all fetched positions , check which is manager position : CHECK_POSITION_FOR_MANAGER

5. Of the position on which 4. return true : GET_USERS_ASSIGNED_TO_POSITION

 

/Hasan


Viewing all articles
Browse latest Browse all 7775

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>