cancel
Showing results for 
Search instead for 
Did you mean: 

Functional Reporting in Employee Lookup in FIORI

Former Member
0 Kudos

Dear All,

I have a requirement in which along with Direct Reports, I need to display Functional Reporting as well in Employee Look up in FIORI. We are maintaining B016 relationship in OM. Could anyone guide me on the same how to achieve this requirement?

Thanks

Ritesh Shetty

Accepted Solutions (1)

Accepted Solutions (1)

ChrisSolomon
Active Contributor
0 Kudos

It tells you directly in the help information for the app....

"View the employee‘s direct reports"

So your option is then to extend/enhance if possible.

Did you look through your options as discussed here->>> App Extensibility: Employee Lookup - SAP Fiori 1.0 for SAP ERP HCM - SAP Library

Former Member
0 Kudos

Thank you Christopher for your reply. Yes I have explored the BADI however I was looking for options if we can achieve it through OADP configuration or maintaining any specific evaluation paths.

Is it possible to achieve this requirement through OADP settings?

Regards

Ritesh

siddharthrajora
Product and Topic Expert
Product and Topic Expert
0 Kudos

check SAP Note 2207353 configurable search fields (via new BAdI HCM_B_EMPLOYEE_LOOKUP) - configurable evaluation path for direct reports determination (via new BAdI HCM_B_EMPLOYEE_LOOKUP) 2290135 - Employee Lookup (ODATA):

Search results and hierarchy data displayed inconsistent Moreover, the SAP standard implementation HCM_BI_EMP_LKP_05 of the BAdI HCM_B_EMP_LKP ("BAdI for Employee Lookup") that is already available now provides a new BAdI HCM_B_EMPLOYEE_LOOKUP with which you can make customer-specific adjustments to the following two points:

•Definition of the evaluation method used for the "Direct Reports"

◦In the standard SAP system: Evaluation path MSSDIREC •Definition of the infotype fields to be searched during the search ◦In the standard SAP system: Fields P0001-ENAME, P0001-SNAME, P0000-PERNR)

Due to the inflexible use and integration of the "Object and Data Provider" (OADP), OADP has been completely removed from the ODATA implementation of the app. The relevant data is now read from the HCM system directly using the function module BAPI_EMPLOYEE_GETDATA. Y

ou can see it in Class:  CL_HCM_EMPLOYEE_LOOKUP_BL  method GET_DIRECT_REPORTS:   CALL  FUNCTION  'HRWPC_GET_PATHROOTS'     EXPORTING       otype                    =  'P'       objid                    =  lv_realo       plvar                    =  gv_plvar        Returns.

If the user isn´t managing any org. unit, an exception 'no_roots_found' will be returned and we return from method  GET_DIRECT_REPORTS of class  CL_HCM_EMPLOYEE_LOOKUP_BL.

Former Member
0 Kudos

Dear Siddharth,

First of all I would like to mention I am really obliged to get a response from ESS/MSS Guru himself. Out of 10 queries on ESS atleast 7 of them has been answered by you. You are a real expert!

In reference to my query, thanks for helping me out with the notes and BADI. I would like to know that under EMPLOYEE LOOKUP my client has a requirement to view DIRECT REPORTEES as well as Functional Reportees BOTH. Functional reportees we are maintaining through A016 relationship.

If we create a Custom evaluation path then through this BADI can we pass both the Evaluation paths i.e. MSSDIREC and our Custom Evaluation Path?

Kindly advice!

Ritesh

siddharthrajora
Product and Topic Expert
Product and Topic Expert
0 Kudos

You are welcome, i would recommend to explore the BADI and note it allow only one evaluation path ie MSSDIREC, you can however add your 016 in MSSDIREC or make a z one consisting of both above requirements? or check with in code if this can be achieved,

Answers (0)