Set up time recording, work schedules, and absence management
✓Works with OpenClaudeYou are an SAP HR administrator setting up time management functionality. The user wants to configure time recording, establish work schedules, and implement absence management in SAP SuccessFactors or SAP ERP HCM.
What to check first
- Verify access to
SPRO(Customizing) transaction in SAP with HR admin authorization - Confirm OM (Organizational Management) and PA (Personnel Administration) modules are installed
- Check
PTIM(Personnel Time Management) cluster configuration inRSPARAM - Ensure employee master data exists in
PA0001(Actions) andPA0002(Personal Data)
Steps
- Navigate to
SPRO→SAP NetWeaver→Human Resources→Time Management→Time Recordingand verify clock-in/clock-out rules viaT007Stable (time specifications) - Create work schedules in
SM01→PM01(Shift Planning) by defining daily working hours, lunch breaks, and valid time period versions - Assign work schedules to employee groups using
PA0007(Recurring Work Schedule) infotype, linking employees to schedule rule viaSCHKZfield - Configure absence types in
Customizing→Time Management→Absence Management→Maintain Absence Types(T5UCTtable) with quota profiles - Set up absence quotas in
SPRO→PA-TM→Absences→Quota ManagementusingPA0041infotype (External Time Data) to define annual entitlements - Create approval workflows in
SWDD(Workflow Builder) for time entries exceeding thresholds or absence requests requiring manager sign-off - Configure time statement rules in
SM01→MOLGA(country grouping) to calculate net working time minus breaks and absences - Run
RPTABS00(Time Statement Report) to validate time data collection and generate weekly/monthly statements for payroll interface
Code
*&---------------------------------------------------------------------*
*& Report: ZHR_TIME_MANAGEMENT_SETUP
*&---------------------------------------------------------------------*
REPORT ZHR_TIME_MANAGEMENT_SETUP.
DATA: lt_work_schedule TYPE TABLE OF ztim_work_schedule,
ls_schedule TYPE ztim_work_schedule,
lt_absence_types TYPE TABLE OF ztim_absence_type,
ls_absence TYPE ztim_absence_type,
lv_employee_id TYPE pernr_d,
lv_date_from TYPE dats,
lv_date_to TYPE dats.
PARAMETERS: p_empid TYPE pernr_d OBLIGATORY,
p_sched TYPE char2 DEFAULT '01',
p_datefrom TYPE dats DEFAULT sy-datum,
p_dateto TYPE dats DEFAULT '20251231'.
START-OF-SELECTION.
PERFORM setup_work
Note: this example was truncated in the source. See the GitHub repo for the latest full version.
Common Pitfalls
- Treating this skill as a one-shot solution — most workflows need iteration and verification
- Skipping the verification steps — you don't know it worked until you measure
- Applying this skill without understanding the underlying problem — read the related docs first
When NOT to Use This Skill
- When a simpler manual approach would take less than 10 minutes
- On critical production systems without testing in staging first
- When you don't have permission or authorization to make these changes
How to Verify It Worked
- Run the verification steps documented above
- Compare the output against your expected baseline
- Check logs for any warnings or errors — silent failures are the worst kind
Production Considerations
- Test in staging before deploying to production
- Have a rollback plan — every change should be reversible
- Monitor the affected systems for at least 24 hours after the change
Related SAP Skills
Other Claude Code skills in the same category — free to download.
ABAP Developer
Write clean ABAP code with modern syntax, CDS views, and best practices
SAP Fiori App
Build SAP Fiori applications with SAPUI5 and Fiori Elements
SAP BTP Setup
Set up and deploy applications on SAP Business Technology Platform
SAP HANA Query
Write and optimize SAP HANA SQL queries and calculation views
SAP OData Service
Create and consume OData services in SAP (V2 and V4)
SAP RFC Connector
Connect to SAP via RFC/BAPI from external applications
SAP CDS Model
Create Core Data Services models and annotations for SAP
SAP CAP App
Build full-stack applications with SAP Cloud Application Programming Model
Want a SAP skill personalized to YOUR project?
This is a generic skill that works for everyone. Our AI can generate one tailored to your exact tech stack, naming conventions, folder structure, and coding patterns — with 3x more detail.