Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

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

  1. Add a sub report to the main report definition.
  2. Execute the main report.
  3. 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

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice