Run time eval with log for both cases where the abs quota gen is ok and not. See where the differences are.
Absence quota IT 2006 has no direct relationship with Attendances IT 2002.
However it is possible to enter an attendance like OT with no payment but to be used for time off in lieu known as TOIL. TOIL can be used in both +ve & -ve time mgt.
This is a common usage where a company allows employees to take time off in lieu for the OT hrs put in by an employee; some organizations allow this for all employees. And some allow only for certain EG or ESG like shift workers or PA or PSA like remote work locations; in this case a validation may be used; or the abs quota can be configured only for the relevant groupings as below:
1 Permit Quota Generation Without Time Evaluation V_556A_B
2 Specify Rule Groups for Quota Type Selection Feature QUOMO
3 Set Personnel Subarea Groupings for Time Recording V_001P_H
4 Base entitlement V_T559E
5 Validity interval of absence quota type T559V
6 Deduction interval of absence quota type V_T559D
7 Define Rules for Reducing Quota Entitlements T559M
8 Define rounding rule V_T559R
9 Define Generation Rules for Quota Type Selection V_T559L
No.4, 5, 6, 7, 8 are also available when you display/maintain V_T559L - this I find is more convenient to configure.
In some implementations, OT is generated from attendance based on working hours' rules - e.g., any time exceeding 40hrs in a week is considered as OT.
Also working on a weekend or Public holiday (which is not the normal working time for certain types of employees like office workers - this would be based on the EG or ESG) is considered as OT.
If IT 2002 is used for excess hrs or OT hrs, then the OT comp type can be used to indicate that the hrs are to be considered for TOIL.
Also IT 7 - field KZTIM Addl time mgr indc can be activated for user entry and be used with values A for TOIL and P for payment for overtime.
In time eval, the OT hrs are accumulated in a time type, say ZOTH. These hrs are used in the Absence quota generation.
TOIL is configured as an abs quota type for the relevant groupings, using the current day's hrs in the above t/t ZOTH. The abs quota is generated daily which occurs when the t/t has a value, and is transferred same day to entitlement which generates IT 2006.
An absence type for TOIL is configured for employee's use, which is debited to the TOIL abs quota. In some organizations, abs types like Annual leave may also use the TOIL abs quota as the second one in addition to AL abs quota type (in the deduction rule for the abs.type).
Note
a. In V_T559L - Selection rules, usually the same selection rule is used for one abs.quota type for all groupings. The rule in different groupings the config may be different; for example, the base entl may be different; reduction rule may be different, etc.
b. The same counting rule can exist in several groupings as applicable. However counting may be configured for certain groupings differently as compared to other groupings. For example, for office workers, you may consider only week days M-F; for shift workers, you may count all days provided the DWS hrs > 0.
Hope this helps.