End-to-End Processes

This content was generated with the assistance of AI and should be verified against the official documentation before being relied on in production.

A company does not work in modules. A purchase starts with someone who needs a material, passes through the warehouse, and ends when the accounting department pays a supplier. SAP calls such a chain of work across departments an end-to-end process, and a newcomer meets the idea in every project: a change in one module, such as a new payment term on a supplier, shows up in the next module of the chain. This page walks through five end-to-end processes, with a flowchart for each one: procure-to-pay (buying), order-to-cash (selling), plan-to-produce (making), record-to-report (accounting) and hire-to-retire (employing people). After reading it you can name the steps of each process, say which area of SAP owns each step, and explain why the areas must agree on shared data. The page applies to SAP S/4HANA 2025 FPS02 on premise and Private Edition and to SAP S/4HANA Cloud Public Edition 2608. The SAP Learning courses used as sources name SAP S/4HANA Enterprise Management and SAP S/4HANA Cloud Private Edition (the basic ERP course) and also SAP S/4HANA Cloud Public Edition (the end-to-end course); where a detail comes from only one of them, the text says so, and the exact screens can differ between editions.

Before you read

  • Getting Started with ABAP: what an SAP system is and where ABAP code runs, which helps when a step below is later extended with custom code.

The other pages of the SAP general section are mentioned here in plain words because they are written separately: the organizational structures page (client, company code, plant and sales area), the master data and business partner page, and the glossary. Reading the organizational structures page first is useful, because every document below is posted for a company code and a plant.

Key terms

  • End-to-end process: a chain of steps that runs across several departments and SAP modules from a trigger to a final result.

  • Purchase order: the document with which a company orders materials or services from a supplier.

  • Goods receipt: the posting that records that ordered goods arrived, or that manufactured goods were received from production.

  • Sales order: the binding commitment to deliver products at defined prices, quantities and times.

  • Billing document: the document, mostly an invoice, that ends the sales and distribution process and posts to accounting.

  • Production order: the document that tells production which material to make, with which components and operations.

  • Material requirements planning (MRP): the planning run that compares demand with stock and receipts and proposes what to buy or make.

  • Accounting document: the record that a posting leaves in financial accounting.

What an end-to-end process is

SAP Learning describes the processes of a company as interconnected and interdependent, and says SAP software lets an organization run them end to end on a single platform. Its course "Exploring End-to-End Business Processes in SAP" names five of them: record-to-report for financial and management accounting, recruit-to-retire for human experience management, source-to-pay for procurement, design-to-operate for production, and lead-to-cash for sales and service. The same course lists the interfaces between departments. Sales works with financial accounting on revenue, production works with controlling on cost estimates and with procurement on materials, procurement works with financial accounting on accounts payable, and human resources works with financial accounting on payroll and people-related costs.

The names differ from source to source. The basic ERP course "Executing Basic ERP Processes with SAP S/4HANA" uses procure-to-pay, plan-to-produce and order-to-cash. This page uses those three names, together with record-to-report from both courses. For the people process it uses the name hire-to-retire, while SAP Learning calls the same area recruit-to-retire. A process name is a label for a chain, not a product: you will not find a transaction named "procure-to-pay".

The chains are also not fixed. A company can skip a step, add one, or hand a step to another product. The procurement lesson of the end-to-end course, for example, names SAP Ariba solutions that can take over the buying steps while the ERP keeps the invoice and payment steps. The flowcharts below show the plain core of each process, not every variant.

Procure-to-pay: buying what the company needs

Procure-to-pay starts with a need for a material and ends with a paid supplier. The basic ERP course lists three simple steps and the apps for them: create a purchase order in the Manage Purchase Orders app, post the goods receipt in the Post Goods Receipt for Purchasing Document app, and record the invoice in the Create Supplier Invoice app. The end-to-end course describes the longer chain around them: master data and sourcing, with purchase requisitions to find suppliers, contract management, operational procurement, receiving, invoice management and payment.

flowchart TD A["Need for a material
purchase requisition"] --> B["Purchase order
to the supplier"] B --> C["Goods receipt
material document and accounting document"] C --> D["Supplier invoice
invoice document and accounting document"] D --> E{"Prices and quantities
match within tolerance?"} E -->|"yes"| F["Payment
payment document"] E -->|"no"| G["Invoice blocked for payment
until the difference is resolved"] G --> F

Which module posts what, as far as SAP Learning confirms it:

  • The purchase order is a procurement document. It has a header (supplier, purchasing organization, currency, payment terms, order date) and items (material, quantity, delivery date, price, plant). The system proposes defaults from the supplier’s business partner record, the material master record and the purchasing info record.

  • The goods receipt creates a material document, which records the material, quantity, plant and storage location, and an accounting document, which updates the value of the goods in stock. Stock is kept by quantity and by value, and each goods movement updates both. General ledger accounts and cost account assignments are updated as well. The lesson does not mention a goods receipt/invoice receipt clearing account, so this page does not either.

  • The supplier invoice creates an invoice document and an accounting document. If prices or quantities differ from the purchase order or goods receipt beyond the defined tolerances, the invoice is still posted but is blocked for payment.

  • Payment belongs to financial accounting. Logistics invoice verification does not include the payment or the evaluation of open liabilities. Payments are usually posted by the automatic payment run, and manual payments are also possible. The Post Outgoing Payments app is the Fiori app named for posting a payment for an invoice that came from materials management. Supplier master data is maintained through the business partner.

Sources: the course unit "Using Procure-to-Pay Processing" and its lessons on purchase orders, goods receipts, incoming invoices and accounts payable, and the end-to-end course lesson "Identifying the Procurement Process" (listed under References). The first course names SAP S/4HANA Enterprise Management and SAP S/4HANA Cloud Private Edition as its products.

Order-to-cash: selling and getting paid

Order-to-cash starts with a customer order and ends with the customer’s money. The end-to-end course calls the same chain lead-to-cash and starts it earlier, with presales activities, followed by sales order management, delivery and shipping, customer billing and customer payments. The basic ERP course describes the core as three steps, sales, shipping and billing, with payments handled in the finance part of SAP S/4HANA.

flowchart TD A["Sales order
sales area assigned"] --> B["Sourcing
from stock or by production"] B --> C["Outbound delivery
picking"] C --> D["Goods issue
material document, stock reduced"] D --> E["Billing document
invoice"] E --> F["Customer receivable
open item in accounts receivable"] F --> G["Incoming payment
accounts receivable"]

Which module posts what, as far as SAP Learning confirms it:

  • A sales order is a contract between a sales organization and the sold-to party. It belongs to a sales area, the combination of sales organization (who sells), distribution channel (how it is sold) and division (what is sold). It has header, item and schedule line levels, and sourcing is organized and monitored in materials management, either from stock or through in-house production.

  • The outbound delivery has a header and item level and is the basis for posting the goods issue. The goods issue reduces the quantity and value in stock and changes the relevant balance sheet accounts. The system creates a material document and reduces stock and requirements, records value changes in the material ledger, creates accounting and controlling documents, adds the delivery to the billing due list and updates the document flow.

  • The billing document is created from the sales order and delivery data and is usually the last step of the sales and distribution process. On save it typically updates the general ledger accounts: a debit to the customer receivables account and a credit to the revenue account. A financial accounting document is created as an open item in the customer’s accounts receivable, a controlling document records the revenue, and a profitability analysis document is generated for operating concern controlling.

  • Incoming customer payments belong to accounts receivable in financial accounting, run by the accounts receivable team. The lesson names the Business Partner tool with the FI Customer role for customer master data, with a reconciliation account, payment terms and dunning terms kept per company code.

Sources: the course unit "Using Order-to-Cash Processing" with its sales order, shipping and accounts receivable lessons, and the end-to-end course lessons "Describing Customer Billing" and "Understanding the Basics of the Sales Process" (listed under References).

Plan-to-produce: making what will be sold

Plan-to-produce turns a forecast or a customer demand into finished goods. The basic ERP course names four steps: demand planning, material requirements planning, procurement and production execution. The end-to-end course calls the production area design-to-operate and adds master data and product cost calculation at the start and period-end closing at the end.

flowchart TD A["Demand
sales orders or planned demand"] --> B["MRP
compares demand, stock and bill of materials"] B --> C["Purchase requisition
for missing raw materials"] B --> D["Planned order
for missing assemblies"] D --> E["Production order created
from the planned order"] E --> F["Release"] F --> G["Goods issue of components
consumption, stock reduced"] G --> H["Confirmation
progress recorded"] H --> I["Goods receipt of finished goods
stock increased"] I --> J["Period-end closing in controlling
WIP, variances, settlement"] C --> K["Continues as procure-to-pay"]

Which module posts what, as far as SAP Learning confirms it:

  • MRP uses demand (sales orders or independent requirements), existing stock and receipts, and the bill of materials. It creates purchase requisitions for missing raw materials, which materials management turns into orders to suppliers (the procure-to-pay chain), and planned orders for missing assemblies, which are later converted into production orders. A planning run named MRP Live is mentioned as a run type.

  • A production order is created from master data such as the routing and is scheduled. It must be released before goods issues, confirmations and goods receipts can be posted. The goods issue posts the components to the order and reduces their stock quantities and values. The confirmation records progress. The goods receipt after the last operation increases stock quantities and values. The lesson does not say where confirmations are posted.

  • Period-end closing of production orders is a controlling task. Work in process, variances and settlement run as periodic activities in the background. Settlement posts work in process, price difference and variance categories to financial accounting and margin analysis, and an order whose balance is zero after settlement receives the final Close status.

Sources: the course unit "Using Plan-to-Produce Processing" with its lessons on planning strategies, MRP and production orders, and the end-to-end course lesson "Understanding the Period End Closing" (listed under References).

Record-to-report: turning postings into reports

Record-to-report is the accounting process that collects the postings of every other process and delivers the reports. The end-to-end course teaches it through eight lessons: basics of financial and management accounting, general ledger basic functions, general ledger integration aspects, accounts payable, accounts receivable, asset accounting, ledgers for parallel accounting, and plan and actual data in overhead cost controlling. This page therefore treats it as the destination of the arrows in the other four flowcharts rather than as a chain of its own.

flowchart LR P2P["Procure-to-pay
supplier invoice and payment"] --> GL["General ledger accounting"] O2C["Order-to-cash
billing document and payment"] --> GL PTP["Plan-to-produce
goods movements and order settlement"] --> GL H2R["Hire-to-retire
payroll results"] --> GL GL --> CO["Management accounting
cost centers and orders"] GL --> REP["Period-end closing and reports"] CO --> REP

What SAP Learning confirms about the accounting side:

  • Financial accounting and controlling work in a uniform data environment in SAP S/4HANA. Financial accounting tracks inventory values, expenses and income, and controlling handles only costs and revenues, so some expenses never reach controlling.

  • Subledgers stay in step with the general ledger through reconciliation accounts. In the course example, a supplier invoice credits the supplier in the accounts payable subledger, the payables reconciliation account in the general ledger carries the same amount, and the expense account is debited with the amount flowing to a cost center as a primary cost.

  • The type of a general ledger account decides whether a posting matters to controlling. Balance sheet accounts and cash and bank reconciliation accounts are financial accounting only, primary cost or revenue accounts are relevant to controlling, and secondary cost accounts exist only for internal postings such as allocations and settlements.

  • Subledgers send collective postings to general ledger accounting, which receives condensed data from them. The course also lists asset accounting (acquisitions, transfers and retirements) and ledgers for parallel accounting as parts of the process.

A section for the finance pages of this site (general ledger, accounts payable and receivable, asset accounting and controlling) is planned; those pages do not exist yet, so this page does not link to them. Source: the end-to-end course unit on record-to-report (listed under References).

Hire-to-retire: employing people

Hire-to-retire follows an employee from the open position to the end of the employment, and it is where human resources meets finance because pay is also a cost. SAP Learning names this area recruit-to-retire and builds it on SAP SuccessFactors, so it is the one process of the five that does not start in SAP S/4HANA. Its overview graphic gives six phases: recruiting, master data, learning, performance, payroll and compensation, and reporting. The page does not mention offboarding, so the flowchart below does not show it either.

flowchart TD A["Recruiting
job requisition and applicants"] --> B["Onboarding
new-hire paperwork online"] B --> C["Employee Central
employee records"] C --> D["Learning and performance"] C --> E["Payroll
release, run, check, exit"] E --> F["Payroll results posted to finance"] D --> G["Reporting and people analytics"] F --> G

What SAP Learning confirms:

  • Onboarding is integrated with recruiting, so new hires can complete paperwork online before the first day, and much of the new-hire information is sent to Employee Central.

  • A payroll run follows a fixed sequence: release payroll, start payroll, check results, exit payroll. A payroll area groups employees who share pay date and period parameters. Results can be corrected and rerun, and entries missed in a closed period are handled in the next run through retroactive accounting.

  • A lesson titled "Processing Payroll and Posting Payroll Results to Finance" covers the posting of payroll results to financial accounting, but its page does not describe the posting logic, the account determination or the resulting finance documents. This page therefore states only that payroll results are posted to finance and does not say which module creates which document.

In an SAP S/4HANA system that runs payroll itself, the baseline facts apply: SAP HCM for SAP S/4HANA needs a separate license, and from SAP S/4HANA 2025 its business function is active by default, so HCM can no longer run in compatibility mode. A human resources section for this site is planned and does not exist yet. Sources: the end-to-end course unit on recruit-to-retire, and the SAP Help Portal page on SAP HCM for SAP S/4HANA (listed under References).

Why the chains matter for a developer and for a consultant

Every arrow in the flowcharts is a handover of data between two areas, and each handover can be extended or can fail. The business partner, the material master record and the organizational units are shared by the steps, so a wrong payment term or a missing plant shows up several steps later. Documents link to each other: the course lessons describe a document flow in sales and distribution that updates the status of all associated documents. For an ABAP developer this is the reason a custom check on a purchase order or a billing document must respect what the neighboring steps expect. The classic extension points and the modern ones differ by edition, which the ABAP section of this site explains in Language Versions and Released APIs.

Summary

  • An end-to-end process is a chain of steps across modules. This page covers procure-to-pay, order-to-cash, plan-to-produce, record-to-report and hire-to-retire; SAP Learning also uses the names source-to-pay, lead-to-cash, design-to-operate and recruit-to-retire for the same areas.

  • Procure-to-pay runs from purchase order to goods receipt, supplier invoice and payment. The goods receipt and the supplier invoice each create an accounting document.

  • Order-to-cash runs from sales order to delivery, goods issue, billing document and incoming payment. The billing document posts a debit to receivables and a credit to revenue.

  • Plan-to-produce runs from MRP to production order, goods issue of components, confirmation, goods receipt of finished goods and period-end settlement.

  • Record-to-report receives the postings of all other processes through the general ledger and the subledgers.

  • Hire-to-retire is built on SAP SuccessFactors and passes payroll results to finance.