
When Print Prenumbered Forms (IDCP) displays ‘Failed to load PDF document’, isolate the output-generation problem from the browser’s PDF viewer. A viewer error does not necessarily mean the file is corrupt.
Check the PDF response
Reproduce in a supported browser with the affected document and inspect the failed network request. Check the HTTP status, response type and whether a PDF response was actually returned. An HTML error or authentication page will not open as PDF. Try a known working document using the same output settings.
Review the spool and output configuration
Where you have access to the underlying ABAP system, review the corresponding output request in SP01 and the assigned output device and device type in SPAD. The screenshot below shows a device-maintenance example from an older ITSITI spool guide, not the IDCP error itself.

For managed or public cloud systems, obtain the applicable output and application logs through the supported administration tools. Do not change a productive device type until the required output format is confirmed. Avoid repeated productive printing or consuming official form numbers just to reproduce the problem.
Reference
SAP Note: 3776880
SAP KBA preview: Documentation
