07-23-2015 10:51 AM
Hi experts,
We send e-mails to vendors using function modules "SO_NEW_DOCUMENT_ATT_SEND_API1".
Those e-mails are sent at night by a generic user.
We would like that, if the vendor replies to an e-mail, its answer is not sent to the generic user address, but to the purchaser address.
My question is the following one : is there any way to define a "reply to" address when sending an e-mail from SAP ? (maybe by using another function module ?)
Thanks for your help !
Pippa.
07-23-2015 12:18 PM
Hi Pippa,
if you look into function module "SO_NEW_DOCUMENT_ATT_SEND_API1" you will find that all it does is to call "SO_DOCUMENT_SEND_API1". This function module has importing Parameters for SENDER and SENDER_ADDRESS_TYPE. So changing to that function module should be very easy and allows to specify who is the Sender.
Regards
Oliver
07-23-2015 11:21 AM
You can use FM SO_DOCUMENT_SEND_API1 to pass sender email ID of your choice.
07-23-2015 11:32 AM
What is the problem you are facing while using your FM SO_NEW_DOCUMENT_ATT_SEND_API1 and passing Email Ids in RECEIVERS table parameter?
Though there are other better techniques available but this FM should work also.
07-23-2015 12:18 PM
Hi Pippa,
if you look into function module "SO_NEW_DOCUMENT_ATT_SEND_API1" you will find that all it does is to call "SO_DOCUMENT_SEND_API1". This function module has importing Parameters for SENDER and SENDER_ADDRESS_TYPE. So changing to that function module should be very easy and allows to specify who is the Sender.
Regards
Oliver