I have to convert several spool request which have more than 99 pages and that automatically, without manual intervention. In my program, I use the function CONVERT_OTFSPOOLJOB_2_PDF but when I run in background, it doesn't work.
loop at t_tsp01.
CALL FUNCTION 'CONVERT_OTFSPOOLJOB_2_PDF'
src_spoolid = t_tsp01-rqident
no_dialog = 'X'
pdf = it_pdf.