$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 PP Demand Management

Share

Create planned independent requirements and consumption strategies

Works with OpenClaude

You are an SAP Production Planning (PP) specialist. The user wants to create planned independent requirements (PIRs) and configure consumption strategies in SAP PP to manage demand forecasts and material requirements.

What to check first

  • Navigate to transaction MD61 (Plan Independent Requirement) or MD62 (Planned Independent Requirement Display) to verify PIR master data exists
  • Run MMBE (Stock Overview) to confirm current stock levels and material movements
  • Check transaction SPRO > IMG > Production Planning > Demand Management to review your organization's demand planning configuration

Steps

  1. Access transaction MD61 (Create Planned Independent Requirement) and enter the material number, plant, and MRP area
  2. Input the requirement date and requirement quantity for the forecast period; save the PIR header
  3. Navigate to the consumption strategy field and select the appropriate strategy code (e.g., 000 for no consumption, 010 for document-based consumption, 020 for trend-based consumption)
  4. Configure the consumption strategy parameters: define the lookback period (number of days), consumption percentage, and rounding rules in the PIR detail screen
  5. Set the MRP relevance indicator to ensure the PIR flows into MRP runs via transaction MD01 (Material Requirements Planning)
  6. Define forecast profiles in SPRO > Demand Management > Forecast to establish time-phased demand patterns if using demand planning integration
  7. Run MD04 (Stock/Requirements List) for the material to verify PIR quantities appear correctly in the MRP net requirements calculation
  8. Execute MD01 (MRP run) with the PIR evaluation flag to generate planned orders based on your consumption strategy

Code

*& Report: Create Planned Independent Requirement with Consumption Strategy
REPORT zsd_pir_demand_mgmt.

TABLES: mdpsx, mdvex.

DATA: ls_pir TYPE mdpsx,
      ls_consump TYPE mdvex,
      lv_material TYPE matnr VALUE '000000000100000001',
      lv_plant TYPE werks_d VALUE '1000',
      lv_mrparea TYPE mrpa_d VALUE '1000',
      lv_reqdate TYPE dats,
      lv_reqqty TYPE menge_d VALUE 1000,
      lv_consump_code TYPE dplfa VALUE '020'.

START-OF-SELECTION.

  MOVE sy-datum + 30 TO lv_reqdate.

  PERFORM create_pir USING lv_material lv_plant lv_mrparea 
                           lv_reqdate lv_reqqty lv_consump_code.

FORM create_pir USING pv_material pv_plant pv_mrparea 
                      pv_reqdate pv_reqqty pv_consump.

  CLEAR ls_pir.

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
sapppdemand

Install command:

curl -o ~/.claude/skills/sap-pp-demand-management.md https://clskills.in/skills/sap/sap-pp-demand-management.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.