Symptom
When clicking on the Preview button of Invoice/Purchase Order documents or on the You Can Also -> Edit Output Settings button, the message "No Records Found" is displayed.
Environment
SAP Business ByDesign
Reproducing the Issue
A customer invoice document will be used in this example:
- Navigate to the Customer Invoicing Work Center.
- Go to the Invoice Documents View.
- Show All Invoice Documents.
- Select any invoice document and click on the Edit button.
- Click on View All and then on the Preview button.
The message "No Records Found" appears.
Cause
There are two possible causes for this behavior:
- Cause 1:
The form template is fetched for the document is based on the Seller's Tax Registration. It is picked by the system based on the configuration set on the Form Template Selection view, under the Application and User Management workcenter.
If there is no form template maintained with this variant on the Form Template maintenance view (for the corresponding tax country and the language specified in the relevant document) the system throws the message "No Records Found" and no template is determined.
- Cause 2:
The Form Template maintained in the Account Master Data does not exist anymore or is not published.
Resolution
Resolution for Cause 1:
The form template should be maintained with the same country as the Tax Country and the corresponding account's language.
In order to properly maintain it, perform the steps as follows:
- Navigate to the Application and User Management workcenter.
- Go to the Business Flexibility view.
- Select to the Form Template Maintenance sub view.
- Search for the relevant template.
- Select it and click on Copy -> As New Variant button.
At this point, it is possible to create a new variant for the desired country and language.
Resolution for Cause 2:
The templates maintained on the account master data will overwrite any determination by the system. Given that, follow the below instruction:
- Go to the Account Management work center.
- Select the Accounts view.
- Open the respective Account used in the Invoice.
- Navigate to the Communication tab and the Collaboration sub tab.
- In this example, select the Business Document Customer Invoice / Credit Memo.
Should the Output channel be changed, it will be possible to see that the template maintained is not valid or not published. Ensure that the template maintained is valid.
See Also
KBA 3015430 - Wrong Form template is Picked
Keywords
Form template, No records, Tax Registration, no records found, missing, preview, output channel, selection, maintenance. , KBA , AP-CI , Customer Invoice Processing , How To
SAP Knowledge Base Article - Public