When you post journal entries with one customer account per document to create a simple outgoing invoice in SAP S/4HANA Cloud, you might face some issues when trying to print the invoice within Accounts Receivable.
The good news is that there’s a workaround available to enable you to print the invoice by maintaining the form based on a pre-delivered template. The form template for FI invoice enables you to cover specific cases for invoices in Financials, such as when you have one customer line item per document or use only G/L account line items with revenue accounts.
Let’s have a look at the steps below for creating a form template for FI invoice based on a pre-delivered template.
Maintain Form Template
The first thing you need to do is to get data from correspondence type SAP09.
To do that, proceed as follows:
Go to the Maintain Form Template app.
In the Pre-delivered Templatessection, select theFIN_FO_CORR_INTDOC_ENTRYstandard form template from the list and copy it to create a custom template. Enter a name for the new form template. For example, you can useFO_CORR_SAP09_FI_INVOICE. The system creates a custom template named YY1_FO_CORR_SAP09_FI_INVOICE.
Download the template.
Make the required changes in the local template file via Adobe LifeCycle Designer. Information you might consider changing: you might want to include the customer's name from the customer line item in the header or even define which fields should be displayed in the form. You can find an example on how to adapt the layout of the custom form template in the SAP Knowledge Base Article 3312120.
Test the form template with an XML data file from some correspondence to check how the information will be displayed with the current setting.
Upload the form template file you’ve changed to the Maintain Form Template app. Make sure the data source remains FDP_FFO_INTDOC_ENT_SRV as defined in the pre-delivered template.
Assign Form Template
In your configuration environment, use the search function to open the following activity: Maintain the Assign Form Template. Proceed as follows:
Maintain this configuration activity with the new form template that you created in a previous step. For example, YY1_FO_CORR_SAP09_FI_INVOICE.
Assign this new form template to Application Object Type FFO_CORR_INTDOC and Output Type INTDOC.
This way this form can be used for the SAP09 Entry View correspondence.