cancel
Showing results for 
Search instead for 
Did you mean: 

Error calling external RFC program

Former Member
0 Kudos

Hello,

We are running the following scenario:

SAP -> XI (7.0 SP09) -> External RFC program.

From SAP we execute synchronous proxy call via XI to external RFC program. On the external system RFC server program is running and is registered under a certain name on the SAP gateway of the SAP XI server. When checking with trx SMGW program is registered. However when executing the scenario we get the following error:

com.sap.aii.af.ra.ms.api.DeliveryException: RfcAdapter: receiver channel has static errors: can not instantiate RfcPool caused by: com.sap.aii.af.rfc.RfcAdapterException: error initializing RfcClientPool:com.sap.aii.af.rfc.RfcAdapterException: can not connect to destination system due to: com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect from SAP gateway to RFC server failed Connect_PM TYPE=R GWHOST=sapxd1.bsf.bouwstenenfabriek.nl GWSERV=sapgw12 PROGID=SAPNCORE PCS=1 LOCATION SAP-Gateway on host sapxd1.bsf.bouwstenenfabriek.nl / sapgw12 ERROR program SAPNCORE not registered TIME Thu Nov 9 13:36:14 2006 RELEASE 700 COMPONENT SAP-Gateway VERSION 2 RC 679 MODULE gwr3cpic.c LINE 1694 DETAIL TP SAPNCORE not registered COUNTER 2

We’ve already tried using the latest version of the librfc32.dll on the external system however without success.

Does somebody have any clue.

Emile

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi,

Thanks all for your comments.

Indeed I already checked these points.

However without succes.

Cheers,

Emile

Message was edited by: Emile Hermans

Former Member
0 Kudos

hi,

Please can you check on the constraints of RFC adapter:

http://help.sap.com/saphelp_nw04/helpdata/en/33/c6e63b60c25767e10000000a11402f/content.htm

<i>Receiver adapters only support external RFC servers that register themselves with an SAP gateway. You cannot start external RFC servers. In addition, secure communication using SNC (Secure Network Communication) between receiver adapters and an external RFC server is not supported.</i>

Regards

vijaya

Former Member
0 Kudos

Hi,

a) try to deactivate and activate one more time your communication channel

b) if some of the messages were sent, then increase number of maximal connection in RFC (POOL)

regards,

Wojciech

Former Member
0 Kudos

Hi Emile,

from the log you posted it seems that the external RFC server is not registered on SAP gateway.

Could you verify that the program id for that server is the same you are using in the adapter configuration (SAPNCORE)?

Hope it helps,

Kind Regards,

Sergio

Former Member
0 Kudos

Hi Emile,

Just to check that the registration is correct..create an RFC destination of Type 'T'(using SM59) and see if the test connection works.....

Then make sure in adapter monitoring the status for this channel is shown as green.....try making some changes and re-activating the channel also....

Thanks,

Renjith