Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

RFC

Former Member
0 Likes
726

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

6 REPLIES 6
Read only

Former Member
0 Likes
694

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.

Read only

0 Likes
694

Hi Amit

Thanx..the three things which u specified are already taken care of. But still its giving a dump.

swathi

Read only

0 Likes
694

What does the dump say?

By the way, you can also use the RFC fm : SO_NEW_DOCUMENT_SEND_API1

Regards,

Ravi

Read only

0 Likes
694

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

Read only

0 Likes
694

YOu have to use the following syntax:

CALL FUNCTION func DESTINATION dest

Regards,

ravi

Read only

Former Member
0 Likes
694

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.