Archived discussions are read-only. Learn more about SAP Q&A

SM59 RFC(ABAP to Java) failed: "Program id" not registered

Hello, All

My NW ABAP BW and underlying Hana database are installed on separate machines rather than same machine.

In BW SM59 transaction, If I create RFC (TCP/IP Connection) to NW 7.3 BI Java portal, RFC connection failed with following error messages:

Error Details Error when opening an RFC connection (CPIC-CALL: 'ThSAPOCMINIT' : cmRc=2 thRc=67

Error Details ERROR: program IWDFVM4844_PORTAL_BIJ not registered

Error Details LOCATION: SAP-Gateway on host / sapgw00

Error Details DETAIL: TP IWDFVM4844_PORTAL_BIJ not registered

Error Details COMPONENT: SAP-Gateway

Error Details COUNTER: 357

Error Details MODULE: gwr3cpic.c

Error Details LINE: 1803

Error Details RETURN CODE: 679

Error Details SUBRC: 0

Error Details RELEASE: 720

Error Details TIME: Thu Jul 05 08:49:52 2012

Error Details VERSION: 2

I also checked "SMGW" goto -> logged on client, I can't find "TP IWDFVM4844_PORTAL_BIJ" registerred.  But  on my NW 7.3 BI Java portal, I have already registered the destination named “IWDFVM4844_PORTAL_BIJ”.

This issue doesn’t exist if I follow the same configuration steps to configure SM59 RFC (NW 7.3 ABAP -> NW 7.3 Java) on the BW with the underlying database on the same server.

I followed the following steps to finished configure RFC both on NW ABAP and Java ABAP.

NW Java 7.3

My Question:

In order to make the SM59 RFC (NW 7.3 ABAP -> NW 7.3 BI Java) works, is there any additional configuration necessary if NW BW and underlying database are on different server?

Thanks a lot!


  • SAP Employee


I have faced the same issue and this is because of new security parameter set for Gateway server.

Please refer to Note 1480644 - gw/acl_mode versus gw/reg_no_conn_info. You can resolve this issue by setting ABAP Parameter gw/acl_mode = 0 in your BW / BI system or following the instructions mentioned in the note .


Bhupesh Akkineni

5 View this answer in context
Not what you were looking for? View more on this topic or Ask a question