cancel
Showing results for 
Search instead for 
Did you mean: 

RFC?

Former Member
0 Kudos

Hi all,

Do we need to create the same RFC Function module in both the systems in order to execute ?

Because this is the error from caller system:

"Function module "ZRFC_YYH_COBD" not found."

Will be surely rewarded.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

RFC must reside in the target system, its not required in the source system.

Suppose I am calling an RFC from system A to B,

Then it must present in system B. whether its present in A does not matter.

You can use "FUNCTION_EXISTS" check if RFC exists in the remote system

Reward if helpful

Answers (5)

Answers (5)

Former Member
0 Kudos

Hi,

RFC function module is called in the destination system , and does not necessarily reside in the source system.

Like, there are 2 systems A and B, A being the source and B being the destination.

then the RFC module should be present in system B.

Reward if helpful

regards

preet

Former Member
0 Kudos

Hi,

Call the RFC, FM as shown below

DATA: l_sysid TYPE sy-sysid,

l_mandt TYPE sy-mandt,

l_dest(7).

l_sysid = sy-sysid(3).

l_mandt = sy-mandt(3).

CONCATENATE l_sysid '_' l_mandt INTO l_dest.

REPLACE sy-sysid+1(1) WITH 'S' INTO l_dest.

      • here the system is FSD where FM 'ZPURCHASE_REQUISITION' has been created

CALL FUNCTION 'ZPURCHASE_REQUISITION' DESTINATION l_dest

Hope this helps

Regds

Seema

Former Member
0 Kudos

Hi

The RFC fm has to be defined in the called system, not in calling system.

So if the system A calls the system B in order to run the fm ZRFC_YYH_COBD, this has to exist in system B.

Max

former_member223537
Active Contributor
0 Kudos

Hi,

You need to create RFC only in SAP.

While calling the RFC from 3rd party system. 1st pass the Logon ID & Password to SAP & then call the RFC.

I assume you have transported the RFC to necessary client.

Best regards,

Prashant

Former Member
0 Kudos

Only in the target system the RFC function module needs to be created. Check your RFC destination.

Regards,

Kiran Bobbala