Hi All,
We are having A002 based reporting structure ( no A012 relationship maintained).
In General information there is a Iview for employee search.
When we execute this search ( say using pernr), search does not return any values.
Now if I maintain A012 relationship between Organization unit and the managerial position then this search works fine.
My question is:
1. Is issue related to structural authorization?
2. Do i need to maintain some entry in T77S0 table?
3. Or do I need to implement Z search class in Object and Data provider similar to CL_HRWPC_SEARCH_VIA_SELID?
Any help would be highly appreciated.
Thanks and warm regards,
Aditya
No the issue here is evaluaiton path what shall be used cause as you see
This iView displays the employees in the manageru2019s area of responsibility, that is, employees who report either directly or indirectly to the manager. The display is based on the SAP application component Organizational Management.
so check the properties of the iview ie
Group of organizational structure views
sap.xss.tmv.orgviewgroup
Administrator
Optional
Organizational structure view group, for example MSS_TMV_EE, stored in Customizing.
Individual organizational structure view
sap.xss.tmv.orgview
Administrator
Optional
Organizational structure view, for example MSS_TMV_EE_DIR, stored in Customizing
ie check Function module HRWPC_GET_DIREPS_OF_LEVEL_1
(Rule MSS_TMV_RULE1 uses evaluation path SAP_MANG and rule MSS_TMV_RULE5
uses evaluation path MSSDIREC.)
http://help.sap.com/erp2005_ehp_04/helpdata/EN/2e/5a5d45d9f24fbdb06be2ff53651c3e/frameset.htm
You can use your own evaluation path to accomodate your a012 relationship ie using OADP
modify sap_mang to return your relationship
https://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=190743879
HRWPC_OADP_GET_SEARCH_ROOTS calls HRWPC_GET_PATHROOTS
Dear
Check the following document.
http://www.slideshare.net/Juanfe1978/mss-new-objectdataprovideroadp
Regards
Add a comment