SAP Knowledge Base Article - Public

2568317 - How to Add Custom Validations and Messages to Time Sheet Validation for Employee

Symptom

Validation process of time recording in the time sheet of the employee.

Environment

SAP Business ByDesign

Reproducing the Issue

  1. Go to Home work center.
  2. Go to Self-Service overview view.
  3. Click Edit Time Sheet link under session Time.
  4. Configure the activities, jobs and time that the employee will work and release it by clicking Release button.

You want to add custom validations and messages based on the Employee Time Sheet provided, but you do not know how or the current development made is not working as expected.

Cause

Additional validations and messages during the validation of the Employee Self-Service Overview Time Sheet can only be achieved by creating and configuring an Enhancement Implementation within a custom solution using the SDK.

Resolution

  1. Add a Enhancement Implementation component to your custom solution.
  2. On field Namespace select http://sap.com/xi/AP/TimeAndLabourManagement/Global.
  3. On field Business Object select EmployeeTime.
  4. On field Enhacement Option select Validate Times.
  5. Under the Enhancement Implementation configured, use the script file VALIDATE.absl to write your logic to add your validations and messages.
  6. Under the Enhancement Implementation configured, use the BADI filter component ABCDEF.flrt to configure the conditions based on parameters.

Keywords

Enhancement Implementation; http://sap.com/xi/AP/TimeAndLabourManagement/Global; EmployeeTime; Validate Times; Time Sheet; , KBA , AP-RC-BDS-EXT , ByDesign Studio Extensibility , SRD-HR-TLM , Time and Labour Management , How To

Product

SAP Business ByDesign all versions