The interface is localized. Skill descriptions and documents are machine-translated by AI into your language; code, commands, paths and technical terms stay in the original, and the author's document governs.
Explore skills
Development · SKILL.md

sap-hcm

sap-hcm

This skill handles SAP HCM (Human Capital Management) on-premise topics covering ECC HCM and HCM for S/4HANA (H4S4). Includes personnel administration, organizational management, payroll, time management, benefits, and FI/CO posting integration. Use when user mentions HCM, HR, PA30, infotype, payroll, PC00, time management, PT60, org management, position, o…

Independent GitHub snapshot · Automated classification · Original documentation governs

Skill documentation

GitHub

name: sap-hcm description: > This skill handles SAP HCM (Human Capital Management) on-premise topics covering ECC HCM and HCM for S/4HANA (H4S4). Includes personnel administration, organizational management, payroll, time management, benefits, and FI/CO posting integration. Use when user mentions HCM, HR, PA30, infotype, payroll, PC00, time management, PT60, org management, position, organizational unit, personnel area, employee subgroup, payroll area, absence, attendance, wage type, schema, PCR, H4S4, compatibility pack, PA, OM, PY, TM, ESS, MSS. allowed-tools: Read, Grep

1. Environment Detection (Critical — Ask First)

□ Scenario A — ECC HCM (classic on-premise, pre-S/4HANA)
□ Scenario B — HCM Compatibility Pack on S/4HANA (2020 / 2021)
□ Scenario C — HCM for S/4HANA / H4S4 (S/4HANA 2022+, BF H4S4_1 active)
□ Payroll country? (country-specific PC00_M[XX] where XX = country code)
□ SuccessFactors integrated? (hybrid or standalone HCM?)

⚠️ Strategic Context — Always Share with User

  • ECC HCM mainstream support ends 2027 (extended maintenance to 2030 with additional fee)
  • HCM Compatibility Pack usage rights expired end of 2025
  • H4S4_1 business function activation is IRREVERSIBLE — warn before recommending activation
  • H4S4 is a bridge — no major new functionality planned by SAP; SuccessFactors is strategic direction
  • For SuccessFactors-specific topics, refer to the sap-sfsf skill

2. Personnel Administration (PA)

Core concept: infotype-based data model — all employee data stored in versioned, date-effective records

Key T-codes:

  • PA20: display HR master data
  • PA30: maintain HR master data (create / change / delete infotypes)
  • PA40: personnel actions (hire / transfer / terminate)

Key Infotypes

ITNameKey Fields
0000ActionsAction type, reason
0001Org AssignmentCompany code, pers.area, EG, ESG, position
0002Personal DataName, birth date, nationality
0006AddressesAddress type, street, city, country
0007Planned Working TimeWork schedule rule, time mgmt status
0008Basic PayPay scale type/area/group, wage types, amounts
0009Bank DetailsBank key, account number, payment method
0014Recurring Payments/DeductionsWage type, amount, frequency
0015Additional PaymentsOne-time wage type, amount
0027Cost DistributionCost center / order split for payroll posting

Common Errors

ErrorRoot CauseFix
"Infotype record not found"IT does not exist for employeePA30 → create new record
"Feature ABKRS not maintained"Payroll area derivation featurePE03 → feature ABKRS → edit decision tree
"Time constraint violation"Overlapping date-effective recordsPA30 → delimit existing record before creating new
"No authorization"Missing P_PERNR or PLOG authSU53 → check missing auth object

3. Organizational Management (OM)

Object Types

ObjectType CodeDescription
Organizational UnitODepartment / division
PositionSIndividual post (links to person)
JobCJob title / job description
PersonPIndividual employee (linked from PA)
UserUSSAP user account

Key T-codes:

  • PP01: general object maintenance
  • PPOCE: org structure editor (hierarchical view)
  • PPOME: org management for managers (MSS)

Relationships

RelationshipDescription
A/B 002Reports to / is manager of
A/B 007Is described by / describes (Job ↔ Position)
A/B 008Is holder of / is occupied by (Position ↔ Person)
A/B 003Belongs to / includes (Org Unit ↔ Position)

Common Issues

IssueFix
Position not showing in org chartPP01 → check validity dates (start/end) and active flag
Person not linked to positionRHINTE00 → consistency check; then PA30 IT0001 → fix position assignment
Structural auth not workingT77PR / T77UA → check structural authorization profile assignment

4. Payroll (PY)

Payroll Flow

1. Release payroll    PA03 → status: "Released for payroll"
2. Run payroll        PC00_M[XX]_CALC (XX = country code)
3. Check log          Display log → identify error employees
4. Corrections        PA03 → "Release for correction" → fix master data → re-run
5. Exit payroll       PA03 → "Exited"
6. Post to FI/CO      PC00_M[XX]_CIPE → SIMULATE first → then actual run
7. Bank transfer      PC00_M[XX]_CDTA → generate DME file

Country-Specific Payroll T-codes (PC00_M[XX]_CALC)

Country CodeCountry
PC00_M01_CALCGermany (DE)
PC00_M10_CALCUSA
PC00_M08_CALCGreat Britain
PC00_M23_CALCJapan
PC00_M26_CALCKorea
PC00_M12_CALCAustralia

Key Concepts

  • Wage types: dialog (Mxxx — customer-defined) / technical (/1xx — system-generated)
    • V_T512W: wage type configuration table
    • V_T512W_B: wage type permissibility per infotype
  • Schemas: country-specific payroll logic (X000 DE / U000 US / etc.)
    • PE01: schema editor — edit payroll calculation logic
  • PCRs (Personnel Calculation Rules): PE02 — individual calculation rules within schema
  • Payroll periods: T549Q → period parameters per payroll area
  • Retro accounting: triggered automatically when backdated IT0008/IT0014/IT0015 changes

Common Errors

ErrorRoot CauseFix
"Payroll area locked"Another run in progress or lockedPA03 → check status → unlock if safe
"No valid personal work schedule"IT0007 missing or date gapPA30 → IT0007 → fill gap
"Wage type not permitted"V_T512W_B permissibility checkSPRO → Payroll → Wage Types → check permissibility
"FI posting error — account not found"Symbolic account → G/L mapping missingV_T52EL → wage type → symbolic account; SPRO → G/L assignment

5. Time Management (TM)

Configuration Hierarchy

Holiday Calendar (SCAL)
  → Factory Calendar (SCAL)
    → Daily Work Schedule (PT01 view)
      → Period Work Schedule
        → Work Schedule Rule
          → IT0007 (Planned Working Time)

Key T-codes

T-codeDescription
PT01Display/create work schedules
SCALFactory / holiday calendar
PT60Time evaluation (RPTIME00)
PT_BPC10Time accounts / leave quotas
RPTQTA00Quota generation run
CAT2CATS — cross-application time sheet
PT50Quota overview for employee

Common Issues

IssueRoot CauseFix
Absence quota not generatedRPTQTA00 selection / IT0007 TM status ≠ 1Run RPTQTA00 with correct selection; check IT0007 TM status
Time evaluation errorsSchema logic / master data gapPT60 → log → identify error → check schema TM00/TM04 in PE01
Overtime not calculatedPCR threshold / daily-weekly limitPE02 → time PCR → check overtime conditions

6. FI/CO Integration (Payroll Posting)

Posting Flow

PC00_Mxx_CIPE (simulation) → Preview FI document
  → PC00_Mxx_CIPE (actual) → HCM cluster posting document
    → PCRV / PUOC_xx → FI document in target company code

Mapping Chain

Wage type → Symbolic account (V_T52EL) → G/L account (SPRO assignment)

Cost Assignment

  • IT0027 (Cost Distribution): split payroll costs across cost centers / internal orders / WBS
  • Without IT0027: cost posted to cost center from IT0001 (Org Assignment)

7. H4S4 Guidance (S/4HANA 2022+)

Before Recommending H4S4_1 Activation

  • Run impact assessment: SAP Note 3091160 — check which functionalities are deprecated
  • Activation is IRREVERSIBLE — no rollback possible after activating H4S4_1 via SFW5
  • Some PA / TM / PY functionalities deprecated — must have replacement plan

What Changes with H4S4_1

  • Fiori apps added: My Paystub, Leave Request, Team Calendar, Manager Self-Service apps
  • Learning Solution: NOT available in Private Cloud → must use SuccessFactors Learning
  • Some classic PA/TM reports replaced by Fiori equivalents

What Stays the Same

  • Core payroll engine — schemas, PCRs, wage types unchanged
  • Infotype data model — PA30 still works
  • Time management configuration — work schedules, PT60 unchanged
  • FI/CO posting logic — PC00_Mxx_CIPE unchanged

8. References

  • references/payroll-guide.md — country-specific payroll T-codes, schema structure overview, PCR logic
Saved skills