Skip to Content
avatar image
Former Member

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    avatar image
    Former Member
    Oct 16, 2008 at 05:48 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 16, 2008 at 05:30 AM

    Hi

    check this

    SO_NEW_DOCUMENT_ATT_SEND_API1

    SO_NEW_DOCUMENT_SEND_API1

    these will work

    Regards

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 16, 2008 at 08:47 AM

    ok

    Add comment
    10|10000 characters needed characters exceeded