cancel
Showing results for 
Search instead for 
Did you mean: 

RFC ADAPTER destination hangs

Former Member
0 Kudos

To All

I am working on a XI 7.0 system SP5 for netweaver 2004s and am having problems with the RFC adapter.

Steps as follows:-

1.Configure SM59 tcp ip destination on r/3(4.6C) sender system using Xi system host and gateway service

2. step 2 - configure communication channel on my scenario in Integration directory. Activate channel

3. Send Asynchronous message via prgram from R/3 sender

this delivers successfully to BW target ssytem via asynchronous RFC

My problem is when I repeat steps 3 to send more my rfc destination fails with the following in the trace log:-

        • Trace file opened at 20060303 160158 WST, REL 46D,0,1984, VER 3

======> CPIC-CALL: 'ThSAPECMINIT'

Transaction program not registered

Error RFCIO_ERROR_SYSERROR in abrfcpic.c : 1356

CPIC-CALL: 'ThSAPECMINIT'

Transaction program not registered

DEST =ZSCEN2_XI

HOST =%%RFCSERVER%%

PROG =ZBWIP24_19

GWHOST =ux0800

GWSERV =sapgw53

If I repeat setps 1 to 3 above with a new transaction program it will again work but only once.

Any help would be greatly appreciated and I will award points.

Regards

Liz Porter

PS the adaptor monitor periodically gives the following message:-

Sender Channel 'RFC_INDE4' for Party '', Service 'ERP_WATERCORP_SAPR3_D' (Internal Name 'RfcServer[RFC_INDE4]')

Server data: {jco.server.gwhost=ux0800, jco.server.progid=ZBWIP24_19, jco.server.gwserv=sapgw53, jco.server.unicode=0}

Repository data: {jco.client.lang=en, jco.client.snc_mode=0, jco.client.client=100, jco.client.passwd=******, jco.webas.ignore_jdsr_error=1, jco.client.user=portere0, jco.client.sysnr=81, jco.client.ashost=sapdev}

Current pool size: 1, max pool size : 50

RFC_HISTORY

- Error: 2006-03-03 16:49:27 WST:

RfcException:

message: CPIC-CALL: SAP_CMACCPTP3

no SAP ErrInfo available

Return code: RFC_SYS_EXCEPTION(3)

error group: 102

key: RFC_ERROR_COMMUNICATION

Accepted Solutions (0)

Answers (3)

Answers (3)

STALANKI
Active Contributor
0 Kudos

Can you please paste the RFC call inside.Are you calling the RFC VIA destination option..program id?

Former Member
0 Kudos

Hi Liz,

Please can you check with your basis guy if they have re-started the server.

When you restart the server the PROGRAM ID do get registered but it was not happening in my case.

I think if you speak to SAP Administrators they will be able to help you better.

Regards

Vijaya

Former Member
0 Kudos

To All

The call from to the RFC destination is attempted as tRFC

see below:-

PARAMETERS:P_TPLNR LIKE IFLOT-TPLNR,

P_DESTN LIKE TRFCQOUT-DEST DEFAULT 'ZSCEN2_XI'.

.....

CALL FUNCTION 'ZBWIP_FUNCTIONAL_LOCN_OUT'

IN BACKGROUND TASK

DESTINATION P_DESTN

TABLES

FUNCT_LOC_MAIN = T_TABLE.

IF SY-SUBRC = 0.

COMMIT WORK.

WRITE:/ 'So far so good check XI'.

ELSE.

WRITE:/ 'Error ', SY-SUBRC.

ENDIF.

The SM59 parameters on R/3 4.6C as set as

Connection type T TCP/IP connection

Activation Type: registration

Program ID ZBWIP24_28

Gateway:-

Type T TCP/IP connection

Gateway host ux0800

Gateway service sapgw53

and finally tRFC:-

Connection attempts up to task 2

Time betw. 2 tries [mins] 10

In the XI integration directory:-

Adapter type RFc sender

Application Server(gateway) ux0800

Application service(gateway) sapgw53

Program id ZBWIP24_28

Initial Connections 1

Maximum connections 50

Advanced Mode Maximum reconnection delay 3

A bit more information from our XI system. In SMGW on XI our program shows as "connected" and on drill-down shows status receive data/send. If however we configure a SM59 TCP-IP connection on XI to our XI gateway(ie connect to myself) I get the same CPIC message about 677 timeout for registered program.

Regards

Liz

Former Member
0 Kudos

Liz,

How did you fix the problem. I am facing the same issue with PI 7.0.

First time, it connects fine and I need to re-start the RFC adapter to make it working again. Please let me know.

Thanks

Sarma

Former Member
0 Kudos

Sam

Thank you for your reply. I have read parts of note

730870 but didn't see Q25, I will check this out.

I have a question about another part of your reply though.

"Try to increase the number of connections on Sender RFC adapter channel in XI".

The connections on the RFC communication channel are currently set

as Initial Connections = 1. Maximum Connections = 50.

I tried changing Initial Connections to 5 at some stage, but then I couldn't get the channel to work at all.

Is there another connections setting?

Thanks

Regards

Liz

Former Member
0 Kudos

Hi Liz,

THe Error log shows

CPIC-CALL: 'ThSAPECMINIT'

Transaction program not registered

This has something to do with your Program ID(TCP-IP) connection not getting registered at R/3 level.

Please can you check for the TCP/IP is working fine.

Also are you getting a dump when u trigger ur RFC from R/3

Regards

Vijaya

Former Member
0 Kudos

Liz,

Do check this post on ABAP Forum..

Ivaylo has a similar issue with RFC connection on the listener end.This might help in troubleshooting your problem!!

Former Member
0 Kudos

Vijaya

Thanks for your reply. There is an error with the

registration of the program but this is the symptom of the main problem not the cause. As I said in my original post the destination ZSCEN2_XI works once then gets this error when tested with SM59. What I am trying to work out is what causes the deregistration.

Regards

Liz

sam_raju
Contributor
0 Kudos

Hi Liz,

Try to increase the number of connections on Sender RFC adapter channel in XI.

Also refer to Question#25 in SAP Note 730870(RFC Adapter FAQ) or any other question in that Note to see if they could help you to fix your problem.

Also make sure your Gateway options in SM59 are correctly defined.

Regards,

Sam Raju