Skip to Content
0
Oct 25, 2005 at 05:26 AM

Sender's email id in function module SO_DOCUMENT_SEND_API1

1119 Views

Hi All,

I am fetching the sender's email id dynamically from HR database and then trying to use it while sending email via FM SO_DOCUMENT_SEND_API1. But the email does not go. The FM is erroring out with return code 6.

If I maintain email id in the user profile (Tcode SU01) and then simply pass sy-uname instead of complete email address in parameter - sender_address then it is working fine.

Is it not possible to explicitly send 'From email id' or 'Sender-address' parameter when sending mails using FM SO_DOCUMENT_SEND_API1 like for example user@sap.com.

The experts please solve my problem...

Thanks & regards,

Rashmi