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

Automate SAP mail with attachment in 45B?

Hi,

I aware of the options to solve this problem on 4.6C and higher. But those function modules and options are not

available in 4.5B.

I've done some digging but have had to move on and am aware that the following functions are used but at this point I'm unclear on how to put the pieces together :

SO_ATTACHMENT_INSERT

SO_WIND_OBJECT_HEADER

SO_OBJECT_INSERT

Maybe someone has some ideas?

Kind regards,

Mark

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Apr 07, 2004 at 03:33 PM

    Hi!

    On 4.5B, just SO_OBJECT_SEND will do the job for you.

    Regards,

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Parminder,

      Many thanks for your reply. I can use function SO_NEW_DOCUMENT_ATT_SEND_API1 or SO_OBJECT_SEND to send

      a simple mail to a SAP mail user. I can also build up text files and have them sent to a SAP mail user.

      But I am unclear how to automatically attach a file in a mail to a user.

      The actual file is a TIF image and may reside on either

      the local machine or the SAP server - but I can control that. It's the attach element that grieves me.

      Any examples of the process would be much appreciated.

      Kind regards,

      Mark

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.