cancel
Showing results for 
Search instead for 
Did you mean: 

No RFC authorization for function module RFCPING.

nayarasantos
Explorer
0 Kudos
534

Hi!

I need to know how to resolve the error that displays the RFCPING authorization error message?

2024-11-02 08:24:14,052 ERROR HOMOLOGACAO - 3.133.1 [main] [JCoServerDeployment.java:122] erro ao iniciar o SAP server
com.sap.conn.jco.JCoException: Server default repository destination CLIENT_POOL is invalid: Initialization of repository destination CLIENT_POOL failed: No RFC authorization for function module RFCPING. on 10.xx.xx.xx sysnr 00
at com.sap.conn.jco.rt.DefaultServer.update(DefaultServer.java:240)
at com.sap.conn.jco.rt.DefaultServer.<init>(DefaultServer.java:117)
at com.sap.conn.jco.rt.DefaultServerManager$DefaultServerFactory.createServer(DefaultServerManager.java:412)
at com.sap.conn.jco.rt.DefaultServerManager.getServer(DefaultServerManager.java:104)
at com.sap.conn.jco.rt.StandaloneServerFactory.update(StandaloneServerFactory.java:362)
at com.sap.conn.jco.rt.StandaloneServerFactory.getServerInstance(StandaloneServerFactory.java:175)
at com.sap.conn.jco.server.JCoServerFactory.getServer(JCoServerFactory.java:105)
at com.mastersaf.dfe.connectores.JCoServerDeployment.createJCoServer(JCoServerDeployment.java:118)
at com.mastersaf.dfe.connectores.JCoServerDeployment.createAndConfigureJCoServer(JCoServerDeployment.java:80)
at com.mastersaf.dfe.connectores.JCoServerDeployment.createRFCServer(JCoServerDeployment.java:66)
at com.mastersaf.dfe.connectores.JCoServerDeployment.onDeploy(JCoServerDeployment.java:62)
at com.mastersaf.integrator.core.IntegratorServer.runAllDeploymentListeners(IntegratorServer.java:64)
at com.mastersaf.integrator.core.IntegratorServer.start(IntegratorServer.java:58)
at com.mastersaf.integrator.core.IntegratorServer.main(IntegratorServer.java:41)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

Accepted Solutions (1)

Accepted Solutions (1)

raymond_giuseppi
Active Contributor

As you wrote in the title, this is an authoration failure.

The user assigned to the RFC must be allowed to authorization object S_RFC (either function or function group, activity 16 for execute) so assign (create if required) such a role and assign it to user

nayarasantos
Explorer
0 Kudos
Thank you for your response; I will forward the solution to the Global Security team so they can implement it! Thank you very much for the reply!!
Ulrich_Schmidt
Product and Topic Expert
Product and Topic Expert

You can see also SAP Note "460089 - Minimum authorization profiles for external RFC programs" for more details on authorization for RFC users.

Ulrich_Schmidt
Product and Topic Expert
Product and Topic Expert

The new error is:

ERROR registration of tp RFC_MSAFDFE from host 10.xx.xxx.xx.. not allowed

This means the Gateway is not yet configured to allow your program to register. You need to enter a line like

P TP=RFC_MSAFDFE HOST=10.xx.xxx.xx ACCESS=<list of application servers that should be allowed to call your JCo program>

in the Gateway's "reginfo" file.

This can be done in transaction SMGW, usually under "Goto --> Expert Functions --> External Security". (The precise path depends a bit on the backend release.)

See RFC Gateway Security Files secinfo and reginfo | SAP Help Portal for details.

Answers (1)

Answers (1)

nayarasantos
Explorer
0 Kudos

Yes!

I actually need to know how to do this authorization!

raymond_giuseppi
Active Contributor

Do not use Answer to respond to a comment or answer. Answer is intended to be used to propose a solution to the initial question. Use Comment instead.

nayarasantos
Explorer
0 Kudos
Hello, I managed to solve the problem! Thank you very much!!