‎2006 Dec 21 1:47 PM
Hi All,
I want to send a mail to a user by remotely connecting to a Destination.Can anyone suggest me the function module for it?
Previously i have used the Functional Module 'FSCM_SEND_R3_MAIL' to send the mail to the user. when i am specifying the RFC target system its giving me a dump.
Thanks in advance,
Swathi
‎2006 Dec 21 1:51 PM
Hi swathi,
1. Make sure the name of the destination is correctly mentioned,
that too in upper case.
2. Also it should be defined in SM59 tcode.
(also test the connection from sm59 itself)
3. The FM should also be RFC enabled.
regards,
amit m.
‎2006 Dec 21 2:03 PM
Hi Amit
Thanx..the three things which u specified are already taken care of. But still its giving a dump.
swathi
‎2006 Dec 21 2:04 PM
What does the dump say?
By the way, you can also use the RFC fm : SO_NEW_DOCUMENT_SEND_API1
Regards,
Ravi
‎2006 Dec 22 8:10 AM
Hi Ravi
the FM "SO_NEW_DOCUMENT_SEND_API1" is working fine.While testing the FM the mail is sent successfully because i am able to pass the RFC target system there.But how to pass the RFC target system through my program.
Thanks in advance,
Swathi
‎2006 Dec 22 8:13 AM
YOu have to use the following syntax:
CALL FUNCTION func DESTINATION dest
Regards,
ravi
‎2006 Dec 21 2:27 PM
Hi swathi,
1. I tried this FM just now to send mail to QA server user.
2. It worked fine.
3. Just make sure the destination is working correctly or not.
(we can test this in sm59 itself)
regards,
amit m.