Technology Blogs by SAP
Learn how to extend and personalize SAP applications. Follow the SAP technology blog for insights into SAP BTP, ABAP, SAP Analytics Cloud, SAP HANA, and more.
cancel
Showing results for 
Search instead for 
Did you mean: 
sagarmehta
Product and Topic Expert
Product and Topic Expert

The first step is to install the components and activate the service for timesheet approval (SRA010). You can find more information regarding this in the following SCN blog by Masayuki Sekihara.

 

SAP Fiori - Configuration

The Fiori Approve Timesheet application uses Object and Data Provider (OADP) framework to identify the manager and employee relationship. By default SAP provides an organizational structure view MSS_LCA_EE which uses the evaluation path MSSDIREC to identify the employees reporting to him/her. This will return a list of all employees working in the same organizational unit as the manager.

There are two main customizing’s used in approve timesheet application

     1. Select employees for approval

        The customizing is located under Go to SPRO transaction(IMG) -> Cross-Application Components -> Time Sheet ->

        Specific Settings for CATS regular -> CATS regular -> Approve Working Time -> Select Employees
       
          a. Create Rule Groups- Specify the groups of employees for which different customizing’s are needed (e.g. Leave and Timesheet applications).

          b. Select Employees for Approval- you specify the employees for whom an approver is responsible. The SAP default Group of Organizational Views                is MSS_LCA_EE. Create a new entry in this view for required Rule Group and Mode as CATS Approval.

             

     2. Object and Data Provider customizing

       The customizing to setup OADP can be found Business Packages / Functional Packages -> Manager Self-Service (mySAP ERP) ->

        Object and Data Provider

       

           a. Go to Group Organizational Structure Views– check the default customizing MSS_LCA_EE. In Fiori only one sub-view is read, the one which is in a                lower position (for e.g. MSS_LCA_EE_DIR which is in the first position).

              

           b. Go to Define Organizational Structure Views– here you will be able to see the object selection configured (for e.g. MSS_LCA_EE_DIR).

               

          c. Under the Object Selection section Go to Define Object Selection– here you will find the two rules that are used to find the root object and the                target objects (i.e. for us the employee list).

              

          d. Go to Define Rules for Object Selection– Open MSS_LCA_RULE5, this is evaluation path used to identify a managers direct reporters.

              

One way to test the customizing’s, is to run method GET_TEAM of the class CL_PT_REQ_TEAM. For e.g.


15 Comments