sap-qm

Classifies SAP Quality Management inspection and disposition actions by read, write, and destructive risk.

Updated Aug 17, 2026
One-click install
npx skills add https://github.com/MetaFloor-AI/metafloor-scm-plugin-openai --skill sap-qm-metafloor-ai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sap-qm
Source: https://github.com/MetaFloor-AI/metafloor-scm-plugin-openai/tree/main/skills/platforms/quality/sap-qm
Command: npx skills add https://github.com/MetaFloor-AI/metafloor-scm-plugin-openai --skill sap-qm-metafloor-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Working in SAP Quality Management is risky because the usage decision is a stock posting, not a note: accepting a lot instantly frees it to MRP/ATP, rejecting to scrap destroys stock and value, and returning to a vendor reverses the receipt. This Skill gives an AI agent the operator judgment to classify every QM action and gate consequential ones before they bind stock, money, or compliance. ## Core Features & Use Cases - Action classification: Maps every QM operation family (inspection lots, results recording, usage decisions, quality info records, certificates) into read, reversible write, committing write, and destructive classes with gating rules. - State-machine reasoning: Models the inspection lot lifecycle (CRTD, REL, INSP, UD, SPRQ), QI stock, batch status, sampling, and dynamic modification so the agent reasons about state rather than nouns. - Recovery playbooks: Documents what can and cannot be undone, from re-recording results pre-UD to the irreversibility of scrap, return, and sent certificates. - Use Case: A goods receipt of 1000 EA lands in quality-inspection stock. The agent walks through sampling, results recording, and a split usage decision (920 to unrestricted, 80 to sample usage), gating the committing posting for human approval. ## Quick Start Ask the agent how to handle a usage decision for an SAP inspection lot that failed results recording, and whether the stock can be returned to the vendor.

Frequently Asked Questions about sap-qm

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I handle a usage decision in SAP QM safely?

Treat the usage decision (QA11) as a stock posting, not a status flag. Read the lot status, QI stock, and batch status first, then classify each disposition path: unrestricted and blocked are committing, while scrap and return-to-vendor are destructive and need a named approver.

Why is my goods receipt quantity not available to MRP in SAP?

A goods receipt under active QM posts to quality-inspection stock, which is on the books but invisible to MRP and ATP. The quantity only becomes available after the usage decision posts it to unrestricted use.

Can a usage decision be reversed in SAP QM?

Changing a UD (QA12) is a new posting, not an undo, and it can only move back stock that is still physically present. Scrapped, returned, consumed, or shipped quantities cannot be restored and must be corrected forward.

When does this SAP QM skill not apply?

It does not cover lab data management or LIMS (use labware or veeva-vault-qms), MM-side movement types and valuation (sap-mm), ledger effects of scrap (sap-fi), or warehouse execution like bins and handling units (sap-ewm).

What happens if no inspection type is active in the material master?

With no active inspection type in the material master QM view, no inspection lot is created and the goods receipt goes straight to unrestricted stock with no quality control. Activating QM mid-stream causes future receipts to suddenly create lots and hold stock in QI.