Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Change sender Address when using SAP Mail via Exchange

Hi,

I'm using FM ZSO_DOCUMENT_SEND_API1 to send email with .pdf attachment. all works fine but the recipient sometimes replies to the email which I dont want to happen, so I need the email to appear to have come from an alternative address than mine.e.g. from 'saphelpdeskatxxx.com'

....code I have tried to change is Originator here...

CALL FUNCTION 'SO_OBJECT_SEND'

EXPORTING

  • EXTERN_ADDRESS = ' '

  • FOLDER_ID = ' '

  • FORWARDER = ' '

OBJECT_FL_CHANGE = OBJECT_FL_CHANGE

OBJECT_HD_CHANGE = OBJECT_HD_CHANGE

  • OBJECT_ID = ' '

OBJECT_TYPE = OBJECT_TYPE

OUTBOX_FLAG = PUT_IN_OUTBOX

ORIGINATOR = ORIGINATOR <----


ORIGINATOR_TYPE = ORIGINATOR_TYPE

  • OWNER = ' '

  • STORE_FLAG = ' '

IMPORTING

OBJECT_ID_NEW = OBJECT_ID_NEW

SENT_TO_ALL = SENT_TO_ALL

ORIGINATOR_ID = SENDER_ID

but that doesnt work.

Is this something I need to do with Exchange and not SAP?

Any help appreciated.

Steve

Tags:
Former Member
Not what you were looking for? View more on this topic or Ask a question