{"audience":"HR time management specialists, department managers and payroll teams.","authorization_objects":[{"note":"Read authorization for personnel data by infotype and organizational assignment","object":"P_ORGIN"},{"note":"Access control for the user's own personnel number","object":"P_PERNR"}],"components":[],"countries":[],"effort_days_max":5,"effort_days_min":3,"effort_size":"M","faq":[{"a":"The default calculation uses absences recorded in PA2001. If self-service leave requests are used, pending requests can be read from the request tables and added as a separate \"pending approval\" column.","q":"Are leave requests waiting for approval included?"},{"a":"No. The report shows the quota definitions and records in the system. Statutory entitlement is calculated in time evaluation or quota generation settings and is checked against current regulation at installation.","q":"Does the report check statutory leave entitlements?"},{"a":"Yes. The unit is read from T556A, and for hour-based quotas the calculation uses PA2001-STDAZ; the list shows the unit in a separate column.","q":"Are hour-based quotas supported?"}],"features":[{"code":"alv","label":"ALV list (sort, filter, subtotals)","note":""},{"code":"layout","label":"User-specific layout variants","note":""},{"code":"drilldown","label":"Double-click drill-down to the document","note":"Double-clicking the personnel number opens the PT50 quota overview."},{"code":"excel","label":"Export to Excel","note":""},{"code":"background","label":"Runs as a background job","note":""},{"code":"email","label":"Send the result by email","note":"Each unit manager can receive only their own team's list."}],"functions":[],"gap":"PT50 shows the quotas of one employee. Standard quota reports list the remaining entitlement, but they do not split used days into taken to date and booked in the future, do not flag remaining leave with the days until the deduction period ends, and do not distribute the result by department via email.","id":"hcm-leave-quota-balance","industries":[],"input_columns":[],"kind":"report","language":"en","lastmod":"2026-11-17","logic":"1. For the selected employees, quotas valid on the key date are read from PA2006: quota type (KTART), entitlement (ANZHL), used (KVERB), deduction period start and end (DESTA, DEEND).\n2. Absence records deducting the quota are read from PA2001; those ending before the key date are summed as \"taken\", later ones as \"booked in the future\".\n3. Remaining = ANZHL − KVERB. The unit (days/hours) is validated from T556A, the absence type from T554S.\n4. Days until deduction end = DEEND − key date. \"Expiry risk\" if remaining \u003e 0 and days until end ≤ horizon, \"Negative balance\" if remaining \u003c 0, otherwise \"Normal\".\n5. Organizational unit and name are added from PA0001; the result is shown with subtotals per unit and can be emailed to the unit manager.","module":"HCM","object_type":"alv_report","output_columns":[{"calculated":false,"formula":"","label":"Pers. no.","source_field":"PERNR","source_table":"PA2006"},{"calculated":false,"formula":"","label":"Name","source_field":"ENAME","source_table":"PA0001"},{"calculated":false,"formula":"","label":"Org. unit","source_field":"ORGEH","source_table":"PA0001"},{"calculated":false,"formula":"","label":"Quota type","source_field":"KTART","source_table":"PA2006"},{"calculated":false,"formula":"","label":"Deduction end","source_field":"DEEND","source_table":"PA2006"},{"calculated":false,"formula":"","label":"Entitlement","source_field":"ANZHL","source_table":"PA2006"},{"calculated":false,"formula":"","label":"Used","source_field":"KVERB","source_table":"PA2006"},{"calculated":true,"formula":"Σ PA2001-ABRTG, PA2001-ENDDA \u003c key date","label":"Taken to date","source_field":null,"source_table":null},{"calculated":true,"formula":"PA2006-KVERB − taken","label":"Booked ahead","source_field":null,"source_table":null},{"calculated":true,"formula":"PA2006-ANZHL − PA2006-KVERB","label":"Remaining","source_field":null,"source_table":null},{"calculated":false,"formula":"","label":"Unit","source_field":"ZEINH","source_table":"T556A"},{"calculated":true,"formula":"PA2006-DEEND − key date","label":"Days to end","source_field":null,"source_table":null},{"calculated":true,"formula":"Expiry risk, negative balance or normal","label":"Status","source_field":null,"source_table":null}],"parameters":[{"example":"1000","kind":"select_option","label":"Company code","name":"S_BUKRS","ref_field":"PA0001-BUKRS","required":true},{"example":"50000135","kind":"select_option","label":"Organizational unit","name":"S_ORGEH","ref_field":"PA0001-ORGEH","required":false},{"example":"00001024","kind":"select_option","label":"Personnel number","name":"S_PERNR","ref_field":"PA2006-PERNR","required":false},{"example":"10","kind":"select_option","label":"Quota type","name":"S_KTART","ref_field":"PA2006-KTART","required":false},{"example":"17.11.2026","kind":"parameter","label":"Key date","name":"P_KEYDT","ref_field":"SY-DATUM","required":true},{"example":"60","kind":"parameter","label":"Expiry risk horizon (days)","name":"P_HORIZ","ref_field":"","required":false},{"example":"","kind":"checkbox","label":"Risky quotas only","name":"P_RISK","ref_field":"","required":false}],"part_of":["hcm-hr-reporting-pack"],"performance":"Select employees through the logical database and restrict PA2006 to records valid on the key date. Narrow the PA2001 read to dates within the quota deduction period. For large populations, run the report as a weekly background job.","quote_url":"https://nekuhub.com/en/request-a-quote/?report=hcm-leave-quota-balance","related":["hcm-absence-attendance-upload","hcm-probation-contract-expiry"],"releases":[],"source":"custom","standard_alternatives":[{"note":"Gives the quota and absence overview of one employee; no population-wide expiry risk list.","tcode":"PT50"},{"note":"Maintains infotype 2006 quotas per employee; gives no bulk balance report.","tcode":"PA30"}],"summary":"A custom ALV report that separates entitled, used, future-booked and remaining days in each employee's absence quota, and flags remaining leave whose deduction period ends soon and quotas that have gone negative. Managers see their team's leave planning without waiting for month-end.","tables":[{"access":"read","join_on":"","role":"Absence quotas: type, entitlement, used, deduction period (driving table)","table":"PA2006","variant":"both"},{"access":"read","join_on":"PA2001-PERNR = PA2006-PERNR","role":"Absence records deducting the quota; used to split taken and future-booked","table":"PA2001","variant":"both"},{"access":"read","join_on":"PA0001-PERNR = PA2006-PERNR","role":"Name, organizational unit and company code","table":"PA0001","variant":"both"},{"access":"read","join_on":"T556A-KTART = PA2006-KTART","role":"Quota type definition and time unit","table":"T556A","variant":"both"},{"access":"read","join_on":"T554S-SUBTY = PA2001-AWART","role":"Absence type definition","table":"T554S","variant":"both"}],"title":"Employee Leave Quota Balance and Expiry Risk Report","url":"https://nekuhub.com/en/reports/employee-leave-quota-balance-and-expiry-report/","vendor_id":"nekudos"}