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.
Free Guide: Managing storage for virtual environments
Complete a brief survey to get a complimentary 70-page whitepaper featuring the best methods and solutions for your virtual environment, as well as hypervisor-specific management advice from TechTarget experts. Don’t miss out on this exclusive content!