Symptom
When clicking PDF attachments in the Attachments facet of a Ticket (or similar object) in SAP Cloud for Customer (C4C), behavior varies:
- Some PDFs open directly in the browser.
- Others are downloaded automatically.
Environment
SAP Cloud for Customer for core applications
Reproducing the Issue
- Navigate to the Service work center.
- Open the Tickets view.
- Select any existing Ticket.
- Go to the Attachments facet.
- Click on Attachment A
-> Result: The file is downloaded. - Click on Attachment B
-> Result: The file opens in a new browser tab.
Note: Both attachments are PDF files.
Cause
The difference in behavior is caused by how the PDF files are uploaded or added into the system:
- Attachment A was added automatically (e.g., via email processing, workflow, or system integration such as from SAP ERP).
- These files are typically delivered with HTTP headers that prompt the browser to download the file, as a security precaution.
- Attachment B was uploaded manually by a user within the C4C UI.
- These are served with headers allowing the browser to open the file inline.
Resolution
This is the standard and expected behavior in SAP C4C.
- For security reasons, files added automatically (e.g. through integrated systems) are handled more conservatively to prevent automatic execution or preview of potentially unsafe content.
- Files manually uploaded via the UI can be displayed inline in the browser, assuming browser settings allow it.
Keywords
C4C attachment download, PDF opens in browser, ticket attachment behavior, PDF not previewing, attachment auto-download, C4C inconsistent attachment behavior , KBA , LOD-CRM-BF-ATT , Attachments , LOD-CRM-SRP , Service Request Processing , Problem
SAP Knowledge Base Article - Public