Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with PDF attachment out of ABAP Program

aaron_morden2
Contributor
0 Kudos

Hello all,

I run program BCS_EXAMPLE_6 and receive an email with a PDF attachment. When looking at this email through Outlook Web Access, I can not view the PDF.

If you have Outlook Web Access, could you please attempt to run the above program and let me know if you are able to view the PDF?

Note, this is only happening in Outlook Web Access. It works fine in regular Outlook.

Multiple responses would be appreciated and rewarded. Thanks!!

1 ACCEPTED SOLUTION

former_member194669
Active Contributor
0 Kudos

Hi,

Just for clarification can you try with BCS_EXAMPLE_5 and please check whether the attached DOC file can able to open?

(I tried with BCS_EXAMPLE_6 , i could able to open)

10 REPLIES 10

former_member194669
Active Contributor
0 Kudos

Hi,

This is documentation i found for reading a PDF from Webaccess directly.

+

Read an attachment

When a message contains an attachment, Microsoft Office Outlook Web Access displays a paper clip icon next to it in the folder listing.

When the message is opened, the name of the attached file appears in the message heading information. Some attachments, such as .txt and .gif files, are opened directly by the Web browser.

Caution Don't open an attachment unless you trust the content and the person who sent it to you. Attachments are a common method for spreading computer viruses. For this reason, Outlook Web Access may require you to first save attachments to your computer's hard disk before opening them. This will happen when an attachment contains a file with certain extensions, such as .mht, .xml, or .js. For a complete list of potentially dangerous file extensions that Outlook Web Access may filter, contact your server administrator.

To view an attachment

Double-click the attachment file name, located in the message heading information. The attachment will open in a new browser window.

Important Before editing attached files, you must download them to your computer. For help downloading files, see your Web browser documentation.

+

0 Kudos

The attachment file name and icon does not even appear in Outlook Web Access. The problem is not that I can't open the attachment, but rather there is no attachment.

If I look at the same e-mail in regular Outlook, the attachment appears fine and I am able to open it.

former_member194669
Active Contributor
0 Kudos

Hi,

Just for clarification can you try with BCS_EXAMPLE_5 and please check whether the attached DOC file can able to open?

(I tried with BCS_EXAMPLE_6 , i could able to open)

0 Kudos

BCS_EXAMPLE_5 works fine. This is because when it calls the method <i>create_document</i>, it sets document type = 'RAW'. It then calls method <i>add_attachment</i>, to add the .doc file.

In BCS_EXAMPLE_6, the document type = 'PDF'. You opened it fine in Outlook Web Access??

Does the PDF out of BCS_EXAMPLE_6 work for anybody else when viewing with Outlook Web Access??

0 Kudos

Hi,

Consult with you Basis team members also for related to setting in SCOT.

May this info will be useful to you.

0 Kudos

a®s - You were able to open the attached PDF out of BCS_EXAMPLE_6 using Outlook Web Access??

Can anybody else try???? Please!!!

0 Kudos

Hi,

Yes i can able to open PDF. ( I am in Netweaver 7 )

aaron_morden2
Contributor
0 Kudos

Can anybody else with Outlook Web Access please help me out??

Just run program BCS_EXAMPLE_6, and check the email through Outlook Web Access. Let me know if you can then view the attachment.

I will reward points for your help!! Thanks.

aaron_morden2
Contributor
0 Kudos

I have determined that the problem resides in the OWA settings. Thanks all!

0 Kudos

Hi,

i have the same problem,

can can you explain me the solution for you problem in OWA settings.

Regards

Carlos Concha