SAP Function RS_PROGRAM_PRINT - Print Programs and Program Components

Parameter Reference Type Length Default Optional Text
DDEVICE 0 'PRINTER' X Output medium: 'PRINTER' or 'SCREEN'
DIALOG 0 'X' X 'X' if user dialog required
PROGRAMM RSPRINT-PROGNAME C 40 SPACE X Program name
WITH_PRINT_OFF 0 'X' X
WITH_PRINT_ON 0 'X' X

Parameter Reference Type Length Default Optional Text
PRIPARAMS PRI_PARAMS u 196 SPACE X Print parameter(s)

Parameter Reference Length Optional Text
PROGRAMS 0 X

Exception Text
CANCELED Printer output canceled by user
NO_AUTHORITY
OPEN_FORM_ERROR Error opening SAPscript layout set
PROGRAM_NOT_FOUND Program does not exist