Symptom
Attachment under Ticket Interactions has changed the file extension to other format and cannot be opened.
Environment
SAP Cloud for Customer
Reproducing the Issue
-
Go to the Service Work Center.
- Go to the Tickets view.
- Open the Ticket ABC(where ABC is Ticket ID).
- Navigate to Interactions and click on attachment.
- Attached file in .pdf format has changed to .exe (or any other file extension which can not be opened).
Cause
The system checks if the FileExtension is one among allowed FileExtensions of the specified MimeCode. If not, then it takes the FileExtension that is allowed for the specified MimeCode which has been marked as the default FileExtension for that MimeCode.
Resolution
You need to maintain the right FileExtension as the possible extensions for the MimeCode of the incoming e-mail.
Please follow the below steps to check MimeCode of the e-mail.
- Go to Administrator Work Center.
- Open "Web Service Message Monitoring".
- Select the Message ID of the inbound e-mail.
- Click on View-> Payload.
- Search for the HTML tag <MIMECode>XYZ</MIMECode>, XYZ represents MimeCode of the e-mail attachment. Take a note of this.
- Go to the work center Business Configuration, view Overview.
- Search for the activity Allowed MIME Types for Document Upload and click Change Immediately.
- In the table column MIME Type, search for the MIME code that you saw in the payload.
- In the table underneath, maintain the correct default file extension for this MIME type.
Please note that the MIME type you see in the payload depends on the MIME settings of the email sender. If the MIME type is not the correct one (e.g. PDF files have a MIME type that is not PDF), please notify the sender of the email.
Refer the help Portal link https://help.sap.com/viewer/abfba1342cfb4832ab722fa041f6c4b7/1808/en-US/349c653f5f164c2bb5b7af5ea7c19bf5.html for more information on MimeCode.
Keywords
exe, pdf, mime type, mime code, attachment, ticket, file extension , KBA , c4c , mime code , LOD-CRM-SRP-INT , Ticket Interactions , Problem