Support Article
Save As does not work for report with a subreport
SA-72571
Summary
Error occurs and unable to Save As a report which references a sub report. The error indicates that the subreport invalid for the ruleset.
Error Messages
- .pyUI.pySource.pySubReportInfo(1).pyReportName: MySubReport does not exist or is not a valid entry for this ruleset and its prerequisites
-
A Report Name was entered that does not exist, or is not a valid entry for this ruleset and its prerequisites: 'MySubReport'. Enter a valid report name.
Steps to Reproduce
- Add a sub report to the main report definition.
- Execute the main report.
- After receiving the output, click Save As to save the output. Error occurs.
Root Cause
An issue in the custom application code or rules.
The Production or Design Time configuration ruleset, where the report was saved, did not have access to the ruleset in which the sub report was contained.
Resolution
Perform the following local-change:
Specify the sub report's ruleset as a prerequisite of the ruleset where the report must be saved.
Published April 12, 2019 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.