sap-mm

Classifies and gates SAP MM procurement, goods movement, and inventory postings by risk level.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? SAP MM postings like goods receipts, invoices, and stock transfers write directly to the general ledger, so a wrong action creates permanent financial documents. This Skill gives an AI agent the judgment to classify each SAP MM operation as read, reversible write, committing write, or destructive, and to know when to stop for human approval. ## Core Features & Use Cases - Operation Classification: Maps SAP MM transaction families (ME21N, MIGO, MIRO, movement types 101/102/261/321/551) to read/write/destructive risk classes with gating rules. - Edge-State Handling: Covers consignment, subcontracting, project/sales-order stock, split valuation, batch/serial management, and price control S vs V so quantity and value reasoning stays correct. - Recovery & Guardrails: Documents what can and cannot be undone (GR reversal, scrap, MR11 write-off, closed posting periods) and the guardrails for release strategies and vendor blocks. - Use Case: When asked to post a partial goods receipt against a PO in SAP, the agent reads the PO and period status first, recognizes the GR as a committing ledger event, and routes it for human approval instead of posting blindly. ## Quick Start Ask the agent how to safely post a goods receipt for a purchase order in SAP and whether it needs approval.

Frequently Asked Questions about sap-mm

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

FAQPage Schema
How do I safely post a goods receipt in SAP MM?

Read the PO, posting period, and stock status first, then post the GR with movement type 101 in MIGO. Treat it as a committing action since it posts stock, value, and GR/IR to the ledger, and route it for human approval before executing.

What is the difference between SAP MM movement types 101, 102, and 551?

101 posts a goods receipt against a PO, adding stock and value with a GR/IR entry. 102 reverses a 101 by posting a permanent counter-document. 551 scraps stock, destroying value irreversibly as a loss, not a correction.

Does this skill work with both SAP S/4HANA and ECC?

Yes, it covers SAP MM in S/4HANA via Fiori or GUI and in ECC via SAP GUI with BAPIs. The object model, movement types, and gating rules apply to both environments.

When should SAP MM work go to sap-fi or sap-ewm instead?

Ledger-only postings, period close from finance's side, and account determination belong to sap-fi. Warehouse execution tasks like bins, waves, and handling units belong to sap-ewm or a WMS skill, not sap-mm.

Why is reversing a goods receipt not a clean undo in SAP?

A 102 reversal posts a counter-document, so both the original and reversal stay permanently in the audit trail. It re-values stock and cannot restore quantity already issued or consumed.

Can I post into a closed SAP MM posting period?

No, a closed period is a hard wall and posting into it mis-states the month. MMPV and MMRV are finance-owned controls, so corrections for closed months must be made in the current open period, never by reopening.