Symptom
When clicking on the Preview button for an Invoice Document, the system is not able to determine a Form Template and returns the following error:
Form template code mandatory
Environment
SAP Business ByDesign
Reproducing the Issue
- Go to the Customer Invoicing work center.
- Select the Invoice Documents view.
- Search for the ID ABC (ABC represents the ID of the Customer Invoice).
- Click Edit.
- Click Preview.
The error "Form template code mandatory" is displayed in the UI.
Cause
The reason the system is not able to determine a form template is because the current maintained rules do not match the required information found within the Invoice, such as Invoicing Unit.
Resolution
This is the system expected behavior.
In order to solve this, please either maintain a rule to match the Invoicing Unit being used in the Invoice or create a rule for all Invoicing Units.
- Go to the Application and User Management work center.
- Go to the Form Template Selection view.
- Select Customer Invoice.
Here you can maintain a new rule or edit an existing one for the targeted Invoice
See Also
- 2982572 - Error: 'Form template is mandatory' or 'There's no Template Code in the Predefined Output Determination Rule'
- 3009144 - Form Template Code Mandatory Proforma Invoice
- 2974095 - Error message: 'Form template code mandatory' occurs when you try to create a Pro forma invoice.
- 3157009 - Form Template Code Mandatory Proforma Invoice in Outbound Delivery
Keywords
Form Template Selection, Form template code mandatory, Error, Preview, Allocate. Customer Invoice, Invoice Document, Form , KBA , AP-CI-CI , Customer Invoice , How To