Skip to Content
author's profile photo
Former Member

Error 'Program not registered' while testing RFC connection<PI_RFC>

Hi Basis Experts

I am having problems while testing an RFC connection PI_RFC in one of our PI quality system.

Here is the Error log

Logon Connection Error

Error when opening an RFC connection

ERROR: program PI_RFC not registered

LOCATION: SAP-Gateway on host bp1xeuaa202 / sapgw01

DETAIL: TP PI_RFC not registered

Details COMPONENT: SAP-Gateway

COUNTER: 15866

MODULE: gwr3cpic.c

Details RETURN CODE: 679

We tried restarting the JCO-RFC provider service in VA,also tried restarting the Gateway service, tried registering the RFC using below command

rfcexec u2013g PI_RFC -a bp1xeuaa202 -x sapgw01

rfcexec u2013D PI_RFC

the command didnt gave any output also in SMGW tcode we didnt get the entry(PI_RFC) under system type as registered server.

Also we tried changing the Gateway hostname and service name in SM59.

Still we are facing the same issue, can anyone please help us in resolving this issue.

Regards

Syed

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

3 Answers

  • Posted on May 03, 2011 at 04:22 PM

    Hi,

    It seems to like problem with your program is not registered. As suggested by spantaleoni, you can go through.

    Here Program Id must be case sensitive. Once again check with your program Id.

    And, you have to register your program id in Visual Administrator.

    Goto Visual Administrator:

    In that Select Cluster>Server>Services-->JCo RFC Provider

    Then enter the Program Id and gw host & service.

    Hope this helps to you.

    Regards,

    P.Rajesh

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Posted on May 03, 2011 at 12:20 PM

    Hi,

    Please check the file saprfc.ini contents for registration.

    Also refer to the link http://wiki.sdn.sap.com/wiki/display/ABAPConn/CPICReturnCode679-TransactionProgramnotRegistered

    Vishal K

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Posted on May 03, 2011 at 12:44 PM

    To solve this problem:

    - Reactivate RFC CommunicationChannel

    - Check Program ID (in Rfc CC and in sm59 should be the same ID)

    - Check ECC/R3 system in SLD (that you are using in the Rfc CC) - The client setting in SLD must be correct

    - Check User/Pass/Client settings in RFC CC

    Add comment
    10|10000 characters needed characters exceeded