cancel
Showing results for 
Search instead for 
Did you mean: 

Fiori - Attachment issue with Outlook Attachments

Former Member
0 Kudos

Dear Fiori Experts,
We are facing a weird issue with attachments in Fiori Client. Our Purchase Requisition creator’s attach different types of attachments

like PDF, DOC, .MSG (Outlook emails) etc. in the PR using DMS.

Whenever the approver tries to open these attachments in Fiori Client (PR Approval App), pdf and doc files opens up without any issue, but when he
tries to open any outlook attachment (.msg) these attachments are not opening.

In Apple ios whenever he clicks on such attachments, its shows some junk values, but in android when we open the attachments there is a
Message stating that “No Viewer found – please install an android app that can display this file type (text/msg)”. We also tried installing
an app called “OutlookMsg Reader” and “EML Reader” in android device to open such application types, but still not working.

Can you please suggest any solution or work around to resolve this outlook attachment issue?

Accepted Solutions (0)

Answers (4)

Answers (4)

The problem is with your MIME type of your attachment.

The HTTP GET with $value parameter should have a content-type header to reflect the MIME type of .MSG file type.

You can fix this in the GET_STREAM method of the ABAP implementation of OData service.

.MSG should have a MIME type application/vnd.ms-outlook

BTW: Most mobile client can open .eml file types. .msg is specific for Outlook.

There are specialised MSG viewer in mobile OS. Check out -

EML Reader FREE - Android Apps on Google Play

Klammer - open EML, MSG, OFT and Winmail.dat files on iOS devices | Kupon.bg

MSG File Viewer  -

former_member213400
Active Participant
0 Kudos

Hi Masa,

We are in GBAPP002 SP7, when we are trying to open attachment from PR Approval through Mobile Client App or Mobile Browser white screen pops up and no attachment is opening.

Generally below method will trigger when trying to open the PR Attachments.

Class : CL_GBAPP_APV_CMN

Method : GET_HEADER_ATTACHMENT_STREAM_2

I have checked by kept breakpoints, it is not triggering.

We are in the Go-Live stage, this is the show stopper for us.

Can you please let us know what needs to be done.

Regards,

Kiran.

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Kiran,

It is different issue, please create a new discussion.

Regards,

Masa / SAP P&I Technology RIG

Srikanth02
Active Contributor
0 Kudos

Hi Ibrahim,

Are you able to resolve the issue. Even, we have same issue from business, they are not able to open Word, excel, PowerPoint in IOs mobile client, even though they have software in their mobile.


Regards,


Srikanth

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Srikanth,

Please share a screenshot which has some error message and the Fiori client version.

Regards,

Masa / SAP P&I Technology RIG

Srikanth02
Active Contributor
0 Kudos

Hi Masa,

There is no error message but it shows up in unreadable format or blank screen.Below is the screenshot for your reference.


When I searched for notes, I could find this SAP Note # 2031923 and which is for attachment, but, I don't know is this for mobile client.

Regards,

S.Srikanth

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Srikanth,

Thanks for the screenshot.

Could you also share the test result on device browser, not in Fiori Client?

Regards,

Masa / SAP P&I Technology RIG

Srikanth02
Active Contributor
0 Kudos

Hi Masa,

Thanks for the reply.

Here is the screenshot from mobile device browser. End users are having issues in downloading only Microsoft office documents like Word, excel, ppt, etc. and they are able to open pdf, jpg.

Regards,

Srikanth

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Srikanth,

Thank you for sharing the test result.

How about opening attachment from email app? I think there is some email app in the device. What is the test result when you open a PPT attachment in the email app?

Please also confirm that opening attachments in desktop works fine.

Regards,

Masa / SAP P&I Technology RIG

Srikanth02
Active Contributor
0 Kudos

Hi Masa,

Thanks for the reply.

Yes, there is email app device and they are able to open the same from email app. From desktop browser attachments are working fine and no issues.

Issue is only in mobile device browser and Fiori client.

Regards,

Srikanth

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Ibrahim,

I think the error message is correct. There is no viewer for Outlook file type in iOS.

Workaround:

+ Try 3rd party outlook file viewer. I don't know how it works.

+ When attachment is created in MM transaction, DMS or some backend function converts it to PDF. I don't have details.

Regards,

Masa / SAP Technology RIG