sending mail of ALV Report automatically
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.
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.