cancel
Showing results for 
Search instead for 
Did you mean: 

How to create RFC destination for 4.6c

Former Member
0 Kudos

Hi,

How do i create an RFC destination for 4.6c for an RFC Senderin XI? I don't have te option of Registered server program

Accepted Solutions (1)

Accepted Solutions (1)

sam_raju
Contributor
0 Kudos

Hi Udi,

In R/3, Go to Tr.code SM59 create an RFC Destionation with connection type "T" and click on the "Registration" button to enter the "Program ID". This Program ID should be same as specified in RFC Sender Adapter.

Also, refer to Question #22 in the SAP Note 730870.

Regards,

Sam Raju

Former Member
0 Kudos

Hi Sam,

Is that all? do i have to give any gateway details?

Former Member
0 Kudos

I get the program RFC_XI is not registered.

Y?

sam_raju
Contributor
0 Kudos

Hi Udi,

You have to specify the Gateway details.

Go to the menu destination-->Gateway and specify your gateway parameters

Gateway Host: your R/3 Host Server

Gateway Serice: sapgwXX(where 'XX' is your R/3 system number)

-Sam

Former Member
0 Kudos

done that , still getting the message RFC_XI (Program ID) not registered

what am i doing wrong?

sam_raju
Contributor
0 Kudos

Hi Udi,

Make sure you specified the program ID in Sender RFC Adapter and the Program ID you specified in RFC destion is exactly same as in RFC Sender Adapter.

Also, what is your scenario.

Is it R/3>RFCAdapter>XI-->?

-Sam

Former Member
0 Kudos

Yap , they are both the same name,

The scenario is R3 - > XI -> SOAP

Former Member
0 Kudos

what can cause then the error that the program is not registered?

I test my connection and this is what i get.

sam_raju
Contributor
0 Kudos

Hi Udi,

I got this portion from SAP Note #730870. Follow the steps specified in this.

"To check which Program IDs are registered at the SAP Gateway the gateway-monitor can be used via transaction SMGW. Select Goto -> Logged on Clients. Registered RFC-Servers have a System-Type of 'REGISTER_TP'. The Program ID of the registered RFC-Servrer can be found in column 'TP name'. Unfortunately the list within SMGW only shows the truncated version of the Program ID (column 'TP name'). To get the full name, the details of an entry have to be selected. As an alternative the report RSGETALL_REG_SERVERS can be executed in transaction SE38. The output of this report will show the full names of the Program ID in column 'Registered PROGID'. This functionality is also available in the function module GWY_READ_CONNECTED_SYSTEMS which can be executed in transaction SE37.

-Sam

Former Member
0 Kudos

SO I used tran SMGW and i don't see my program ID here.

SO what do i do from here?

sam_raju
Contributor
0 Kudos

Hi Udi,

It looks like your Program ID is not registered correctly. Make sure that you have all the parameters correctly defined.

-Sam Raju

Former Member
0 Kudos

I changed the program id and the connection works!

but now i get the following error:

com.sap.aii.af.rfc.afcommunication.RfcAFWException: lookup of alternativeServiceIdentifier via CPA-cache failed for channel 'RFC_Sender'

sam_raju
Contributor
0 Kudos

Hi Udi,

Refer to Q#19 in SAP Note 730870. Make sure you follow this.

I am pasting the section that talks about your error.

"While sending a RFC call to the RfcAdapter I get a error message like "com.sap.aii.af.rfc.afcommunication.RfcAFWException: lookup of binding via CPA-cache failed..." or "com.sap.aii.af.rfc.afcommunication.RfcAFWException: senderAgreement not found: lookup of binding via CPA-cache failed...". What is missing?

A: The RfcAdapter trys to find a Sender Agreement for this RFC call but the lookup failes. The values used for this lookup are:

Sender Party/Sender Service: The values from Party and Service belonging to the sender channel.

Sender Interface: The name of the RFC function module.

Sender Namespace: The fix RFC namespace urn:sap-com:document:sap:rfc:functions

Receiver Party/Receiver Service: These fields are empty. This will match the wildcard '*'."

-Sam Raju

Former Member
0 Kudos

Thanks a lot!

Former Member
0 Kudos

Mr. Sam,

I request your attention and assistance into my post:-

Link ->

Thanking you in advance.

Regards,

Premkishan Chourasia

Answers (0)