cancel
Showing results for 
Search instead for 
Did you mean: 

sending mails via workflow..

Former Member
0 Kudos

Hi All,

I have a requirement in my service request.. when I change the status of the request a mail should be send to the intended recepient.

How to make this possible, Is it possible via calling an FM or else some settings in the workflow / Actions ??..

Thanks & Regards, Sudeep..

Accepted Solutions (1)

Accepted Solutions (1)

former_member184067
Active Contributor
0 Kudos

hi Sudeep,

based on my experience, you can achieve it via 2 way :

1. action

2. workflow

i prefere the option 1 via action.

in order to do that then you need to configure the action profile for your transaction.

add an action definition with processing type 'Smart Form Mail' or 'Calling Method'.

after that you need to modify some BADI to send the mail.

the function module that can be used for sending e-mail is SO_DOCUMENT_SEND_API1

hopes it helps

cheers

Former Member
0 Kudos

hi eddhie,

Can you tell me how to use this FM, SO_DOCUMENT_SEND_API1 ?.

Please send me the sample code if possible..

Thanks, Sudeep..

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Sudeep,

You can trigger an action (Sending an email) on Condition (Status change) mentioning the processing time(immediately, later on),Processing types.

Assign this action profile to Transation type Service Request which has the Action Definition, emailing is done through smartforms.

Please reward points.

regards,

Muralidhar Prasad.C