mcpField
S
Sapecc

Sapecc

github.com/robdtaylorOther44 installs
Repository

About Sapecc

Sapecc is an SAP ECC expert skill focused on automotive manufacturing. It gives SAP users module workflows, transaction-code references, troubleshooting guidance, and cross-module process examples across MM, PP, SD, QM, PM, and FI/CO.

Key features

  1. 01Covers six core SAP ECC modules
  2. 02Provides transaction-code and workflow references
  3. 03Maps procurement, production, and sales integration
  4. 04Lists checks for common issues
  5. 05Includes automotive master-data and IATF 16949 guidance

Use cases

  1. 01Finding SAP steps for purchase orders or goods receipts
  2. 02Checking MRP, production orders, or stock issues
  3. 03Tracing cross-module procure-to-pay processes
  4. 04Referencing quality processes in automotive manufacturing

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/robdtaylor/personal-ai-infrastructure --skill sapecc

After installing, type/sapeccin Claude Code to confirm it loaded.

Bundled filesreference/tcodes.mdCLAUDE.md

Details

From the project README

SAP ECC Expert - Automotive Manufacturing

When to Activate This Skill

  • "How do I [action] in SAP?"
  • "What t-code for [function]?"
  • "Create purchase order for [material]"
  • "Check MRP results"
  • "Production order status"
  • "Goods receipt process"
  • "Material master setup"
  • "SAP integration issue"

Workflow Routing

User NeedModuleSection
Purchase order, goods receipt, material master, vendor masterMMMaterials Management
BOM, routing, work center, production order, MRPPPProduction Planning
Sales order, delivery, billing, pricing, ATPSDSales & Distribution
Inspection lot, usage decision, quality certificateQMQuality Management
Equipment, maintenance order, PM schedulePMPlant Maintenance
G/L posting, invoice verification, cost center, settlementFI/COFinance & Controlling
Cross-module process (P2P, plan-to-produce, O2C)IntegrationCommon Integration Scenarios
Error, blocked document, negative stockTroubleshootingTroubleshooting Quick Reference

Core Modules Overview

┌─────────────────────────────────────────────────────────────────┐
│                        SAP ECC LANDSCAPE                        │
├─────────────────────────────────────────────────────────────────┤
│                                                                 │
│   ┌─────────┐    ┌─────────┐    ┌─────────┐    ┌─────────┐    │
│   │   MM    │    │   PP    │    │   SD    │    │   QM    │    │
│   │Materials│───▶│Production│───▶│  Sales  │    │ Quality │    │
│   │ Mgmt    │    │Planning │    │  Dist   │    │  Mgmt   │    │
│   └────┬────┘    └────┬────┘    └────┬────┘    └────┬────┘    │
│        │              │              │              │          │
│        └──────────────┼──────────────┼──────────────┘          │
│                       │              │                          │
│   ┌─────────┐    ┌────▼────┐    ┌────▼────┐                    │
│   │   PM    │    │  FI/CO  │    │   WM    │                    │
│   │  Plant  │    │Finance/ │    │Warehouse│                    │
│   │  Maint  │    │Control  │    │  Mgmt   │                    │
│   └─────────┘    └─────────┘    └─────────┘                    │
│                                                                 │
└─────────────────────────────────────────────────────────────────┘

Materials Management (MM)

Key Processes
ProcessT-CodesDescription
Purchase RequisitionME51N, ME52N, ME53NCreate, change, display PR
Purchase OrderME21N, ME22N, ME23NCreate, change, display PO
Goods ReceiptMIGO, MB01Receive goods against PO
Invoice VerificationMIROEnter vendor invoice
Material MasterMM01, MM02, MM03Create, change, display material
Vendor MasterXK01, XK02, XK03Create, change, display vendor
Stock OverviewMMBE, MB52View stock levels
MRPMD01, MD02, MD04Run MRP, display results
Purchase Order Process Flow
Purchase Requisition (ME51N)
         │
         ▼
    ┌─────────┐
    │ Approval │ (if required)
    └────┬────┘
         │
         ▼
Purchase Order (ME21N)
         │
         ▼
    ┌─────────┐
    │  Vendor  │ Confirmation
    └────┬────┘
         │
         ▼
Goods Receipt (MIGO)
         │
         ▼
Invoice Verification (MIRO)
         │
         ▼
Payment (FI)
Material Master Views
ViewPurposeKey Fields
Basic Data 1General infoDescription, UoM, material group
Basic Data 2Extended infoDimensions, weights
PurchasingProcurementPurchasing group, order unit
MRP 1PlanningMRP type, reorder point
MRP 2Lot sizingLot size, safety stock
MRP 3ForecastStrategy group
MRP 4SchedulingIn-house time, GR processing
Accounting 1ValuationPrice control, standard price
Accounting 2Cost infoProfit center
Costing 1Cost estimateCost elements
Costing 2ExtendedCosting data
Plant Data/Stor 1StorageStorage location, bin
Plant Data/Stor 2WeightsUnit weight
Quality MgmtQM settingsInspection type, certificate
Sales: GeneralSD infoSales org, distribution
Sales: PlantDeliveryLoading group, availability
Stock Types
Stock TypeDescriptionMovement
UnrestrictedAvailable for use101, 561
Quality InspectionPending QC103
BlockedNot available105, 344
In TransitBetween plants351
ConsignmentVendor-owned501

Production Planning (PP)

Key Processes
ProcessT-CodesDescription
BOMCS01, CS02, CS03Create, change, display BOM
RoutingCA01, CA02, CA03Create, change, display routing
Work CenterCR01, CR02, CR03Create, change, display work center
Production OrderCO01, CO02, CO03Create, change, display prod order
Order ConfirmationCO11N, CO15Confirm operations
Goods IssueMIGO, MB1AIssue components to order
Goods ReceiptMIGO, MB31Receive finished goods
Capacity PlanningCM01, CM21Capacity evaluation
Production Order Lifecycle
Planned Order (from MRP)
         │
         ▼
Production Order Created (CO01)
    Status: CRTD (Created)
         │
         ▼
Order Released (CO02)
    Status: REL (Released)
         │
         ▼
Components Issued (MIGO - 261)
    Status: REL + GMPS (Goods Mvmt Posted)
         │
         ▼
Operations Confirmed (CO11N)
    Status: REL + CNF (Confirmed)
         │
         ▼
Goods Receipt (MIGO - 101)
    Status: DLV (Delivered)
         │
         ▼
Order Settlement (CO88)
    Status: TECO (Technically Complete)
         │
         ▼
Order Closed
    Status: CLSD (Closed)
MRP Types
MRP TypeDescriptionUse Case
PDMRPStandard planning
VBReorder PointSimple replenishment
VMManual ReorderException items
NDNo PlanningNon-stock items
VVForecast-basedSeasonal demand
Lot Sizing Procedures
ProcedureDescription
EXExact lot size
FXFixed lot size
HBReplenish to max
TBDaily lot size
WBWeekly lot size
MBMonthly lot size

Sales & Distribution (SD)

Key Processes
ProcessT-CodesDescription
Sales OrderVA01, VA02, VA03Create, change, display SO
DeliveryVL01N, VL02N, VL03NCreate, change, display delivery
Goods IssueVL02NPost goods issue
BillingVF01, VF02, VF03Create, change, display invoice
Customer MasterXD01, XD02, XD03Create, change, display customer
PricingVK11, VK12, VK13Maintain condition records
AvailabilityCO09, MD04Check ATP
Order-to-Cash Flow
Customer Inquiry (VA11)
         │
         ▼
Quotation (VA21)
         │
         ▼
Sales Order (VA01)
         │
         ▼
Delivery (VL01N)
         │
         ▼
Goods Issue (VL02N)
         │
         ▼
Billing (VF01)
         │
         ▼
Payment Receipt (FI)

Quality Management (QM)

Key Processes
ProcessT-CodesDescription
Inspection LotQA01, QA02, QA03Create, change, display
Results RecordingQE51NEnter inspection results
Usage DecisionQA11, QA12Accept/reject lot
Quality NotificationQM01, QM02Create, change notification
Quality CertificateQC21, QC22Create, display certificate
Inspection PlanQP01, QP02Create, change plan
Master Inspection CharQS21, QS22Create, change MIC
Inspection Types
TypeDescriptionTrigger
01Goods ReceiptPO receipt
02Goods Receipt (Prod)Production GR
03In-processDuring production
04Final InspectionBefore delivery
05AuditPeriodic audit
08/09RecurringTime-based
10Source InspectionAt vendor
Usage Decision Codes
CodeDescriptionStock Posting
AAcceptUnrestricted
RRejectBlocked/Scrap
PPartialSplit stock

Plant Maintenance (PM)

Key Processes
ProcessT-CodesDescription
Equipment MasterIE01, IE02, IE03Create, change, display
Functional LocationIL01, IL02, IL03Create, change, display
Maintenance OrderIW31, IW32, IW33Create, change, display
NotificationIW21, IW22, IW23Create, change, display
Work Order ConfirmIW41, IW42Time confirmation
Preventive MaintIP10, IP30Schedule, deadline monitoring
Task ListIA01, IA02Create, change task list
Maintenance Order Types
TypeDescription
PM01Corrective Maintenance
PM02Preventive Maintenance
PM03Refurbishment
PM04Calibration

Finance & Controlling (FI/CO)

Key T-Codes
ProcessT-CodesDescription
G/L PostingFB50, FB01Document entry
Vendor InvoiceFB60A/P invoice
Customer InvoiceFB70A/R invoice
PaymentF110Automatic payment
Cost CenterKS01, KS02Create, change CC
Internal OrderKO01, KO02Create, change order
Cost AnalysisKSB1, KOB1Line item reports
Document Types
TypeDescription
SAG/L Account Document
REInvoice - Gross
KRVendor Invoice
KGVendor Credit Memo
DRCustomer Invoice
DGCustomer Credit Memo

Common Integration Scenarios

Procure-to-Pay
MM (PR → PO) → MM (GR) → QM (Inspection) → MM (Stock) → FI (Invoice → Payment)
Plan-to-Produce
SD (SO) → PP (MRP) → PP (Prod Order) → MM (GI) → PP (Confirm) → MM (GR) → CO (Settlement)
Order-to-Cash
SD (SO) → MM (ATP) → SD (Delivery) → MM (GI) → SD (Billing) → FI (A/R)

Troubleshooting Quick Reference

Common Issues
IssueCheckResolution
PO won't releaseRelease strategyCheck approval workflow
GR blockedQM inspectionComplete usage decision
MRP not runningPlanning fileMDAB/MD21 to reset
Invoice mismatch3-way matchCheck PO/GR quantities
Stock negativeMovement typeCorrect posting/reversal
Order not settlingStatusCheck TECO status
Useful Reports
ReportT-CodePurpose
Stock OverviewMB52Warehouse stock
Purchase OrdersME2MPO by material
Open OrdersCOOISProduction order status
MRP ListMD05Planning results
Delivery DueVL10Deliveries to create
Open ItemsFBL1N/FBL5NA/P, A/R aging

Best Practices for Automotive

Master Data Quality
  1. Material Master

    • Complete all required views
    • Accurate lead times
    • Correct UoM and conversion
    • Updated safety stock
  2. BOM Accuracy

    • Current revision level
    • Correct quantities
    • Valid date ranges
    • Phantom assemblies where appropriate
  3. Routing Accuracy

    • Realistic operation times
    • Correct work centers
    • Setup and run time split
    • Scrap factors
IATF 16949 Alignment
SAP ProcessIATF Requirement
QM InspectionProduct verification
Batch TraceabilityIdentification and traceability
Document ControlDocumented information
Calibration (PM)Monitoring and measuring resources
Change ManagementDesign and development changes

Quick Reference Cards

Movement Types
TypeDescriptionProcess
101GR from purchase orderMIGO
102Reversal of 101MIGO
103GR to quality inspectionMIGO
104Reversal of 103MIGO
105GR to blocked stockMIGO
201GI for cost centerMIGO
261GI for production orderMIGO
262Reversal of 261MIGO
301Transfer posting plant to plantMIGO
311Transfer to another storage locationMIGO
501GR without POMIGO
561Initial entry of stockMIGO
601GI for deliveryVL02N
Order Status Codes
StatusDescription
CRTDCreated
RELReleased
PCNFPartially confirmed
CNFConfirmed
PDLVPartially delivered
DLVDelivered
TECOTechnically complete
CLSDClosed
DLFLDeletion flag

Integration with PAI Skills

AutomotiveManufacturing
  • Work instructions reference SAP transactions
  • Document control aligned with SAP DMS
  • Quality procedures link to QM inspection
SupplyChain
  • Purchasing processes in MM
  • Supplier scorecards from QM data
  • Inventory management strategies
A3CriticalThinking
  • Root cause analysis for SAP process issues
  • Priority hierarchy for system changes

Examples

Example 1: Creating a purchase order for raw material User: "I need to create a PO for 500kg of 6061 aluminum billet from our approved vendor" Approach: Confirm a source list/info record exists for the material-vendor pair, raise the PR (ME51N) if one isn't already converted, convert to PO (ME21N) with the correct purchasing group and plant, check the release strategy (ME28) if the value exceeds the approval threshold, and confirm the vendor's planned delivery time (PLIFZ) against the need date.

Example 2: Production order stuck in COGI User: "CO11N confirmation is failing with a backflush error for order 100234" Approach: Open COGI to see the failed movement, check component stock in MMBE (is it short, or sitting in blocked/QI stock instead of unrestricted), verify the storage location determination on the order, correct or post the missing stock, then reprocess the order from COGI rather than re-confirming from scratch.

Example 3: MRP not generating planned orders User: "MD04 shows nothing for material X even though stock is below the reorder point" Approach: Check the planning file entry (MD21) — if the material isn't flagged as relevant it won't be picked up by MD01/MD02. Verify the MRP type is PD (not VB/ND), confirm the lot size procedure isn't suppressing small orders, and check the MRP area assignment matches the plant/storage location in question.


Extended Context

For detailed transaction guides and configuration: read ~/.claude/skills/SapEcc/CLAUDE.md

For transaction code reference: read ~/.claude/skills/SapEcc/reference/tcodes.md

Comments

Markdown supported