Ansicht
Dokumentation

00159 - How to redirect the display-output interactively to a spoolfile ?

00159 - How to redirect the display-output interactively to a spoolfile ?

CL_GUI_FRONTEND_SERVICES - Frontend Services   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.
SAP E-Book

How to redirect the display-output interactively to a spoolfile ?

Hi all,

unfortunately I was not able to find the first e-mail of this issue in order
to write a reply. But I just found out how to put the "printf"-output to a
spoolfile. When you run e.g. TP interactively you have to press enter in
the end. You can circumvent this with the following OVRDBF:
OVRDBF FILE(STDOUT) TOFILE(QPRINT)

When you want you can trap the STDERR as well:
OVRDBF FILE(STDERR) TOFILE(QPRINT)

When you now call TP, there won't occur anything at the screen and so your
TP will run smoothly when you want.

Regards

Volker Gueldenpfennig


Durban Tours - Südafrika Safari

PERFORM Short Reference   Vendor Master (General Section)  
This documentation is copyright by SAP AG.

Length: 1037 Date: 20240419 Time: 192739     sap01-206 ( 2 ms )