Skip to Content
avatar image
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 comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Apr 07, 2004 at 03:33 PM

    Hi!

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

    Regards,

    Add 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