Symptom
There is a need to make additional fields visible on the billing document printout
Environment
SAP S/4HANA Cloud Public Edition
Reproducing the Issue
1. Go to the app 'Manage Billing Documents'
2. Select the billing document
3. Click 'Display'
4. Go to the tab 'Output Items'
5. Click 'Preview'
-> some information is missing on the billing document printout
OR
1. Go to the app 'Display Billing Documents'
2. Enter the billing document number
3. Click 'Continue'
4. Click 'More' / Goto / Header / Output
5. Select the output item
6. Click 'Display PDF Document'
-> some information is missing on the billing document printout
Cause
Some fields are not contained in the standard billing document form template.
The following forms are delivered by SAP and can be adapted:
- SDBIL_CI_STANDARD_... used for standard customer invoices
- SDBIL_CI_PROF_SRV_... used for professional service invoices
- SDBIL_CM_STANDARD_... used for credit memos
- SDBIL_IL_STANDARD_... used for invoice lists
Resolution
Follow the steps provided at SAP Help How to Extend a Custom Form Template with Custom Fields
Detailed steps and example codes are provided as attachments in the below KBAs in order make the following fields visible on the billing document printout:
ATF licence - KBA 3044080
Bill to language - KBA 3044115
Commodity code - KBA 3044158
Country of origin - KBA 3044152
Created on date - KBA 3044166
Customer material ID - KBA 3045564
Delivery number - KBA 3044154
Net weight and unit - KBA 3045616
Payment method name - KBA 3044469
Purchase order by customer - KBA 3044454
Purchase order date - KBA 3044588
Reference document number - KBA 3044196
Sales office name - KBA 3044533
Sales order reason - KBA 3044607
Service contract dates - KBA 3045610
Tax code - KBA 3046578
Tax percentage - KBA 3044583
See Also
SAP Help - How to Extend a Custom Form Template with Custom Fields
SAP Help - Videos for Sales Billing - How to Bring Custom Fields to Billing Document Output
SAP Help - Extensibility for Output Forms and Email Templates of Billing Documents
SAP Help - Maintain Form Templates
SAP S/4HANA Cloud Public Edition Customer Community - Sales
Extend Form Template using SAP S/4HANA Cloud Public Edition In-App Extensibility
SAP Extensibility Explorer for SAP S/4HANA Cloud Public Edition
App 'Display Billing Documents'
KBA 2822787 - Manage Billing Documents Output Items "Preview" differs from "Display Document" - SAP S/4HANA Cloud Public Edition
KBA 2491462 - Invoice Item Text Output
KBA 2678898 - How to get the form data XML for a business document
Keywords
SAP S/4HANA Cloud Public Edition*, S4_PC, billing document, invoice, invoice list, output, print, printout, Druck, additional fields, extensibility, custom field, Custom Fields and Logic, extension field, Enhancement Implementation, Business Context Sales: Billing Document, Billing Standard Output Header Adaption, Enhance_Print_Program, F1481, output item, display, SDBIL_CI_STANDARD_*, SDBIL_CI_PROF_SRV_*, SDBIL_CM_STANDARD_*, SDBIL_IL_STANDARD_*, VF01, VF03, VF02, VF04, VF21, VF22, VF23, pdf, form, form template, standard, angezeigt, Form, Schablone, Standard, Rechnung, professionellen Service Rechnungen, Gutschriften, Rechnungsliste, ATF Lizenz, Zahlungsmethode, Urprungsland, Erstellt am Datum, Lieferungsnummer, Wechselkurs, Netto Betrag, Kundenmaterial, Steuer Code , KBA , SD-BIL-GF-OC , Output Control Billing , SD-BIL-GF-OC-2CL , Output Control Billing (Public Cloud) , CA-GTF-OC , SAP S/4HANA output management , How To