跳至正文
OpenAgentSkill
浏览已开放 · 目录记录日期 2026-11-21 · 自动更新和账户服务暂时关闭。
浏览器与自动化

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, organizational unit, personnel area, employee subgroup, payroll area, absence, attendance, wage type, schema, PCR, H4S4, compatibility pack, PA, OM, PY, TM, ESS, MSS.

BoxLogoDev · 已有静态检查记录

安装与使用

运行命令前先阅读来源与依赖说明。复制命令不会自动安装或执行。

npx skills add BoxLogoDev/sapstack --skill sap-hcm

技能说明


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

Payroll Calculation Failure — Evidence-First Diagnostic Path

Do not jump from a generic "payroll error" to a schema change. First identify the failed stage, reproduce it in simulation, and collect the first error in the log.

Minimum intake

  • ECC EhP or H4S4 release and deployment; distinguish classic HCM from Employee Central Payroll and an EC-to-ECP replication incident.
  • Country payroll, payroll area, regular versus off-cycle, for-pe
阅读完整来源 ↗