Lesson 1 of 6
Two frameworks, one goal
8 min
Listen to this lesson
Every outbound EDI message starts as a decision inside the application: this sales order needs a confirmation, this delivery needs a ship notice, this invoice needs to go to the customer. That decision is called output determination. It answers what to send, to whom, through which channel and when. Only after it has produced an output does the IDoc interface (course sap-edi-201) build and send the IDoc. So when Maria asks why Great Lakes Fleet Services did not get an 855 for sales order 1000457, the first question is not about ports or middleware. It is whether output determination produced an EDI output at all.
SAP S/4HANA has two frameworks for this, and a converted system like Contoso's uses both.
| Aspect | Message control (NAST) | SAP S/4HANA output control |
|---|---|---|
| Technique | Condition technique: output types, access sequences, condition tables, condition records | Business rules in decision tables (BRFplus), maintained in the Output Parameter Determination app |
| Configuration entry point | Transaction NACE per application (V1 sales, V2 shipping, V3 billing, EF purchasing) | Customizing under Cross-Application Components > Output Control; rules in transaction OPD |
| Where output is stored | Table NAST: one record per output with medium, partner, status | Output request items with type, receiver, channel and status |
| EDI medium or channel | Medium 6 (EDI) hands the output to the IDoc interface | Channel EDI (IDoc or SOA message, defined by the application); channel IDOC only for intercompany billing |
| System integration (ALE) | Supported, medium A | Not part of the framework: business receivers only |
Classic message control
Message control, also called output determination or NAST after its main table, has run SAP output since R/3. It uses the same condition technique as pricing: an output determination procedure lists output types; each output type has an access sequence; each access reads condition tables; and condition records say, for a given key such as sales organization and customer, which partner function, medium and dispatch time to use. For EDI the medium is 6 (EDI), and the processing routine for that medium hands the output to the IDoc interface, which finds the partner profile and builds the IDoc.
SAP S/4HANA output control
SAP S/4HANA output control (often called output management) determines output with business rules in decision tables, maintained in the Output Parameter Determination app. For each business application it runs determination steps in order, including output type, receiver, channel, printer or email settings, form template and output relevance. SAP Learning describes it as the successor to the earlier frameworks. For electronic messages, SAP's documentation is precise: output control supports the channels IDOC, XML and EDI; the IDOC channel is designed for intercompany billing only; the EDI channel, available since 2019, is the default for electronic communication with business receivers and supports IDoc and SOA (XML) formats depending on the application; and output control does not handle system integration such as ALE.
Which one does a document use?
The choice is made per application object type (for example SALES_DOCUMENT, BILLING_DOCUMENT or PURCHASE_ORDER) in Customizing under Cross-Application Components > Output Control > Manage Application Object Type Activation, where each object is either left at its default or set to "Application Inactive" so that NAST is used. The defaults differ by object and by source: SAP's billing documentation states that output control is active for billing documents after a conversion, while SAP Learning's purchasing course says NAST remains the default on premise and recommends that converted systems keep their existing NAST setup. Never assume; open the activity in the system you are testing.
| Application object type | Framework at Contoso | EDI output | Partner |
|---|---|---|---|
| SALES_DOCUMENT | NAST (Application Inactive in output control) | BA00 → ORDRSP (855) | Great Lakes Fleet Services |
| Outbound delivery | NAST | LAVA → DESADV (856) | Great Lakes Fleet Services |
| BILLING_DOCUMENT | SAP S/4HANA output control | BILLING_DOCUMENT, channel EDI → INVOIC (810) | Great Lakes Fleet Services |
| PURCHASE_ORDER | NAST (Application Inactive in output control) | NEU → ORDERS (850) | Lakeside Components |
Contoso's output framework per document type after the conversion, and the EDI messages each one triggers.
Why does this matter for testing? Because the two frameworks fail differently. A NAST problem usually shows up as a missing or red output line on the document, with a processing log and a determination analysis to explain it. An output control problem shows up as a missing or stuck output item, explained by the rules in OPD and the item's log. A tester who knows which framework a document uses goes straight to the right screen; a tester who does not wastes the first hour of every defect.
What would you do?
A tester in CMQ cannot find any BA00 condition records for Great Lakes and concludes that order confirmations must run on output control. What should Priya tell her?
- Output determination decides whether an EDI output exists; the IDoc interface only acts on what it produces.
- Message control (NAST) uses the condition technique and medium 6; output control uses decision-table rules and the EDI channel.
- Manage Application Object Type Activation sets the framework per application object type; defaults differ, so check the system.
- At Contoso, billing runs on output control while sales documents, deliveries and purchase orders stay on NAST.
Check your understanding · not graded
Lesson check
1. Where is the choice between NAST and output control made for a document type?
2. According to SAP's documentation, what is the IDOC channel of output control designed for?
3. Which statement about output control and ALE is correct?