cancel
Showing results for 
Search instead for 
Did you mean: 

CPIC-CALL: 'ThSAPOCMINIT' : cmRc=2 thRc=679 - Transaction program not regis

0 Kudos

Hello SAP Gurús.

I have in one server installed SOLMAN 7.0 (ABAP + JAVA) and TREX 7.0 REV 43. As part of Postinstallations steps of TREX I want to connect TREX with SOLMAN 7.0 to use search and classification in Service Desk Implementation.

There is no firewalls or restrictions between SOLMAN 7.0 and TREX 7.0 are installed in the same server.

When I am creating the RFC Destination using TREX ADMINISTRATION tool I am getting the following error in developer trace:

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

Transaction program not registered

ABAP Programm: SAPLCRFC (Transaction: )

User: ZTREXADMIN (Client: 001)

Destination: TREX_SOLMAN (handle: 12, , )

SERVER> RFC Server Session (handle: 1, 58127616, {494664D6-3000-03BC-E100-80000A261E09})

SERVER> Caller host:

SERVER> Caller transaction code: (Caller Program: SAPLTREX_ADMIN_TOOL)

SERVER> Called function module: TREX_RFC_CONNECT_CHECK_LOCAL

Error RFCIO_ERROR_SYSERROR in abrfcpic.c : 1501

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

Transaction program not registered

DEST =TREX_SOLMAN

HOST =%%RFCSERVER%%

*PROG =Trex_SM1_20081215135321*

          • Trace file opened at 20081215 144819 SAUST SAP-REL 700,0,173 RFC-VER U 3 1004276*

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

Transaction program not registered

ABAP Programm: RSRFCPIN (Transaction: SM59)

User: MCARDOZO (Client: 001)

Destination: TREX_SOLMAN (handle: 2, , )

Error RFCIO_ERROR_SYSERROR in abrfcpic.c : 1501

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

Transaction program not registered

DEST =TREX_SOLMAN

HOST =%%RFCSERVER%%

PROG =Trex_SM1_20081215135321

How it is possible to fix this problem ?

Thanks for your help.

MCM.

Accepted Solutions (0)

Answers (5)

Answers (5)

0 Kudos

Dear Radhakrishna .

Sap Note 766516 was applied already in BASIS 7.0 LEVEL 15 and there is no any authorization error during the RFC connection / Destination.

The cause of this problem is not authorization issue.

Dear Ayax Morales.

The following Post Installation steps were applied according

SAP NetWeaver 2004s Standalone Engine Search and Classification (TREX) Single Host

Document version: 1.5 u2013 March 13, 2008

Configuring TREX for the System Landscape Directory (SLD) --> ok.

Checking and Changing UNIX Kernel Parameters --ok.

Creating a SAP System User for the TREX Admin Tool (Stand-Alone) --ok.

Configuring the RFC Connection in the TREX Admin Tool --> FAILING.

Rgds.

MCM.

Ayax
Participant
0 Kudos

Post the steps you did for the configuration.

Regards,

Ayax

0 Kudos

Dear Radhakrishna.

Here the details of developer trace: dev_w2

*****************************************************************************

*

  • LOCATION SAP-Gateway on host hdodev01 / sapgw01

  • ERROR program Trex_SM1_20081217154015 not registered

*

  • TIME Wed Dec 17 20:10:42 2008

  • RELEASE 700

  • COMPONENT SAP-Gateway

  • VERSION 2

  • RC 679

  • MODULE gwr3cpic.c

  • LINE 1778

  • DETAIL TP Trex_SM1_20081217154015 not registered

  • COUNTER 47053

*

*****************************************************************************

RFC 1485 CONVID 49886087

  • CMRC=2 DATA=0 STATUS=0 SAPRC=679 ThSAPOCMINIT

RFC> ABAP Programm: SAPLCRFC (Transaction: )

RFC> User: ZTREXADMIN (Client: 001)

RFC> Destination: TREX_SOLMAN (handle: 12, , )

RFC SERVER> RFC Server Session (handle: 1, 49875064, {49496870-144B-03BC-E100-80000A261E09})

RFC SERVER> Caller host:

RFC SERVER> Caller transaction code: (Caller Program: SAPLTREX_ADMIN_TOOL)

RFC SERVER> Called function module: TREX_RFC_CONNECT_CHECK_LOCAL

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

ransaction program not registered

[abrfcio.c 8185]

      • ERROR => RFC Error RFCIO_ERROR_SYSERROR in abrfcpic.c : 1501

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

ransaction program not registered

EST =TREX_SOLMAN

OST =%%RFCSERVER%%

ROG =Trex_SM1_20081217154015

[abrfcio.c 8185]

TH VERBOSE LEVEL FULL

    • RABAX: end RX_GET_MESSAGE

Rgds.

MCM

Former Member
0 Kudos

Hi,

Check out the snote 766516 which mainly deals with the corrections within the authorisation depending up on the Support Pack level.

Do follow as per the note. Hope it resolves your problem.

Even SAP_BASIS 7.0 is affected release.

Rgds

Radhakrishna D S

0 Kudos

Dear Radhakrishna.

I have checked the link to configure RFC connection, everything is Ok. I am using the SAP USER ZTREXADMIN, type SYSTEM, this user has assigned the role ZSAP_BC_TREX_ADMIN with the appropiate permissions according help link and SAP TREX Config. Guide.

For testing purposes from SM59 I am using User Account MCARDOZO in SOLMAN client 001, this is why this account is recorded in developer trace, however I assigned the role ZSAP_BC_TREX_ADMIN but the problem is still reported in SM59 and developer traces.

Thanks for the ideas that you can provide to fix it.

Rgds.

Mauricio.

Former Member
0 Kudos

Hi,

check out the steps involved for an RFC Connection to a SAP system in the TREX Admin Tool in below link

http://help.sap.com/saphelp_nw70ehp1/helpdata/en/46/c044bf76911826e10000000a1553f6/frameset.htm

Does the user User: MCARDOZO (Client: 001) exists in the SAP system with specific SAP_BC_TREX_ADMIN role ?

Rgds

Radhakrishna D S