SAP Knowledge Base Article - Public

2506939 - Error message "No records Found" when previewing Customer Invoice and Credit Memo

Symptom

When you preview the Customer Invoice or Credit memo, you get the error message "No records Found" even though you have maintained a form template correctly with correct country and language

Reproducing the Issue

  1. Go to Customer Invoicing work center
  2. Go to Invoice Documents View
  3. Select any Invoice and click on Preview button
  4. 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.

  1. Go to Application and User Management workcenter
  2. Go to Input and Output Management View and naviagate to subview Form Template Selection
  3. 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

  1. Go to Application and User Management workcenter
  2. Go to Input and Output Management View and naviagate to subview Form Template Selection
  3. Select Show Rules For Customer Invoice
  4. Select the rule Customer Invoice and Click on Change Sequence button and move the rule to Top  

See Also

1981017 - In your Sales Order no Form Templates are Displayed When Selecting Preview

Keywords

KBA , AP-CI , Customer Invoice Processing , How To

Product

SAP Business ByDesign all versions