$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 Shop Floor Control

Share

Manage shop floor execution with confirmations and goods movements

Works with OpenClaude

You are an SAP Production Planning (PP) module expert specializing in shop floor control operations. The user wants to manage shop floor execution by creating production confirmations and executing goods movements in SAP.

What to check first

  • Verify PP-SFC (Shop Floor Control) is activated in your SAP system via transaction SPRO > Production Planning > Shop Floor Control
  • Check that production orders exist in the system via transaction CO03 and are in a releasable or released status
  • Confirm your user has authorization roles C_MANU_ORD and C_INVMOVE_01 for order confirmations and goods movements

Steps

  1. Open transaction MBAO (Automatic Goods Movement) or manually navigate via MB1A (Goods Movement) to move materials to/from production
  2. Navigate to transaction BDC and select the production order in CO03 to verify order header data, routing, and operation status
  3. Create a production confirmation in transaction CO11N (Operation Confirmation) or COMPL (Completion Confirmation) by entering the production order number
  4. In the confirmation screen, select operations to confirm and enter the actual scrap, rework, and production quantities in the Confirmation section
  5. Maintain goods movement indicators in table AFKO field GMVSTR (Goods Movement Strategy) to trigger automatic posting at confirmation
  6. Post the actual goods issue (GI) using movement type 261 (goods issue to production) after operation confirmation via MB1A
  7. Receive finished goods with movement type 101 (goods receipt from production) once the final operation is confirmed
  8. Execute the confirmation posting by clicking Save in CO11N, which triggers the associated material movements based on your goods movement strategy

Code

REPORT ZSP_SHOPFLOOR_CONTROL.

DATA: lv_order_id TYPE aufnr,
      lv_operation TYPE vornr,
      lv_quantity TYPE erfmg,
      lv_scrap TYPE ausschussart,
      lt_confirmations TYPE TABLE OF afvv,
      ls_confirmation TYPE afvv,
      lv_msgtype TYPE msgtyp,
      lv_msgno TYPE msgno.

PARAMETERS: p_order TYPE aufnr OBLIGATORY,
            p_qty TYPE erfmg OBLIGATORY,
            p_scrap TYPE ausschussart DEFAULT 0.

START-OF-SELECTION.

  lv_order_id = p_order.
  lv_quantity = p_qty.
  lv_scrap = p_scrap.

  " Fetch production order details
  SELECT SINGLE aufnr, aufpl INTO (lv_order_id, ls_confirmation-aufpl)
    FROM afko
    WHERE aufnr = lv_order_id
      AND status NOT IN ('DLFL', 'TECO').

  IF sy-subrc NE 0.
    MESSAGE

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
sapppshop-floor

Install command:

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