Skip to Content
author's profile photo Former Member
Former Member

Sending HTM mail attachment in ECC vs 4.7

Hi All,

We are facing issue with the email attachment send in HTM format using FM SO_NEW_DOCUMENT_ATT_SEND_API1 in ECC 6.0 during upgrade from 4.7.

The program builds the attachment is binary format for document type HTM. In 4.7 system, When we view the send email in SOST, the attached document is off type RAW. If you double click the attachment it will be open up in SAP editor and Once you release the mails from the system the recipients will get the HTM attachment in mail.

But in ECC 6.0 Env the same program generates the email attachment but when viewed in SOST its of type HTM. If you double click the file will not open up. Also the main issue is that when this email is released the attached document is blocked by Outlook replace it with Trojan warning attachment.

Is this because of any missing config settings for document type.

When we modified the program to build the attachment in ASCII format, it turned out to be working similar to the 4.7 and mail where received correctly. We are not recommending this approach because there are quite a few program which is facing this issue and we end up modifying all.

I was suspecting there should be a config fix this issue.

Kindly provide you valuable inputs.



Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Aug 14, 2009 at 09:10 PM

    I would recommend to search for the OSS notes and, if none applies, to send a message to SAP.

    Also this doesn't look like an ABAP issue. Perhaps this question would be more appropriate for the Basis or the special Upgrade forum.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 15, 2009 at 06:36 PM


    you may check SAP note 1035644. It says


    If you display an HTML attachment of a document in the non-control-based display (for example in transaction SO01x), the system issues the error message "The document does not exist" and the process terminates.

    Other terms

    HTM, HTML, attachment, SO01x

    Reason and Prerequisites

    This problem is caused by a program error.


    The Outlook replacement with Trojan warning may be a result of your OUTLOOK security and virus scan settings and/or the HTML contents. Try to send the attachment manually to one of your outlook receipients and see what happens.



    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.