{"audience":"Senior management, controlling, HR and budgeting teams.","authorization_objects":[{"note":"Authorization to read the payroll result cluster (RELID RU/TR)","object":"P_PCLX"},{"note":"Authorization to read employee data by personnel area, employee group and infotype","object":"P_ORGIN"},{"note":"Report-level HR authorization check to simplify checks for large populations","object":"P_ABAP"}],"components":[],"countries":[],"effort_days_max":9,"effort_days_min":6,"effort_size":"M","faq":[{"a":"The report uses the employee's org assignment at the end of the payroll period and the hierarchy valid on that date. If needed, an option to regroup past periods with the current hierarchy can be added.","q":"What if the org structure changes during the period?"},{"a":"Yes, if the wage types mapped to expense groups are the same ones posted to accounting. Unmapped wage types appear under 'Other', so any difference is visible.","q":"Does it reconcile with accounting totals?"},{"a":"Yes. The payroll cluster and organizational management are the same on S/4HANA (H4S4); the accounting side can be compared through ACDOCA.","q":"Does it work on S/4HANA?"}],"features":[{"code":"alv","label":"ALV list (sort, filter, subtotals)","note":"Hierarchical ALV with subtotals per level"},{"code":"drilldown","label":"Double-click drill-down to the document","note":"Drill-down from a unit to the per-employee wage type breakdown"},{"code":"excel","label":"Export to Excel","note":"Exported to Excel as a management report"},{"code":"background","label":"Runs as a background job","note":"Can run in the background after month-end close"}],"functions":[{"name":"PYXX_READ_PAYROLL_RESULT","role":"Reads the RT and C1 tables"},{"name":"RH_STRUC_GET","role":"Rolls an org unit up to higher levels"}],"gap":"Payroll posting (PC00_M99_CIPE) transfers results to CO by cost centre and cost element, and KSB1 shows those items. But the org hierarchy management wants (directorate, department) and its own expense groups are missing. Every month the accounting extract is mapped to the org chart in Excel.","id":"hcm-payroll-cost-distribution-by-org","industries":[],"input_columns":[],"kind":"report","language":"en","lastmod":"2026-11-18","logic":"1. Valid payroll results for the period are read from HRPY_RGDIR; the RT and cost distribution (C1) tables are taken from PCL2 with PYXX_READ_PAYROLL_RESULT.\n2. The employee's org unit and cost centre come from PA0001; if cost distribution exists, the C1 percentages are used. Optionally, posted amounts are linked to accounting document lines through the PPOIX/PPOPX index.\n3. The org unit is rolled up to directorate and company level with RH_STRUC_GET (HRP1001 A002 'reports to' relationships); unit names come from HRP1000.\n4. Wage types are mapped to expense groups with a settings table; employer contributions are collected in a separate group.\n5. The result is shown at the selected hierarchy level, by month and year to date, optionally compared with the prior year. Cost centre names come from CSKT.","module":"HCM","object_type":"alv_report","output_columns":[{"calculated":false,"formula":"","label":"Directorate","source_field":"STEXT","source_table":"HRP1000"},{"calculated":true,"formula":"Unit name one level below","label":"Department","source_field":null,"source_table":null},{"calculated":true,"formula":"Employees with a payroll result","label":"Headcount","source_field":null,"source_table":null},{"calculated":true,"formula":"Wage types in the salary group","label":"Salary","source_field":null,"source_table":null},{"calculated":true,"formula":"Wage types in the overtime group","label":"Overtime","source_field":null,"source_table":null},{"calculated":true,"formula":"Wage types in the bonus group","label":"Bonus","source_field":null,"source_table":null},{"calculated":true,"formula":"Meals, transport, health insurance, etc.","label":"Benefits","source_field":null,"source_table":null},{"calculated":true,"formula":"Employer social security and unemployment","label":"Employer contributions","source_field":null,"source_table":null},{"calculated":true,"formula":"Sum of all groups","label":"Total cost","source_field":null,"source_table":null}],"parameters":[{"example":"11.2026","kind":"parameter","label":"Period (month/year)","name":"P_PERIOD","ref_field":"","required":true},{"example":"1000","kind":"select_option","label":"Company code","name":"S_BUKRS","ref_field":"PA0001-BUKRS","required":false},{"example":"50000010","kind":"parameter","label":"Root org unit","name":"P_ORGEH","ref_field":"PA0001-ORGEH","required":false},{"example":"2","kind":"parameter","label":"Hierarchy level","name":"P_LEVEL","ref_field":"","required":false},{"example":"X","kind":"checkbox","label":"Show year to date","name":"P_YTD","ref_field":"","required":false},{"example":"","kind":"checkbox","label":"Compare with prior year","name":"P_PRIOR","ref_field":"","required":false}],"part_of":[],"performance":"Read the org structure once and keep it in memory; do not call the hierarchy for each employee. Schedule full-year runs in the background.","process":"R2R","quote_url":"https://nekuhub.com/en/request-a-quote/?report=hcm-payroll-cost-distribution-by-org","related":["hcm-headcount-movement-turnover","hcm-personnel-cost-planning-to-co","hcm-tr-payroll-summary-cover-sheet"],"releases":[],"source":"custom","standard_alternatives":[{"note":"Posts payroll by cost centre and cost element; has no org or expense group breakdown.","tcode":"PC00_M99_CIPE"},{"note":"Shows cost centre line items; does not sum by org hierarchy.","tcode":"KSB1"}],"summary":"A report that distributes payroll costs to the directorate, department and company levels of the org structure and to management's own expense groups (salary, overtime, bonus, benefits, employer contributions). For employees with cost distribution, the cost centre shares are kept; the result is shown monthly and year to date.","tables":[{"access":"read","join_on":"","role":"Payroll result directory (driving table)","table":"HRPY_RGDIR","variant":"both"},{"access":"read","join_on":"PCL2-RELID = 'TR' AND PCL2-SRTFD = PERNR + SEQNR","role":"RT and cost distribution (C1) tables","table":"PCL2","variant":"both"},{"access":"read","join_on":"PA0001-PERNR = HRPY_RGDIR-PERNR","role":"Org unit and cost centre","table":"PA0001","variant":"both"},{"access":"read","join_on":"HRP1001-OBJID = PA0001-ORGEH AND HRP1001-OTYPE = 'O'","role":"Org hierarchy (A002)","table":"HRP1001","variant":"both"},{"access":"read","join_on":"HRP1000-OBJID = HRP1001-SOBID","role":"Unit names","table":"HRP1000","variant":"both"},{"access":"read","join_on":"","role":"Wage type texts","table":"T512T","variant":"both"},{"access":"read","join_on":"CSKT-KOSTL = PA0001-KOSTL","role":"Cost centre name","table":"CSKT","variant":"both"}],"title":"Personnel Cost Distribution by Organizational Unit and Expense Group","url":"https://nekuhub.com/en/reports/personnel-cost-distribution-by-org-unit-and-expense-group/","vendor_id":"nekudos"}