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 function module

Former Member
0 Likes
1,218

Hi all,

Here i am just testing the RFC function module. Iam having two clients 800 and 811.

I created RFC function module in client 811 and i made an rfc destination in 800 client.

but my problem is iam unable to call the RFC fm from client 800 in se38.

my rfc is synchronous here.

CALL FUNCTION 'ZSAMPLE_TEST_SYN' destination '800to811'

800to811 is my rfc destination.

can anyone help me in this.

thanx,

krishna.

8 REPLIES 8
Read only

Former Member
0 Likes
1,022

Hi,

Goto SM59 in clnt 800 and test the connection in 811. (Try <b>Remote Logon </b> button)

If u r using qRFC, then check the queues in both the systems.

Read only

0 Likes
1,022

Hi Basa,

My RFC connection is working fine.

any suggestion.

Read only

0 Likes
1,022

Hi Krishna,

Check if u r sending any data to the FM.

If so, pls make sure that those r of type char. ( if not, then convert )

Regards,

Basu.

Read only

Former Member
0 Likes
1,022

Hello Krishna,

What do you mean whith "iam unable to call the RFC fm from client 800 in se38".

What is the error message?

Read only

Former Member
0 Likes
1,022

Hi.

Check transaction code SM59 for link of RFC.

reward all helpfull answer.

regards.

Jay

Read only

Former Member
0 Likes
1,022

Hi,

You are creating the SE38 program at client 800 and your function module exists at client 811.

you can not see this function module at client 800 by clicking at pattern button in SE38. Please copy the structure of this function module from client 811 and paste in program of client 800 and add the destination as below :

CALL FUNCTION 'ZSAMPLE_TEST_SYN' destination '800to811'

give import export parameters entry and execute the same program,

you will find the result.

Regards,

Sandeep Kaushik

Read only

Former Member
0 Likes
1,022

Dear Krishna,

The first question I want to ask u that:

1> Are 800 and 810 are both developement clients for ur project?

2.> Check RFC connection between 800 and 810 client in SM59.

Regards,

Pulokesh

Read only

Former Member
0 Likes
1,022

Hi krishna,

There only two possiblities are there.

1. your function module should be RFC enabled. Attributes -- chk Remote enable fm radiao button, This FM must be present in target system.

2. chek the connection in sm59 means test it. if it is testing suceesful then ok. again try giving destination name in uppercase only.

Jogdand M B