SAP Knowledge Base Article - Preview

2892364 - Failed to Load PDF Document Error While Generating PDF file via Custom Code

Symptom

You have created a custom action from SDK (for eg: GenerateSummary) to generate custom PDF templates. While executing this custom action via PDI code the file get's corrupted and if you try to open the document you will receive the below error:-

Failed to Load PDF Document.


Read more...

Environment

SAP Cloud for Customer

SAP Business ByDesign

SAP Cloud Application Studio

Product

SAP Business ByDesign all versions ; SAP Cloud Applications Studio all versions ; SAP Cloud for Customer add-ins all versions ; SAP Cloud for Customer core applications all versions

Keywords

Failed to Load PDF Document Cannot generate PDF document Unable to open custom PDF attachment attachment creation not working via SDK Custom generated PDF error , KBA , unable to previewcustom form , custom pdf error , generation of pdf file corrupt , AP-RC-BDS-SCR , ByDesign Studio Scripting (ABSL) , AP-RC-BDS-BO , ByDesign Studio BO definition/generation , AP-RC-BDS-OM , ByDesign Studio Output Management(Forms) , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.