The point-to-point replication of planned working time (PWT) allows replicating the planned working times of an employee from the EC system to the EC Payroll system. Via this replication, the planned working times of an employee are stored for each day in infotype 2003 "Substitutions" of EC Payroll. It is thus not necessary to create a real work schedule in the EC Payroll system, which would also require keeping this work schedule synchronous with the corresponding work schedule in the EC system.
Nonetheless, infotype 0007 "Planned working time" of EC Payroll requires specifying a work schedule rule. It is therefore necessary to define a dummy work schedule in the EC Payroll system. The work schedule rule of this dummy work schedule is then assigned to employees in infotype 0007 via the master data replication from EC to EC Payroll.
The KBAs 2906872 and 2914265 describe how to setup a dummy work schedule in EC Payroll and how to assign it in infotype 0007. The resulting planned working times are then overridden by the planned working times stored in infotype 2003. Thus, when the system determines the planned working times of an employee, for example, via function module HR_PERSONAL_WORK_SCHEDULE, the correct values are returned.
Besides the work schedule rule, infotype 0007 also stores the following additional fields:
- Part-time work indicator
- Employment percentage
- Average hours per day
- Average hours per week
- Average hours per month
- Average hours per year
- Days per week
The standard logic of infotype 0007 does not allow master data replication to fill all these fields from the data in EC. Instead, some of these fields are calculated by the standard logic of infotype 0007 based on the content of the other fields and based on the average hours stored with the work schedule rule.
However, this poses a challenge. The dummy work schedule rule - by its very definition - cannot contain meaningful values for average hours.
This KBA describes a solution for filling the fields for average working hours of infotype 0007 based on a BAdI implementation. This solution can be used for release 1H 2020 (EA-HR SP 82). For release 2H 2020 (EA-HR SP 86), the logic of infotype 0007 was enhanced. Starting with that release, it is no longer necessary to use a BAdI to fill the average working hours fields. A solution applicable starting with release 2H 2020 (EA-HR SP 86) is described in KBA 2984800.
- Employee Central Payroll
- Time management integration scenario
- Release 1H 2020 (EA-HR SP 82)
KBA , LOD-EC-GCP-TIM , Time Data Replication , How To
About this pageThis is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).
Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.