Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 2823

Cross department Reporting Issue in MSS

$
0
0

Dear Experts,

We are facing cross department reporting Issue in MSS. Manager's unable to see employees who are reporting from other departments in MSS under team view.

 

MSS.png

 

We have created the S-S-P evaluation path as shown below to achieve the above requirement.

 

S-S-P.png

We have done the below config steps in OADP( Object and Data Provider ).

 

Step1: In Organizational Chart Visualization created additional Structure MSS_DIR_REPORTS

 

Organizational Chart Visualization.png

 

Step2: Group Organization structure views as shown below.

Group Organization structure views.png

 

 

Step3: Define Organizational Structure Views

Define Organizational Structure Views.png

 

Step4: Define Object Selections for MSS_TMV_EE_DIR

Copied the standard rules MSS_BIZ_RULE1 & MSS_BIZ_RULE2 to Zrules.

Define Object Selections.png

Step5: Define Rules for Object Selection for above ZRules.

 

Rule-ZMSS_BIZ_RULE1

ZMSS_BIZ_RULE1.png

 

Rule - ZMSS_BIZ_RULE2

ZMSS_BIZ_RULE2.png

 

Below is code we have used in function module ZHR_HRWPC_EVAL_PATH

 

data: ls_tab       type swhactor,

         result_tab   type table of swhactor,

         ls_pathroots type hrrootob.

 

   read table root_objects into ls_pathroots index 1.

 

     if sy-subrc = 0.

       call function 'RH_STRUC_GET'

         exporting

           act_otype      = ls_pathroots-otype

           act_objid      = ls_pathroots-objid

           act_plvar      = plvar

           act_wegid      = evpath

           act_begda      = sy-datum

           act_endda      = sy-datum

           act_tdepth     = depth

         tables

           result_tab     = result_tab[]

           result_objec   = result_objec[]

           result_struc   = result_struc[]

         exceptions

           no_plvar_found = 1

           no_entry_found = 2

           others         = 3.

       if result_tab is not initial.

         loop at result_tab into ls_tab.

           root_objects-otype = ls_tab-otype.

           root_objects-objid = ls_tab-objid.

           append root_objects.

         endloop.

       endif.

     endif.

   endfunction.



 

Still its not reflected other department employees in MSS Team view, Please any body guide to resolve the above issue.

 

Thanks

Rajendra


Viewing all articles
Browse latest Browse all 2823

Trending Articles



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