$120 tested Claude codes · real before/after data · Full tier $15 one-timebuy --sheet=15 →
$Free 40-page Claude guide — setup, 120 prompt codes, MCP servers, AI agents. download --free →
clskills.sh — terminal v2.4 — 2,347 skills indexed● online
[CL]Skills_
SAPintermediateNew

SAP PS Budget Management

Share

Manage project budgets with availability control and supplements

Works with OpenClaude

You are an SAP PS (Project Systems) consultant. The user wants to manage project budgets using availability control mechanisms and handle budget supplements to maintain cost control across project phases.

What to check first

  • Run TCODE: CJBD to verify Budget Master Data configuration exists for your project
  • Confirm project budget release status in TCODE: CJ20N — only released budgets can be tracked
  • Check TCODE: OKKP to verify availability control strategy (Profile/Overall/Phase-based) is active

Steps

  1. Open TCODE: CJ40 (Project Budget) and select your project definition (WBS element)
  2. Navigate to Budget tab and verify the budget category type (Plan/Actual) matches your control requirements
  3. Set availability control strategy via TCODE: OKKP — choose between Profile-based (PROF), Overall (OVER), or Phase-based (PHASE) control
  4. Define commitment and actual cost limits in the budget master using TCODE: CJBD with fields AVCTRL (availability control indicator) and PHCTL (phase control)
  5. Create budget supplements via TCODE: CJ42 when actual commitments exceed original budget allocation
  6. Run report CJV1 (Availability Control Report) to monitor budget consumption vs. available budget in real-time
  7. Configure warning threshold percentages in TCODE: OKKP customizing (typically 80% warning, 100% hard limit)
  8. Release final budget via TCODE: CJ20N with status RELEASED to activate availability control enforcement

Code

REPORT zsat_ps_budget_management.

DATA: lt_budget_data TYPE TABLE OF bapips_budgetplan,
      ls_budget      TYPE bapips_budgetplan,
      lv_project_id  TYPE prps-pspid,
      lv_budget_amt  TYPE bapips_budgetplan-budget_amount,
      lv_supplement  TYPE bapips_budgetplan-budget_amount,
      ls_return      TYPE bapiret2.

PARAMETERS: p_pspid TYPE prps-pspid OBLIGATORY,
            p_budget TYPE curr2-currencycode DEFAULT 'USD',
            p_phase  TYPE pspph-pspph DEFAULT '01',
            p_suppl  TYPE p DECIMALS 2.

START-OF-SELECTION.

  CALL FUNCTION 'BAPI_PS_BUDGET_GETDETAIL'
    EXPORTING
      projectid      = p_pspid
      planversion    = '01'
    IMPORTING
      budget_master  = ls_budget
    TABLES
      return         = lt_return
      budget_lines   = lt_budget_data.

  IF sy-subrc = 0.
    WRITE: / 'Current Budget Amount:', ls_budget-budget_amount.

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

Quick Info

CategorySAP
Difficultyintermediate
Version1.0.0
AuthorClaude Skills Hub
sappsbudget

Install command:

curl -o ~/.claude/skills/sap-ps-budget.md https://clskills.in/skills/sap/sap-ps-budget.md

Related SAP Skills

Other Claude Code skills in the same category — free to download.

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.