cancel
Showing results for 
Search instead for 
Did you mean: 

Java communication error: Error when opening an RFC connection (CPIC-CALL: 'ThSAPOCMINIT' : cmRc=2 thRc=679 Transaction program not registered ).

Former Member
0 Kudos

There is a RFC connection not working connection test fails.

I found out the RFC is using a a program id that is not registerd.

When I register the program on os level like rfcexec -r -a <program_id> -g <hostname> -x <sapgw> the connection test on the rfc works.

The problem with the rfcexec is that it just works as long as the os session is active.

From what I´ve read I need to configure this on java side in the web dynpro content administrator.

Can you help me with that ? When I try to click Create jco destination I get an error.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Found out on the java site that the rfc user was lock´d on abab side.

user unlocked and case solved

Answers (1)

Answers (1)

alwina_enns
Employee
Employee
0 Kudos

Hello Vioar,

rfcexec is only a standard program for testing, you sould not register it for your application on the gateway.

Since you are getting "User is not allowed to read any data..." - did you logon with the correct user? Does this user have enough authorizations?

Regards,
Alwina