SAP Knowledge Base Article - Public

3344414 - Customer Invoice Form Template Not Being Determined for Document in the system

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

  1. Go to the Customer Invoicing work center.
  2. Select the Invoice Documents view.
  3. Search for the ID ABC (ABC represents the ID of the Customer Invoice).
  4. Click Edit.
  5. 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. 

  1. Go to the Application and User Management work center.
  2. Go to the Form Template Selection view.
  3. 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

Product

SAP Business ByDesign all versions