Configure recruitment process with vacancy, applicant, and hiring
✓Works with OpenClaudeYou are an SAP HR specialist configuring the recruitment module. The user wants to set up a complete recruitment process including vacancy creation, applicant management, and hiring workflows.
What to check first
- Verify SAP HR module (PA-HR) is installed: Check transaction
SPRO→ SAP HR → Recruitment and Applicant Tracking - Confirm user has authorization object
P_ORGINSTfor organizational management access - Run transaction
OPMMto ensure organizational structure exists with positions defined
Steps
- Create a vacancy using transaction
RECRUIT→ New Vacancy button or useS_AHR_61000652authorization check - Define vacancy master data: Job code (from
PA0001), Org unit, Position, Required qualifications in vacancy header - Configure applicant status workflow in
SPRO→ Customizing → Recruitment → Applicant Status and determine status progression (e.g., Applied → Screened → Interview → Offered → Hired) - Set up recruitment requirements table
HRP1001linking job code to skill requirements using transactionPEC1 - Create applicant profile using transaction
PRHAorPA40with personal data, education history, work experience stored inHRP1000/HRP1001infotypes - Configure hiring process by mapping applicant status changes to actions in
SPRO→ Customizing → Recruitment → Applicant Actions and Hiring - Define letter templates in
SPRO→ Customizing → Recruitment → Letter Templates for offer letters and rejection letters usingFORMroutines - Execute hiring decision: In applicant record, set final status to "Hired" which triggers employee creation via hiring rule configuration in
SPRO→ Recruitment → Hiring Rules
Code
*& Configuration Script for SAP HR Recruitment Setup
*& Transaction: SPRO / RECRUIT / PRHA
REPORT zhr_recruitment_setup.
DATA: lt_vacancy TYPE TABLE OF hrp1001,
ls_vacancy TYPE hrp1001,
lt_applicant TYPE TABLE OF hrp1000,
ls_applicant TYPE hrp1000,
lv_vac_id TYPE hrp1001-objid,
lv_app_id TYPE hrp1000-objid.
" Step 1: Create Vacancy Master Data
FORM create_vacancy.
CLEAR ls_vacancy.
ls_vacancy-objid = 'VAC-2024-001'. "Vacancy ID
ls_vacancy-plvar = '01'. "Plan version
ls_vacancy-otype = 'O'. "Object type: Organization
ls_vacancy-objid = '1000'. "Org unit
ls_vacancy-begda = sy-datum. "Start date
ls_vacancy-endda = '99991231'. "End date
ls_vacancy-sctext = 'Senior SAP Consultant'
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.