cancel
Showing results for 
Search instead for 
Did you mean: 

Sending Email

Former Member
0 Kudos

Hi,

I am developing a form. If the form generates to fail i have to send an email to SAP inbox of the user id in MARC-DISPO.

Can anybody provide me the function module and logic for this one.

Thanks in advance,

Vasu.....

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

You can use FM <b>SO_NEW_DOCUMENT_SEND_API1</b>

Check the documentation of the FM..it has a sample program also..

Thanks..

Former Member
0 Kudos

Hi All,

Thanks for all your replys.

It seems that above FMs are use to send emails for a particular reciepient or group. But this will be sent to the SAP inbox. Can anybody tell me how to send email to SAP inbox of the userid.

Thanks,

Vasu.

Former Member
0 Kudos

can u explain it more clearly ...

what do u mean by saying SAP inbox of the userid....

by this u can send an email to external as well as SAP inbox...

u have all the options available with this FM

Former Member
0 Kudos

Hi Garg,

Thanks for ur reply.

I am having the MRP controller user ID (T024D-USRKEY). This field to be used in order to determine the user to whom a mail has to be sent if the generation of the form fails. The mail will be sent to the SAP inbox.

Now can please provide me the logic how to determine the user from that field and to send the mail to SAP inbox.

Thanks,

Vasu.....

Former Member
0 Kudos

Hi Vasu,

Mail can be sent to SAP inbox only if the person is maintained in SU01...

So u need to find out a link between this field and field of table USR02...

and then u can send an eamil to SAP inbox..

Rewars all helpful answers.

Thanks.

Answers (0)