Symptom
The availability of a resource on app 'Plan Customer Projects' (or 'Plan Internal Projects') does not subtract the leave days of an employee from the total of available days/hours that the employee has.
Environment
SAP S/4HANA Cloud Public Edition
Reproducing the Issue
- Open app 'Plan Customer Projects;
- Search for a project and click on Edit;
- Go to the Work Packages tab and select a Work Package;
- Choose an unstaffed role and click Add Resource;
- Search for a resource that has posted a leave;
- Click on Availability.
Cause
This is the standard behavior of the system when not using scope item 1KC.
Resolution
When not using scope item 1KC, the availability is calculated in the following way (also described in Scope item J11, Item 4.4):
- The Weekly Working Hours maintained for the employee is reed using CDS view I_PERSONWORKAGRMTPLNDWRKGTIME;
- For example, take the Weekly Working Hours for a sample employee as 40 hours.
- With the Weekly Working Hours, the effort for a particular month is calculated based on the number of days of the month;
- In the example given above, calculating the Availability of this employee for March 2025 will result in: 40 (Weekly Working Hours) * (31 / 7) (Days to weeks conversion) = 177 hours.
- Then, the already planned hours of the employee will be deducted from the Monthly Available Hours.
- If the employee is already planned in another project for 30 hours, for instance, it will be reduced from the Monthly availability. After the reduction, the available hours given the example above would be 177 - 30 = 147 hours.
The same process is repeated for all the periods of the Work Package duration.
Keywords
Availability, leave, success factors, deduction, subtraction, resource, 1KC, company code, scope item, plan customer projects, app, subtract, employee, work package, availability , KBA , CA-CPD-SS , S/4HANA Public Cloud – Professional Service Projects , Problem