Skip to Content

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

sending mail of ALV Report automatically

Hi All,

Don't we have one funtional module to send the report output automatically when it is executed.

I want to give userID only for input.

Please tel me as soon as possible.

Regards,

Rohit

Tags:
Former Member
Former Member replied

Hi,

Try this

SELECT U~BNAME

A~SMTP_ADDR

INTO TABLE T_MAILID

FROM USR21 AS U INNER JOIN

ADR6 AS A

ON APERSNUMBER = UPERSNUMBER AND

AADDRNUMBER = UADDRNUMBER

WHERE U~BNAME IN S_UNAME.

from this you can get the Mail id :

then you use the function module SO_NEW_DOCUMENT_SEND_API1.

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question