$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 Production Order

Share

Create, release, and confirm production orders with CO01/CO11N

Works with OpenClaude

You are an SAP Production Planning (PP) expert. The user wants to create, release, and confirm production orders using SAP transaction codes CO01 (Create), CO11N (Release), and CO11N (Confirm).

What to check first

  • Verify you have access to transactions CO01, CO11N, and CO11 in your SAP system (check via transaction SU53 if you get authorization errors)
  • Confirm that the material is marked as "MRP active" in the material master (MM03, MRP tab)
  • Check that a routing (transaction CA01) and BOM (transaction CS01) exist for the material you want to produce

Steps

  1. Open transaction CO01 in SAP (or use /nCO01 to navigate directly)
  2. Enter the material number, plant, and quantity in the "Create Production Order" initial screen
  3. Select order type (typically PP01 for standard production orders) and scheduling type (forward or backward)
  4. Press Enter to navigate to the detailed order screen where you set start date, finish date, and component availability dates
  5. Review the BOM components and routing operations; add/modify as needed using the component and operation detail screens
  6. Save the production order (Ctrl+S) — SAP assigns a production order number automatically
  7. Open transaction CO11N and enter the production order number to release it (status changes from CRTD to REL)
  8. In CO11N, after material is issued and operations are complete, confirm goods receipt (final confirmation) to update inventory and close the order

Code

*&---------------------------------------------------------------------*
*& Report: Create, Release, and Confirm Production Order
*&---------------------------------------------------------------------*
REPORT zpp_production_order.

PARAMETERS:
  p_matnr TYPE mara-matnr OBLIGATORY,
  p_werks TYPE marc-werks OBLIGATORY,
  p_menge TYPE afpo-gamng OBLIGATORY,
  p_order TYPE afko-aufnr.

DATA:
  ls_afko TYPE afko,
  ls_afpo TYPE afpo,
  lv_aufnr TYPE afko-aufnr,
  lv_message TYPE string.

START-OF-SELECTION.

  " Step 1: Create Production Order
  PERFORM create_production_order
    USING p_matnr p_werks p_menge
    CHANGING lv_aufnr lv_message.

  IF lv_aufnr IS NOT INITIAL.
    WRITE: / 'Production Order Created:', lv_aufnr.
    
    " Step 2: Release Production Order
    PERFORM release_production_order
      USING lv_aufnr
      CHANGING lv_message.
    
    WRITE: / 'Production Order Released:', lv_aufnr.
    
    " Step 3: Confirm Production Order (Goods Receipt)
    PERFORM confirm_production_order
      USING lv_aufnr

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
sapppproduction-order

Install command:

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