Skip to Content
avatar image
Former Member

Error while opening the PDF attachment

HI SDN's

I have to send order confirmation thru mail as a pdf attachment as soon as order has been saved.

I have written the code and assigned to output type.

Here I am getting an error opening a converted pdf file with Adobe Reader

The error message reads:

Adobe Reader could not open "filename.PDF" because it is either not a supported file type or because the file has been corrupted (for example, it was sent as an email attachment and wasn't correctly decoded).

Any help would be appreciated.

Thanks in advance

VR

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • Apr 21, 2007 at 03:38 AM

    The pdf files created as downloaded file are only supported with Adobes earlier release i.e. before 4.0.

    Try to generate it from spool to get it working.

    Regards,

    Amit

    Reward all helpful replies.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      hello, i have the same problem as VR's. The pdf file sent to my email is not able to open. You mentioned that this is only supported by early releases of Adobe. But anyhow, I followed your advice to have my spool converted to PDF, instead of OTF to PDF. But I get this error: Spool request 23595 contains no ABAP list data.

      What exactly my transaction does is that, it makes use of a sapscript layout via VL02N using an output type. I retrieve the OTF data in CLOSE_FORM function module. OTF is then converted to PDF via SX_OBJECT_CONVERT_OTF_PDF, then send via email through SO_NEW_DOCUMENT_ATT_SEND_API1.

      When I view the sent PDF file in my email, It cannot be opened.

      I would appreciate your help guys! thank you very much.

  • avatar image
    Former Member
    Jul 01, 2014 at 03:22 PM

    Hello Venkata/ Jane,

    Reported PDF issue will be shown if you are opening the PDF files directly from the internet explorer or any any other web browsers on a specific machine/system.

    SAP has issued one note 1221634, which has specific setting s required in IE to resolve this issue. PLease check and revert.

    Add comment
    10|10000 characters needed characters exceeded