Symptom
When you preview the Customer Invoice or Credit memo, you get either the error message "No records Found" even though you have maintained a form template correctly with correct country and language or the Form Template Determined is not the expected one.
Environment
SAP Business ByDesign
Reproducing the Issue
- Go to Customer Invoicing work center
- Go to Invoice Documents View
- Select any Invoice and click on Preview button
- The Error message “No Records Found” appears
Cause
Even though the form template for Customer Invoice and Credit memo is maintained correctly in Form template Maintainence View, In the form template selection you have defined a default form with no rules maintained. This form cannot be selected by the system as the template variant (country, language) does not exist in Form template Maintainence View.
- Go to Application and User Management workcenter
- Go to Input and Output Management View and naviagate to subview Form Template Selection
- Select Show Rules For Customer Invoice and you will find the below form templates
- Customer invoice for professional service
- Customer invoice
- Credit Memo for professional services
- Credit memo
The form template Customer invoice for professional service is first in the sequence and hence is considered for the Customer Invoice preview and you have not maintained the form template for this one in Form template Maintainence View. The template which is first in the sequence is used by the system to determine which form template to use for the output of a business document. The rules entered in the sequence are applied along with condition which you have maintained for each rule.You have to enter generic rules at the bottom of the list and specific rules at the top.
Resolution
Change the sequence of the form templates by following the below steps
- Go to Application and User Management workcenter
- Go to Input and Output Management View and naviagate to subview Form Template Selection
- Select Show Rules For Customer Invoice
- Select the rule Customer Invoice and Click on Change Sequence button and move the rule to Top
See Also
Keywords
wrong template; not expected; Form Template; Determination; No Records; , KBA , cannot be found , customer credit memo for professional se , form template variant , AP-CI , Customer Invoice Processing , How To