cancel
Showing results for 
Search instead for 
Did you mean: 

RFC Error

Former Member
0 Kudos

In my CRM System SAPSLDAPI_<SID> Fails as below reason.

Connection Error

Error when opening an RFC connection

ERROR: program SAPSLDAPI_xxx not registered

LOCATION: SAP-Gateway on host GMU-CRMAPP-01 / sapgw00

DETAIL: TP SAPSLDAPI_xxx not registered

COMPONENT: SAP-Gateway

COUNTER: 194953

MODULE: gwr3cpic.c

LINE: 1812

RETURN CODE: 679

SUBRC: 0

RELEASE: 700

TIME: Fri Jun 3 10:46:12 2011

VERSION: 2

Regards,

Kumar.

Accepted Solutions (0)

Answers (4)

Answers (4)

JPReyes
Active Contributor
0 Kudos

program SAPSLDAPI_xxx not registered

You need to register the program, while creating the RFC... Read the documentation.

Regards

Juan

Former Member
0 Kudos

SAPSLDAPI_xxx Program was registered in JAVA.

can you pls suggest is the right way to register program in OS (AIX) Level.

rfcexec -aSAPSLDAPI_xxx -ghostname -xsapgw<no>

Pls suggest on this!!

Regards,

Kumar

sunny_pahuja2
Active Contributor
0 Kudos

Hi,

you should create JCO RFC on your java side with this program ID then it will work.

Thanks

Sunny

Former Member
0 Kudos

Its already exist SAPSLDAPI_<SID> in JCO RFC in JAVA Stack

Former Member
0 Kudos

Hi,

As per your post details you can register missing prog-id with below command :

./rfcexec -aMSAPSLDAPI_xxx -gGMU-CRMAPP-01 -xsapgw00

Just check if GMU-CRMAPP-01 or GM-CRMAPP-01which one is the correct host also add domain in case if it's not working.

Thanks,

Saleem

sunny_pahuja2
Active Contributor
0 Kudos

Hi,

On Java side, make sure that hostname and gateway should be of your ABAP side on which RFC exists.

Also, since this is the CRM system, so, SAPSLDAPI_<SID> is not required for SLD config.

Thanks

Sunny

sunny_pahuja2
Active Contributor
0 Kudos

Hi,

Have you registered program SAPSLDAPI_<SID> on Java side ?

Thanks

Sunny

Former Member
0 Kudos

Please check that you have a JCo RFC defined on the Java system where you have your SLD running.

You can define the JCo RFC in Visual Admin under Server--> Services --> JCo RFC Provider

Former Member
0 Kudos

Pls find dev_rd logs as below..

      • found trace flag (2) in appc header ***

IN:

---

ReqType : CPIC SysIdx : 576 ReqLen : 80 ReqId : 4582

CommIdx : -1 ConnIdx : 7 ReqVer : 6 Trace : 2

conn : 7 wp_no : -1 ReqBlk : -1

RqType : SAP_UNACCPTP Prot : REG UID : -1 Mode : 0

User : SapRc : 0 AppcRc : 0 ConvId : 10535359

Info : SYNC_CPIC_FUNCTION

GwFreeMemory: free 0x1109d4c50 (len=34615)

GwFreeMemory: act_overflow_size = 0 (- 34615)

Reset reg_status of JCOSERVER01 (576) to INIT

Unaccept TP = JCOSERVER01 (GMU-CRM-CI)

GwReadReqIndex: (process_id: -1)

GwReadReqIndex: no filled request-index-block

GwCheckClient: check clients

GwCheckClient: actual time stamp is 2321158006

GwCheckClient: start_of_waiting stamp = 2320593729

GwCheckClient: 1 clients still waiting for answers

GwCheckPollValue()

GwCheckPollValue: waiting client(s) (GW_COMM_CLIENTS_WAITING)

dev_rfc:

        • Trace file opened at 20110603 075402 BST SAP-REL 700,0,221 RFC-VER U 3 1090148

==== Delta 2 1 RELINK NEXT [1:281]-->[3: 1]

        • Trace file opened at 20110603 095402 BST SAP-REL 700,0,221 RFC-VER U 3 1090148

======> CPIC-CALL: 'ThSAPOCMINIT' : cmRc=2 thRc=679

Transaction program not registered

ABAP Programm: SAPMSSYT (Transaction: )

User: SAPADMIN (Client: 000)

Destination: CCMSPING.GMU-CRMAPP-01.00 (handle: 6, , )

Error RFCIO_ERROR_SYSERROR in abrfcpic.c : 1501

CPIC-CALL: 'ThSAPOCMINIT' : cmRc=2 thRc=679

Transaction program not registered

DEST =CCMSPING.GMU-CRMAPP-01.00

HOST =%%RFCSERVER%%

PROG =gm-crmapp-01.ccmsping.00

GWHOST =gm-crmapp-01

GWSERV =sapgw00

        • Trace file opened at 20110603 095402 BST SAP-REL 700,0,221 RFC-VER U 3 1090148

==== Delta 2 1 RELINK NEXT [1:281]-->[3: 1]

        • Trace file opened at 20110603 105419 BST SAP-REL 700,0,221 RFC-VER U 3 1090148

======> CPIC-CALL: 'ThSAPOCMINIT' : cmRc=2 thRc=679

Transaction program not registered

ABAP Programm: SAPMSSYT (Transaction: )

User: SAPADMIN (Client: 000)

Destination: CCMSPING.GMU-CRMAPP-01.00 (handle: 6, , )

Error RFCIO_ERROR_SYSERROR in abrfcpic.c : 1501

CPIC-CALL: 'ThSAPOCMINIT' : cmRc=2 thRc=679

Transaction program not registered

DEST =CCMSPING.GMU-CRMAPP-01.00

HOST =%%RFCSERVER%%

PROG =gm-crmapp-01.ccmsping.00

GWHOST =gm-crmapp-01

GWSERV =sapgw00

        • Trace file opened at 20110603 105420 BST SAP-REL 700,0,221 RFC-VER U 3 1090148