Lesson 3 of 5
Channels and forms
11 min
Listen to this lesson
Once SAP knows what to send and to whom, it has to produce the document and get it there. That is the job of channels and forms. Both differ between editions and between projects, so treat this lesson as the map and confirm the detail with your output consultant.
Channels
| Channel | What happens | What to check | Contoso use |
|---|---|---|---|
| A print job is sent to a print queue, which sends it to a physical printer | Right printer, copies, paper tray; job actually printed | Delivery notes at shipping points 1710 and 1720 | |
| A PDF is attached to an email built from an email template and sent via the mail server | Sender, recipients, subject and body, attachment, size | Invoices and order confirmations to fleet customers | |
| XML | Structured data is sent electronically, typically to a network or e-invoicing service | Format, mandatory fields, acknowledgments | Possible future e-invoicing |
| IDoc (on-premise and private cloud) | An IDoc is created for EDI partners | Partner profile, message type, status of the IDoc | Invoices to Great Lakes Fleet Services (X12 over AS2, through Process Orchestration at go-live) |
EDI-type channels do not use form templates; they send data, not a layout. That changes what you test: field mapping and acknowledgment instead of how the page looks.
Form templates
For print and email, the document layout comes from a form template. In SAP S/4HANA output management the default form technology is Adobe-based forms (XFA), rendered by Adobe Document Services; SAP also offers the SAP Forms Service by Adobe on SAP BTP as a hosted option. Form templates are commonly split into a master form (logo, header, footer, company address, shared across documents) and a content form (the document-specific content, such as invoice items).
Key users manage templates in the Maintain Form Templates app: they can see SAP's delivered templates, download one, adapt it in Adobe LiveCycle Designer, and upload it as a custom template, which output parameter determination can then select. Related apps cover the rest of the layout: Maintain Email Templates for the subject and body, Manage Logos and Manage Texts for the logo, header and footer texts used by master forms, and Maintain Print Queues for printers. In Public Edition, this is the only way to change forms. Private Edition and on-premise customers can also develop forms in the classic way, and SAP documents how SAPscript, Smart Forms and custom Adobe forms can be connected to output control (see SAP Note 2294198), which matters for ECC conversions.
Clean core: where form changes belong
Contoso's ECC invoice used a heavily modified print program. For the S/4HANA invoice the program chose a custom form template on SAP's billing document data source, with two extra fields (Great Lakes' depot code and the GLFS purchase order number) added through key user extensibility: the Custom Fields app lets you enable a custom field for form templates, so it appears in the form's data source without modifying SAP code. That keeps the invoice upgrade-safe, which is the point of a clean core. A copied print program with custom selects is the opposite: it works on go-live day and breaks on the next upgrade.
| Change | Clean-core way | Avoid |
|---|---|---|
| New field on the invoice | Custom field enabled for form templates, placed in a custom content form | Modifying SAP's data provider class or print program |
| New logo or footer | Manage Logos and Manage Texts, used by the master form | Hard-coding the logo into every content form |
| Customer-specific channel | A row in the OPD channel table, or channel data on the business partner | Custom code that sends emails from a user exit |
| Special email wording | A copied template in Maintain Email Templates | Building the email body in ABAP |
Email specifics
Email output depends on more than SAP. The mail server configuration, sender domain settings and the receiving company's spam filters all decide whether an invoice arrives. Email templates define the subject and body, often with placeholders such as the invoice number, so test that the placeholders are filled. Size limits apply to attachments; in Public Edition SAP documents a limit of 25 MB per email including attachments, and on-premise limits depend on your mail setup. To see what SAP actually handed to the mail server, use transaction SOST (send requests and their status) on-premise and in Private Edition, or the email transmission monitoring app in Public Edition. An output item that is completed but has no entry in SOST points to a configuration problem, not to the customer's spam filter.
Languages and versions
Forms are language-dependent. If Contoso ships to a Canadian customer that wants French documents, the form template step must find a French version. Test each language in scope with real characters (accents, special symbols), and check that long product descriptions and addresses do not overflow the layout.
What would you do?
Contoso wants its new logo on all customer documents. The output consultant proposes updating the master form template only. Priya asks how much testing is needed. What do you recommend?
- Channels: print (print queue), email (template + PDF), XML and IDoc for electronic exchange.
- EDI-type channels send data, not forms; test mapping and acknowledgments.
- Forms: Adobe-based by default; master form for shared elements, content form per document.
- Maintain Form Templates manages custom templates; confirm edition-specific options with an SME.
Check your understanding · not graded
Lesson check
1. Which channel does NOT use a form template?
2. What does a master form template typically contain?
3. Which app is used to upload a custom form template?
4. What is the default form technology in SAP S/4HANA output management?
5. Contoso needs Great Lakes' depot code on the invoice. Which approach keeps the core clean?