Symptom
Validation process of time recording in the time sheet of the employee.
Environment
SAP Business ByDesign
Reproducing the Issue
- Go to Home work center.
- Go to Self-Service overview view.
- Click Edit Time Sheet link under session Time.
- 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
- Add a Enhancement Implementation component to your custom solution.
- On field Namespace select http://sap.com/xi/AP/TimeAndLabourManagement/Global.
- On field Business Object select EmployeeTime.
- On field Enhacement Option select Validate Times.
- Under the Enhancement Implementation configured, use the script file VALIDATE.absl to write your logic to add your validations and messages.
- 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