4.12.10

SAP Note 20295 - Reports with fixed print parameters.

Symptom

Reports should print output with fixed defaults, for example, the print format should always be assigned a fixed value (e.g. X_65_132).

Cause and prerequisites

Various. Example: to prevent users from starting a print request with an incorrect format.

Solution
Report must be started from a new report:
REPORT Start_.
SUBMIT TO SAP-SPOOL WITHOUT SPOOL-DYNPRO .

The are the familiar print parameters:
DESTINATION ''
COPIES
LAYOUT ''
IMMEDIATELY <1/0>
RECEIVER
KEEP IN SPOOL <1/0>
COVER PAGE <1/0>
and so on. Use only the appropriate options for the user.
If the user calls the new Start_Report instead of the old report, this guarantees that the report will never inadvertently be started with incorrect print parameters, since the screen for entering the screen parameters is no longer displayed. Instead, the report output is sent directly to the spool with the selected parameters.
Of course, there is no way to prevent the old report from being called with the wrong print parameters again.

No comments:

Post a Comment