Symptom
- How to suppress fields when printing a report
- How to hide report objects when the report is printed to a printer, but displayed when the report is viewed in Crystal Reports
Environment
- SAP Crystal Reports 2013
- SAP Crystal Reports 2016
- SAP Crystal Reports 2020
Reproducing the Issue
- In Crystal Reports, create a report off any data source.
- Add an object to the report you want to see when viewed, but not when printed.
- View the report in Crystal Reports, and notice the object displays
- Print the report to the printer, and notice the object is displayed as well.
- How to suppress or hide an object when printing the report to a printer?
- For example:
- A company logo is added to the Page Header section of a report.
- When the report is viewed, the company logo needs to be displayed in Crystal Reports,
- but not when the report is printed because the company paper already have the logo pre-printed.
Resolution
- There is unfortunately no functionalities in Crystal Reports designer that can be used to suppress an object when the report is printed to a printer, and displayed when viewed in Crystal Reports.
- As a workaround, use a parameter to conditionally suppress the objects before the report is printed.
- For general steps on how to apply this technique to a report, see the sample report attached to this SAP Knowledge Base Article.
Keywords
CR , KBA , BI-RA-CR , Crystal Reports designer or Business View Manager , How To
Product
SAP Crystal Reports 2013 ; SAP Crystal Reports 2016 ; SAP Crystal Reports 2020
Attachments
Suppress Objects When Printing.zip |