HI I have created AFP file using Jasper report by using below code and it is able to open in web browser but not in AFP Work Bench Viewer. . private static String destFileName = "sample.afp"; JasperExportManager.exportReportToPdfFile(jasperPrint, destFileName); Your timely support on this appreciated Thanks