4.12.10

SAP Note 20148 - No "Back" or "Cancel" on print parameter screen .

Symptom

When the statement NEW-PAGE PRINT ON DESTINATION ... is called, a screen appears in which only the functions "Print" and "Exit" are possible, but not "Back" or "Cancel".

Cause and prerequisites

This is not an error. These buttons have to be deactivated because no return code is (or can be) set by the NEW-PAGE PRINT ON statement for compatibility reasons. Pressing the "Back" or "Cancel" key would have to be reported to the application program by setting a return code, however. The "Exit" function causes the program to terminate, and can therefore be handled by the NEW-PAGE PRINT ON statement itself, without requiring the assistance of the application program.

Solution
Instead of the old variant NEW-PAGE PRINT ON DESTINATION ..., use the new variant NEW-PAGE PAGE PRINT ON PARAMETERS ... (see the online documentation for NEW-PAGE).

No comments:

Post a Comment