Hi,
I have to send mail to 1 person copulsary that field is from the custom table & if the flag is set from the custom table then only mail should go to purchsae order creater
& if flag is set for Sales order creater then it should go to SO creater.
for sending mail i am using send mail Function module.
by calling FM one time & sending mail to different email ids how can i achive the same.
plz give some sample code.
Thanks in advance,
oorvi