01 — Notebook Information & Scope
“In an ERP system, there are no independent department documents. A sales order, a goods issue slip, an invoice, and a ledger balance are merely different real-time views of one continuous commercial transaction.”
- Domain: Operations & Supply Chain Systems
- Subject: Enterprise Resource Planning
- Pedagogical Lead: Prof. Rahul Altekar
- Core Reference Model: The SAP Enterprise Integration Matrix (SD, MM, PP, QM, FI, CO) & The Document Principle
02 — Learning Map
[Procure-to-Pay (P2P)] [Order-to-Cash (O2C)]
Purchase Requisition (MM) Inquiry & Quotation (SD)
│ │
▼ ▼
Purchase Order (MM) Sales Order Creation (SD)
│ │
▼ ▼
Goods Receipt [GRN] (MM/FI) Availability Check (ATP) & Credit Check (FI)
│ │
▼ ▼
Invoice Verification / 3-Way Match (MM/FI) Delivery & Picking / Packing (MM/SD)
│ │
▼ ▼
Vendor Payment (FI-AP) Goods Issue [PGI] (Inventory & COGS update)
│
▼
Billing & Customer Invoice (SD/FI-AR)
│
▼
Incoming Payment Clearing (FI)
03 — Core Concepts: The SAP Modular Structure & The Document Principle
SAP ERP organizes corporate operations into tightly coupled functional modules:
| Module | Name | Core Functional Responsibility | Key Master Data |
|---|---|---|---|
| SD | Sales & Distribution | Customer pricing, quotations, sales orders, shipping, billing | Customer Master, Pricing Condition Records |
| MM | Materials Management | Purchasing, vendor evaluation, inventory valuation, warehouse goods movements | Material Master, Vendor Master, Info Records |
| PP | Production Planning | Master scheduling, MRP calculations, shop floor routings, work center capacity | BOM, Work Centers, Routings |
| FI | Financial Accounting | External legal reporting, General Ledger (G/L), Accounts Payable (AP), Accounts Receivable (AR) | Chart of Accounts, G/L Accounts, Fiscal Calendar |
| CO | Controlling (Management Accounting) | Internal cost tracking, cost center accounting, product costing, profit center reporting | Cost Centers, Internal Orders, Cost Elements |
The SAP Document Principle
Every physical movement of material or legal financial commitment in SAP generates an immutable electronic document with a unique alphanumeric identifier. Once posted:
- An electronic document cannot be deleted.
- Errors are corrected exclusively through explicit reversal documents (credit memos or return delivery documents).
- Provides complete audit trail traceability from balance sheet entry back to the original shipping pallet barcode.
04 — The Procure-to-Pay (P2P) Lifecycle & The 3-Way Match
The Procure-to-Pay cycle governs the operational requisition, acquisition, and financial settlement of raw materials, capital equipment, and operational services.
[Purchase Requisition] ──> [Purchase Order] ──> [Goods Receipt (GRN)] ──> [Invoice Verification] ──> [Payment]
The 3-Way Match Control Mechanism
Prior to releasing vendor payment, the ERP system autonomously compares three distinct documents:
The 3-Way Reconciliation Triangle in Procure-to-Pay
COMPARISONQuantity Ordered vs Quantity Received vs Quantity Invoiced
Quantity on Vendor Invoice must match Quantity physically verified on the Goods Receipt Note (GRN) within predefined tolerance limits. Over-invoicing holds the payment automatically.
Accounting Postings during P2P:
- At Goods Receipt (GRN posted in MM):
- Inventory Account (Raw Materials) $\rightarrow$ DEBIT (asset increases)
- Goods Receipt / Invoice Receipt (GR/IR) Clearing Account $\rightarrow$ CREDIT (temporary liability)
- At Invoice Receipt (Vendor invoice processed in FI-AP):
- GR/IR Clearing Account $\rightarrow$ DEBIT (clears the temporary liability)
- Vendor Accounts Payable Subledger $\rightarrow$ CREDIT (formal liability to supplier)
- At Vendor Payment Execution (FI Treasury):
- Vendor Accounts Payable Subledger $\rightarrow$ DEBIT (liability settled)
- Bank / Cash Clearing Account $\rightarrow$ CREDIT (cash outflow)
Why GR/IR Clearing Matters
The GR/IR account prevents phantom invoices. If a vendor sends an invoice for 500 units but the warehouse dock only scanned 300 units onto the GRN, the system holds the remaining 200 units in an exception queue and blocks payment disbursement.
05 — The Order-to-Cash (O2C) Lifecycle
The Order-to-Cash cycle governs the fulfillment of customer demand from initial contact to bank receipt.
1. Sales Order Creation & Dynamic Checks
When an order entry specialist keys in a customer order:
- Available-to-Promise (ATP) Check: The system validates uncommitted inventory in real-time, considering on-hand stock, planned shop receipts, and safety buffers.
- Credit Limit Verification: The system queries the customer’s open receivables in FI-AR against their approved credit ceiling. If exceeded, the order is blocked automatically.
2. Post Goods Issue (PGI)
The physical loading of freight onto customer trucks triggers the Post Goods Issue (PGI) transaction:
- Inventory is decremented from the plant/storage location.
- General Ledger posting occurs synchronously:
- Cost of Goods Sold (COGS) $\rightarrow$ DEBIT (Income statement expense)
- Finished Goods Inventory $\rightarrow$ CREDIT (Balance sheet asset reduction)
3. Billing & Invoicing
When the billing run executes:
- Customer Accounts Receivable Subledger $\rightarrow$ DEBIT (customer obligation)
- Revenue Account $\rightarrow$ CREDIT (Income statement top-line)
4. Cash Collection
Upon bank remittance:
- Bank Account $\rightarrow$ DEBIT (cash inflow)
- Customer Accounts Receivable Subledger $\rightarrow$ CREDIT (receivable cleared)
06 — 2-Tier ERP & Hybrid Cloud Architecture
Modern multinational corporations rarely run a single, monolithic ERP instance across all subsidiaries. Instead, they deploy a Two-Tier ERP Topology:
┌────────────────────────────────────────────────────────┐
│ Tier 1: Corporate Global Core (SAP S/4HANA On-Prem) │
│ - Global Financial Consolidation │
│ - Enterprise Treasury & Risk │
│ - Strategic Global Procurement │
└───────────────────────────┬────────────────────────────┘
│ Real-Time APIs / OData
┌───────────────┴───────────────┐
▼ ▼
┌─────────────────────────┐ ┌──────────────────────────┐
│ Tier 2: Subsidiary Plant│ │ Tier 2: Distribution Hub │
│ (Cloud SAP S/4 Public) │ │ (SaaS ERP / Specialized) │
│ - Rapid Shop Execution │ │ - Local Country Tax/Legal│
│ - Flexible Agile Sprints│ │ - Fast Regional Onboard │
└─────────────────────────┘ └──────────────────────────┘
- Tier 1 (Corporate Core): Heavyweight, deeply customized instance running at global headquarters handling corporate consolidation, legal disclosures, and enterprise capital allocation.
- Tier 2 (Subsidiary Layer): Standardized, multi-tenant SaaS ERP deployed across fast-growing international acquisitions and sales subsidiaries, delivering rapid 90-day deployments while syncing roll-up figures to Tier 1 via REST/OData APIs.
07 — Mini-Case: Global Logistics Automation at Titan Industrial
- Challenge: Titan Industrial operated disparate legacy billing in Germany and manufacturing in India. Month-end financial consolidation required 18 business days because intercompany sales orders required manual matching against procurement purchase orders.
- Architecture Solution: Implemented unified SAP S/4HANA with Intercompany Cross-Company Code Sales integration.
- Mechanics: When the German sales office creates an SD order for an Indian-manufactured power generator, an internal purchase order and EDI delivery note are generated autonomously.
- Outcomes:
- Month-end financial close accelerated from 18 days to 2.5 days.
- Zero reconciliation variance across intercompany receivables and payables.
- Working capital cycle improved by 22 days.