SAP Knowledge Base Article - Public

3311009 - SAC AD : The PDF Export feature does not include the Header or the Appendix

Symptom

  • When using "Export to PDF" button, the "Enable Header" and "Enable Appendix" options are selected in the properties.
  • The PDF file generated does not include the "Header" or the "Appendix
  • Export_PDF_Header_Appendix01.jpg

Export_PDF_Header_Appendix02.jpg 

Environment

  • SAP Analytics Cloud - All versions

Cause

  • The exportReport() API option only exports the tables, so the header or appendix is not exported.
  • The exportView() API option exports a snapshot of the application, it calls the same function as a story, and you can select which widgets you want to export.
    For example, in this case, the exportView() API can be used and select only the tables you expected, then the appendix will be exported too.
    Please note : the exportView() API works in the same way as you export to PDF by UI feature "Export a Story as a PDF", so the restrictions mentioned in SAP Online help for the UI feature also applies to this API:Export a Story as a PDF or a PPTX | SAP Help Portal.
    For example ,"The PDF or PowerPoint file shows exactly what appears on your story pages at the moment that you export them. If any charts or tables in your story are scrollable, only the visible parts are included in the exported file."

Resolution

Use the exportView() API instead of the exportReport() API, if the Header and Appendix are required in the exported PDF file.

See Also

Your feedback is important to help us improve our knowledge base.

Keywords

Export to PDF, Header, Appendix, exportReport(), ExportToPDF.exportReport(), Analytics Designer , KBA , LOD-ANA-AD , Analytics Designer , LOD-ANA-DES , Story Design & Visualizations , Problem

Product

SAP Analytics Cloud 1.0