In PB 2017 R2 Build 1769, I used the below code to generate a PDF - which works great:
lds_holder.Object.DataWindow.Export.PDF.Method = NativePDF!
ll_print = lds_holder.SaveAs( ls_attach_path , PDF!, FALSE )
HOWEVER, we currently have the option to APPEND to an existing PDF. So instead of sending 5 different PDFS (one for each DW retrieved), the customer would get 1 PDF with all 5 reports in it.
Is this an option?