cancel
Showing results for 
Search instead for 
Did you mean: 

Send file to Spool

Former Member
0 Kudos

How to send a file .tif that is in application server to spool?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Use print on option of new-page.

Whatever you write after print on will be sent to spool.

OPEN DATASET file IN TEXT MODE

ENCODING DEFAULT FOR INPUT.

NEW-PAGE PRINT ON NO DIALOG.

DO.

READ DATASET file INTO line.

IF sy-subrc 0.

EXIT.

ENDIF.

WRITE: / line.

ENDDO.

NEW-PAGE PRINT OFF.

You can also use

NEW-PAGE PRINT ON

PARAMETERS param

NO DIALOG.

param is of type PRI_PARAMS where you can set the parameters like name, print

immediately, keep in spool etc.

Answers (0)