Show TOC

Function documentationLeave Request

 

This function enables you to control the processing of leave requests and other absences. The function comprises the entire leave request process. The process starts with the creation of a leave request and the processing of it, before it is finally posted to the backend system.

The interfaces used by employees and managers when they process leave requests are Web Dynpro applications that belong to Employee Self-Service (ESS) and Manager Self-Service (MSS).

Prerequisites

  • You have integrated the Web applications with the relevant portal pages. For more information, see the Business Package for Manager Self-Service (MSS).

  • You have set up the Web application in Customizing. For more information, see Customizing under Start of the navigation path Personnel Management Next navigation step Employee Self-Service (Web Dynpro ABAP) Next navigation step Service-Specific Settings Next navigation step Working Time Next navigation step Leave Request. End of the navigation path

  • You have made the following settings in the Communication infotype (0105) for all employees:

    • You have specified the system user name in subtype 0001 (System User Name SAP System (SY-UNAME)).

    • You have stored the e-mail address in the subtype 0010 (E-Mail).

Features

  • The Leave Request function comprises the following areas:

    • Creation of leave request by employee

    • Forwarding of request to manager for approval

    • Controlling the deletion and cancellation processes

    • Status tracking and monitoring

    • Posting of absences to the backend system

    • Running reports and test applications to control processes and the database

  • The Leave Request application comprises the following services that are tailored to the needs of employees and managers and provide practical contextual information:

    • Create Leave Request: The service for employees who want to request, change, or cancel leave.

      Note Note

      End of the note.

      You can use this function only if your employees enter their own leave requests in Employee Self-Service (Web Dynpro ABAP). It is not suitable if you have time administrators who record absences.

    • Leave Overview: The service for employees who want to display their leave requests, and review, change, or cancel existing leave or other types of absences.

    • Approve Leave Request: The service for managers who want to approve the leave requests.

      Note Note

      End of the note.

      You do not have to implement this Web Dynpro application. Alternatively, you can use a simple backend report.

  • Your employees can use the Leave Request service to request both absences (infotype 2001) and attendances (infotype 2002). This means that you can also process records of the Attendances infotype (2002) that have the quality of an absence in your company, such as training courses.

  • The Leave Request application has automatic control of the processing process. You can make Customizing settings for groups of employees to control aspects such as:

    • Which absence and attendance types employees are permitted to request.

    • The periods before and after an absence during which employees are permitted to request leave in advance or retroactively. You can define different periods for different absence/attendance types.

    • The actions an employee is permitted to carry out. For example, you can specify whether an employee is permitted to change or delete an absence that has already been approved.

  • Several reports are available in the backend system to control the processing. The reports send e-mails to employees to notify them of the status of their leave request. Approvers and time administrators are notified of leave requests that they have to process.

    You can schedule the reports as a periodic background process. If you want to use SAP Business Workflow, the same reports are processed with the corresponding workflow tasks. For more information about the workflow, see General Workflow for Documents.

  • You can use Business Add-Ins (BAdIs) to customize the application to suit your requirements. For example, they enable you to adjust the processing process to suit your needs, or import and change data.