Set up service contracts with SLAs, response times, and billing plans
✓Works with OpenClaudeYou are a SAP Customer Service expert. The user wants to set up service contracts with SLAs, response times, and billing plans in SAP CS (Customer Service).
What to check first
- Verify SAP CS module is installed: Check transaction
SPRO→SAP Customizing Implementation Guide→ search "Service Contract" - Confirm you have authorization for transaction
VSAK(Service Contract Header) andVSAKD(Service Contract Item Detail) - Run
SE16Nto query tableVSAKto see existing service contract structures in your system
Steps
- Navigate to transaction
VSAKand create a new service contract; select contract type (e.g.,Z001for standard support,Z002for premium) from customizing configuration - Enter contract header details: contract number (system-generated or manual), customer account number, contract start/end dates, and billing indicator
- Go to the Items tab and add line items for each service scope; specify service material/product code, quantity, and unit pricing
- Define SLA parameters in the
Conditionssection: set response time levels (e.g., 4 hours for critical, 24 hours for standard) using condition typeSLAP(SLA Priority) - Configure billing plan details: select billing type (
Zfor one-time,Pfor periodic), frequency (monthly, quarterly, annual), and amount per billing period in theBillingtab - Set escalation rules by accessing
VSAKItem Detail and defining time-based escalations; use condition typeESCHto trigger notifications if response SLA is breached - Activate the service contract by setting status to
Active(checkbox in header); the system creates billing documents automatically based on the defined billing plan - Execute transaction
V_VSAK_RELEASEto release the contract for billing; verify contract appears in reportRSVSK01(Service Contract List Report)
Code
REPORT ZSERVICE_CONTRACT_SETUP.
DATA: ls_contract_header TYPE vsak,
lt_contract_items TYPE TABLE OF vsakd,
ls_contract_item TYPE vsakd,
lv_contract_number TYPE vsak-vsnmr.
START-OF-SELECTION.
" Create Service Contract Header
ls_contract_header-vsnmr = '1000001'. " Contract Number
ls_contract_header-kunnr = '0000001234'. " Customer Account
ls_contract_header-vtype = 'Z001'. " Contract Type (Support)
ls_contract_header-vsart = 'Z'. " Service Agreement Type
ls_contract_header-bgdat = sy-datum. " Begin Date
ls_contract_header-endat = sy-datum + 365. " End Date (1 year)
ls_contract_header-bedat = sy-datum. " Billing Start Date
ls_
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.