📚 Guide #88 Technical Deep Dive

SAP S/4HANA Clean Core Output Management

Published: October 2026 | S/4HANA Cloud & 2023/2025 Architecture | Author: Andrea Perrelli

Complete guide to retiring classic NAST message control. Learn how to configure S/4HANA Output Control (OPD), BRFplus decision tables, Adobe Document Services (ADS) Master Templates, and Cloud Print Queues.

1. Why Classic NAST is Dead in Clean Core

In SAP ECC and early S/4HANA releases, document output (invoices, purchase orders, shipping notes) relied on message control via table NAST, transaction NACE, and procedural print programs linked to SAPscript or SmartForms.

In modern SAP S/4HANA (Private Cloud, Public Cloud, and On-Premise 2023+), NAST is officially deprecated and incompatible with Clean Core:

2. Architectural Comparison: NAST vs. S/4HANA Output Control (OPD)

Capability Classic NAST (Deprecated) S/4HANA Output Control (OPD - Clean Core)
Configuration Engine Transaction NACE, Table TNAPR Transaction OPD (BRFplus Decision Tables)
Language Scope Classic Unrestricted ABAP Strict ABAP Cloud / Released APIs
Form Technologies SAPscript, SmartForms, Classic PDF Adobe Document Services (ADS) Master Forms
Spool & Routing SAP Spool (SP01) via Host Spooler BTP Cloud Print Queues & Cloud Print Manager (CPM)
Dispatch Mechanism Report RSNAST00 Application Job APOC_OR_MESSAGES_DISPATCH

3. The 6-Step BRFplus OPD Determination Flow

When an S/4HANA business object is saved (e.g. via RAP EML or standard transactions), S/4HANA Output Control executes a series of sequential BRFplus decision tables configured in transaction OPD:

  1. Output Type: Evaluates business attributes (e.g., Billing Type F2 -> BILLING_INV).
  2. Receiver: Determines business partners to receive output (e.g., Sold-To Party, Bill-To Party).
  3. Channel: Determines delivery mechanism (PRINT, EMAIL, EDI).
  4. Printer / Print Queue: Maps user or plant to a clean core Cloud Print Queue.
  5. Form Template: Selects Adobe Master Form Template (e.g., SOMU_FORM_INVOICE_ADS).
  6. Output Relevance: Final gatekeeper rule verifying whether the document status qualifies for output.
Clean Core Best Practice

Never write custom database triggers for document printing. Utilize the released clean core BAdI BADI_OUTPUT_CONTROL_PARAMS to adjust parameters dynamically without breaking Clean Core compliance.

4. Interactive Architecture Generator

Generate production BRFplus decision tables, ABAP Cloud print queue handlers, and BAdI parameter implementations:

5. S/4HANA NAST Decommissioning Checklist