https://raw.githubusercontent.com/ajmaradiaga/feeds/main/scmt/topics/SAP-Java-Connector-(JCo)-qa.xmlSAP Community - SAP Java Connector (JCo)2026-02-17T12:12:58.006231+00:00python-feedgenSAP Java Connector (JCo) Q&A in SAP Communityhttps://community.sap.com/t5/technology-q-a/sap-jco-initializer-error/qaq-p/13807803SAP JCo initializer error2024-08-27T02:06:54.861000+02:00Andrea_LHhttps://community.sap.com/t5/user/viewprofilepage/user-id/1682494<P>Hi All,</P><P>I'm trying to run a function module from Eclipse but I'm getting the following initializer errors:</P><P>Execute failed: JCo initialization failed with java.lang.UnsatisfiedLinkError ...KNIME\configuration\org.eclipse.osgi\705\0\.cp\sapjco3.dll: Can't find dependent libraries</P><P>Execute failed: Could not initialize class com.sap.conn.jco.rt.JCoRuntimeFactory</P><P>I'm using Windows 11, running on Java 17 and I've already installed the Microsoft Visual C++ 2015-2022 Redistributable (x64). I've also tried putting the JAR and the dll in the same directory but it didn't work. </P><P>Any help would be highly appreciated.</P>2024-08-27T02:06:54.861000+02:00https://community.sap.com/t5/financial-management-q-a/listener-error-in-rfc-tcp-ip/qaq-p/13916144Listener error in RFC TCP/IP2024-10-23T01:35:17.023000+02:00nayarasantoshttps://community.sap.com/t5/user/viewprofilepage/user-id/1506186<P>I created an RFC type T, TCP/IP connection<BR />however, when generating the connection for the connector with the Non SAP partner, this error message appeared</P><P>APPROVAL ERROR - 3.133.1 [JCoServerControllerThread] [ThrowableListener.java:20] Error in sap lister 709757/0|com.sap.conn.jco.JCoException: Server startup failed at Tue Oct 22 16:28:50 BRT 2024. 709757/0|This is caused by a) erroneous server configurations, b) the backend system has been shut down, c) network issues. Will attempt the next boot in 128 seconds. 709757/0|Unable to start server: Connection to SAP gateway failed 709757/0| Connection parameters: PROGID="......</P>2024-10-23T01:35:17.023000+02:00https://community.sap.com/t5/financial-management-q-a/no-rfc-authorization-for-function-module-rfcping/qaq-p/13927921No RFC authorization for function module RFCPING.2024-11-04T17:37:27.645000+01:00nayarasantoshttps://community.sap.com/t5/user/viewprofilepage/user-id/1506186<P>Hi!</P><P>I need to know how to resolve the error that displays the RFCPING authorization error message?</P><P>2024-11-02 08:24:14,052 ERROR HOMOLOGACAO - 3.133.1 [main] [JCoServerDeployment.java:122] erro ao iniciar o SAP server<BR />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<BR />at com.sap.conn.jco.rt.DefaultServer.update(DefaultServer.java:240)<BR />at com.sap.conn.jco.rt.DefaultServer.<init>(DefaultServer.java:117)<BR />at com.sap.conn.jco.rt.DefaultServerManager$DefaultServerFactory.createServer(DefaultServerManager.java:412)<BR />at com.sap.conn.jco.rt.DefaultServerManager.getServer(DefaultServerManager.java:104)<BR />at com.sap.conn.jco.rt.StandaloneServerFactory.update(StandaloneServerFactory.java:362)<BR />at com.sap.conn.jco.rt.StandaloneServerFactory.getServerInstance(StandaloneServerFactory.java:175)<BR />at com.sap.conn.jco.server.JCoServerFactory.getServer(JCoServerFactory.java:105)<BR />at com.mastersaf.dfe.connectores.JCoServerDeployment.createJCoServer(JCoServerDeployment.java:118)<BR />at com.mastersaf.dfe.connectores.JCoServerDeployment.createAndConfigureJCoServer(JCoServerDeployment.java:80)<BR />at com.mastersaf.dfe.connectores.JCoServerDeployment.createRFCServer(JCoServerDeployment.java:66)<BR />at com.mastersaf.dfe.connectores.JCoServerDeployment.onDeploy(JCoServerDeployment.java:62)<BR />at com.mastersaf.integrator.core.IntegratorServer.runAllDeploymentListeners(IntegratorServer.java:64)<BR />at com.mastersaf.integrator.core.IntegratorServer.start(IntegratorServer.java:58)<BR />at com.mastersaf.integrator.core.IntegratorServer.main(IntegratorServer.java:41)<BR />at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<BR />at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)<BR />at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)</P>2024-11-04T17:37:27.645000+01:00https://community.sap.com/t5/financial-management-q-a/error-message-in-the-external-connector-jco-with-sap/qaq-p/13930180Error message in the external connector Jco with SAP2024-11-06T14:04:13.840000+01:00nayarasantoshttps://community.sap.com/t5/user/viewprofilepage/user-id/1506186<P>I am facing this type of error when connecting the SAP Destination RFC with Java. The Java consultant is encountering this error in the command line.<BR />What could this be?<BR />We need to resolve this issue as soon as possible. Best regards!!</P><P> </P><DIV>2024-11-05 22:56:59,268 WARN HOMOLOGACAO - 3.133.1 [main] [IntegradorCamelContext.java:94] JMX do Broker disabled!</DIV><DIV>2024-11-05 22:56:59,297 WARN HOMOLOGACAO - 3.133.1 [main] [BrokerService.java:2171] Memory Usage for the Broker (1024mb) is more than the maximum available for the JVM: 512 mb - resetting to 70% of maximum available: 358</DIV><DIV>2024-11-05 22:56:59,528 WARN HOMOLOGACAO - 3.133.1 [main] [BrokerService.java:2128] Store limit is 102400 mb (current store usage is 12 mb). The data directory: /data/ConectorSAP/ConectorSAP3.133.1/activemq-data/ConectorDfeBroker/KahaDB only has 101011 mb of usable space. - resetting to maximum available disk space: 101011 mb</DIV><DIV>2024-11-05 22:57:29,785 ERROR HOMOLOGACAO - 3.133.1 [JCoServerThread-1] [ThrowableListener.java:20] Erro no lister do sap</DIV><DIV>com.sap.conn.jco.JCoException: CPIC-CALL: SAP_CMACCPTP3 on convId: </DIV><DIV> </DIV><DIV>LOCATION SAP-Gateway on host de4.xxx... / sapgw00</DIV><DIV>ERROR registration of tp RFC_MSAFDFE from host 10.xx.xxx.xx.. not</DIV><DIV> allowed</DIV><DIV>TIME Wed Nov 6 09:57:29 2024</DIV><DIV>RELEASE 777</DIV><DIV>COMPONENT SAP-Gateway</DIV><DIV>VERSION 2</DIV><DIV>RC 720</DIV><DIV>MODULE /bas/777_REL/src/krn/si/gw/gwxxrd.c</DIV><DIV>LINE 4401</DIV><DIV>COUNTER 1207</DIV><DIV> </DIV><DIV><SPAN>at com.sap.conn.jco.rt.MiddlewareJavaRfc.generateJCoException(MiddlewareJavaRfc.java:626)</SPAN></DIV><DIV><SPAN>at com.sap.conn.jco.rt.MiddlewareJavaRfc$JavaRfcServer.listen(MiddlewareJavaRfc.java:2537)</SPAN></DIV><DIV><SPAN>at com.sap.conn.jco.rt.DefaultServerWorker.dispatch(DefaultServerWorker.java:275)</SPAN></DIV><DIV><SPAN>at com.sap.conn.jco.rt.DefaultServerWorker.loop(DefaultServerWorker.java:356)</SPAN></DIV><DIV><SPAN>at com.sap.conn.jco.rt.DefaultServerWorker.run(DefaultServerWorker.java:232)</SPAN></DIV><DIV><SPAN>at java.base/java.lang.Thread.run(Thread.java:840)</SPAN></DIV><DIV>Caused by: com.sap.conn.rfc.exceptions.RfcException: CPIC-CALL: SAP_CMACCPTP3 on convId: </DIV><DIV> </DIV><DIV>LOCATION SAP-Gateway on host de4.xxx... / sapgw00</DIV><DIV>ERROR registration of tp RFC_MSAFDFE from host 10.xx.xxx.xxx not</DIV><DIV> allowed</DIV><DIV>TIME Wed Nov 6 09:57:29 2024</DIV><DIV>RELEASE 777</DIV><DIV>COMPONENT SAP-Gateway</DIV><DIV>VERSION 2</DIV><DIV>RC 720</DIV><DIV>MODULE /bas/777_REL/src/krn/si/gw/gwxxrd.c</DIV><DIV>LINE 4401</DIV><DIV>COUNTER 1207</DIV><DIV> </DIV><DIV><SPAN>at com.sap.conn.rfc.engine.RfcIoOpenCntl.RfcListen(RfcIoOpenCntl.java:2356)</SPAN></DIV><DIV><SPAN>at com.sap.conn.jco.rt.MiddlewareJavaRfc$JavaRfcServer.listen(MiddlewareJavaRfc.java:2503)</SPAN></DIV><DIV><SPAN>... 4 common frames omitted</SPAN></DIV><DIV>Caused by: com.sap.conn.rfc.exceptions.RfcIoException: CPIC-CALL: SAP_CMACCPTP3 on convId: </DIV><DIV> </DIV><DIV>LOCATION SAP-Gateway on host de4.goldwind.com.cn / sapgw00</DIV><DIV>ERROR registration of tp RFC_MSAFDFE from host 10.xx.xxx... not</DIV><DIV> allowed</DIV><DIV>TIME Wed Nov 6 09:57:29 2024</DIV><DIV>RELEASE 777</DIV><DIV>COMPONENT SAP-Gateway</DIV><DIV>VERSION 2</DIV><DIV>RC 720</DIV><DIV>MODULE /bas/777_REL/src/krn/si/gw/gwxxrd.c</DIV><DIV>LINE 4401</DIV><DIV>COUNTER 1207</DIV><DIV> </DIV><DIV><SPAN>at com.sap.conn.rfc.engine.RfcIoOpenCntl.ab_rfclisten(RfcIoOpenCntl.java:1389)</SPAN></DIV><DIV><SPAN>at com.sap.conn.rfc.engine.RfcIoOpenCntl.RfcListen(RfcIoOpenCntl.java:2352)</SPAN></DIV><DIV><SPAN>... 5 common frames omitted</SPAN></DIV><DIV>2024-11-05 22:57:29,787 ERROR HOMOLOGACAO - 3.133.1 [JCoServerThread-1] [ThrowableListener.java:21] Error occured on RFC_MSAFDFE connection 3-10.xxxx.xxxx.|sapgw00|RFC_MSAFDFE</DIV><DIV>2024-11-05 22:57:29,787 ERROR HOMOLOGACAO - 3.133.1 [JCoServerThread-2] [ThrowableListener.java:20] Erro no lister do sap</DIV><DIV>com.sap.conn.jco.JCoException: CPIC-CALL: SAP_CMACCPTP3 on convId: </DIV><P> </P>2024-11-06T14:04:13.840000+01:00https://community.sap.com/t5/technology-q-a/java-connector-3-1/qaq-p/13958627JAVA Connector 3.12024-12-09T06:14:30.644000+01:00KSAIhttps://community.sap.com/t5/user/viewprofilepage/user-id/1574294<P>Hello All ,</P><P>Can we able to multiple abap system (DEV/QUA/PRE-PROD) using single JAVA connector (3.1)</P><P>If yes , Kindly share configuration steps or standard guide for the same ?</P><P>Regards ,</P><P>SAI K </P>2024-12-09T06:14:30.644000+01:00https://community.sap.com/t5/technology-q-a/hi-there-i-have-a-challenge-while-integrating-sap-jco-3-1-10-into-a-maven/qaq-p/13962104Hi there, I have a challenge while integrating SAP JCo (3.1.10) into a Maven. Naming not allowed2024-12-12T14:21:07.105000+01:00Shelhttps://community.sap.com/t5/user/viewprofilepage/user-id/1771553<P>My issue is<SPAN> integrating SAP JCo (version 3.1.10) into a Maven-based Java project, specifically for creating a custom NiFi processor.</SPAN></P><P>Despite attempts to use Maven's maven-dependency-plugin with configurations like stripVersion or destFileName to rename the jar back to sapjco3.jar during the build process, the issue persists. This causes the following runtime error:</P><DIV><DIV>java.lang.ExceptionInInitializerError: Illegal JCo archive "sapjco3-3.1.10.jar". It is not allowed to rename or repackage the original archive "sapjco3.jar".</DIV><DIV>QUESTIONS:</DIV><DIV><STRONG>1. Maven Integration</STRONG><SPAN>: Is there an officially recommended approach to integrate SAP JCo into Maven projects while following SAP's archive naming restrictions?</SPAN><BR /><STRONG>2. Runtime Compliance</STRONG><SPAN>: Are there specific runtime configurations, environment variables, or Java options that could help resolve this issue?</SPAN><BR /><STRONG>3. Artifact Packaging</STRONG><SPAN>: How should the sapjco3.jar</SPAN><SPAN> be handled in scenarios where it needs to be included as part of a deployable archive (e.g., NiFi’s NAR format)?<BR /></SPAN><STRONG>4. Future Enhancements</STRONG><SPAN>: Given the challenges of using JCo with Maven, are there any plans for SAP to release Maven-compatible artifacts or documentation addressing these issues?</SPAN></DIV><DIV><PRE> </PRE><P> </P></DIV></DIV>2024-12-12T14:21:07.105000+01:00https://community.sap.com/t5/enterprise-resource-planning-q-a/i-can-not-create-a-settlement-rule-for-some-service-order-with-java/qaq-p/13968472I can not create a settlement rule for some service order with Java Connector2024-12-19T14:47:09.981000+01:00IrinaVhttps://community.sap.com/t5/user/viewprofilepage/user-id/1648158<P>Hello colleagues ,</P><P>I can not create a settlement rule for some service order with Java Connector but still able to do it with the Apab Work Bench...</P><P>//Java</P><DIV><DIV><P><SPAN>JCoTable </SPAN><SPAN>tableRange2</SPAN><SPAN> = </SPAN><SPAN>fuba</SPAN><SPAN>.getTableParameterList().getTable(</SPAN><SPAN>"IT_SRULE"</SPAN><SPAN>);</SPAN></P><P> </P><P><SPAN>tableRange2</SPAN><SPAN>.appendRow();</SPAN></P><P> </P><P><SPAN>tableRange2</SPAN><SPAN>.setRow(0);</SPAN></P><P> </P><P><SPAN>tableRange2</SPAN><SPAN>.setValue(</SPAN><SPAN>"PERCENTAGE"</SPAN><SPAN>,</SPAN><SPAN>"100"</SPAN><SPAN>) ;</SPAN></P><P><SPAN>tableRange2</SPAN><SPAN>.setValue(</SPAN><SPAN>"SETTL_TYPE"</SPAN><SPAN>,</SPAN><SPAN>"PER"</SPAN><SPAN>);</SPAN></P><P><SPAN>tableRange2</SPAN><SPAN>.setValue(</SPAN><SPAN>"COSTCENTER"</SPAN><SPAN>,xxxSomeNumber,ber );</SPAN></P><P><SPAN>tableRange2</SPAN><SPAN>.setValue(</SPAN><SPAN>"LFDNR"</SPAN><SPAN>,</SPAN><SPAN>"1"</SPAN><SPAN>);</SPAN></P><P>//</P></DIV></DIV><P>The Parameters look the same...but still getting the messages in Java-> the receiver could not be calculeted(aclually - german message below)</P><DIV><DIV class=""><P class="">Programmfehler: Objektart des Empfaengers nicht ermittelbar</P><P class="">Fehler beim Bearbeiten der BAPI-Methoden</P><P class=""> </P><P class="">Could anybody help?</P><P class="">Thanks!</P><P class="">Irina</P></DIV></DIV>2024-12-19T14:47:09.981000+01:00https://community.sap.com/t5/technology-q-a/cannot-find-bapi-in-action/qaq-p/13983690Cannot find BAPI in Action.2025-01-13T07:57:56.756000+01:00prakhar07https://community.sap.com/t5/user/viewprofilepage/user-id/1930491<P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2025-01-13 121816.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/211069i8E5A05225409633E/image-size/medium?v=v2&px=400" role="button" title="Screenshot 2025-01-13 121816.png" alt="Screenshot 2025-01-13 121816.png" /></span></P><P> </P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screensot 2025-01-13 122117.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/211070iA58F667C3A3691CF/image-size/medium?v=v2&px=400" role="button" title="Screensot 2025-01-13 122117.png" alt="Screensot 2025-01-13 122117.png" /></span></P><P> Can Anyone tell me the solution regarding how to call BAPI</P>2025-01-13T07:57:56.756000+01:00https://community.sap.com/t5/technology-q-a/query-on-j2ee-admin-user-id-change-in-sap-solman-7-2-after-system-copy/qaq-p/13992664Query on j2ee_admin user id change in SAP SOLMAN 7.2 after system copy2025-01-22T05:59:10.232000+01:00Appuruhttps://community.sap.com/t5/user/viewprofilepage/user-id/1473551<P>Dear All,</P><P>We installed the Solution Manager 7.2 development system and refreshed data from the production Solution Manager system.</P><P>Our Database is MAXDB</P><P>ABAP stack we did backup /restore database<BR />JAVA stack we did system copy export of JAVA stack production database and system copy import in development system</P><P>We need to create a new user called <STRONG>j2ee_adm_dev</STRONG>, as a copy of<STRONG> j2ee_adm_prd.</STRONG><BR />After creating the user ID <STRONG>j2ee_adm_dev,</STRONG> could you please specify the areas/locations in SAP JAVA (like SAP NWA, Configtool) where updates are required? (Replace <STRONG>j2ee_adm_prd</STRONG> with <STRONG>j2ee_adm_dev</STRONG>)<BR />Once the changes are completed in SAP NWA, we will lock the j2ee_adm_prd user.</P><P>Note :</P><P>1. We will keep the same <STRONG>sapjsf</STRONG> and<STRONG> j2ee_guest</STRONG> users along with their passwords as in the Production system, (there will be no change in user name and its passwords)</P><P>2. We will reconfigure Managed system configuration in Development system</P><P>Regards<BR />Appuru</P>2025-01-22T05:59:10.232000+01:00https://community.sap.com/t5/technology-q-a/communicate-from-sap-public-cloud-to-java-application-jco-server-via/qaq-p/13999305Communicate from SAP Public Cloud to Java Application (Jco Server) via WebSocketRFC Problem2025-01-28T14:28:12.902000+01:00andrzej_rosinskihttps://community.sap.com/t5/user/viewprofilepage/user-id/482644<P>Hello everybody,</P><P>i am having a problem while trying to call a outbound service from the SAP Public Cloud to a external JCo WebSocketRFC Server instance. </P><P>My JCo WebSocketRFC server is running on a VM that is exposed to the internet on port 8080.</P><P>In the SAP Public Cloud i have already configured the communication system where i have just entered the "Host Name" of my VM and set the Authentification Method in the "Users for Outbound Communication" to None since i do not need the authentification for the tests.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="andrzej_rosinski_0-1738069096899.png" style="width: 626px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/218280i5CA10B2A390FB2B4/image-dimensions/626x80?v=v2" width="626" height="80" role="button" title="andrzej_rosinski_0-1738069096899.png" alt="andrzej_rosinski_0-1738069096899.png" /></span></P><P>I have also configured a communication agreement for the communication system</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="andrzej_rosinski_1-1738069224536.png" style="width: 628px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/218283iCBAFBAB292576C43/image-dimensions/628x142?v=v2" width="628" height="142" role="button" title="andrzej_rosinski_1-1738069224536.png" alt="andrzej_rosinski_1-1738069224536.png" /></span></P><P>On the Eclipse ADT side i have a communication scenario that looks like this:</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="andrzej_rosinski_2-1738069368158.png" style="width: 677px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/218284i85FF3530A1A0DB40/image-dimensions/677x386?v=v2" width="677" height="386" role="button" title="andrzej_rosinski_2-1738069368158.png" alt="andrzej_rosinski_2-1738069368158.png" /></span></P><P>with the corresponding outbound service</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="andrzej_rosinski_3-1738069410114.png" style="width: 686px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/218287i483C2847792264F4/image-dimensions/686x160?v=v2" width="686" height="160" role="button" title="andrzej_rosinski_3-1738069410114.png" alt="andrzej_rosinski_3-1738069410114.png" /></span></P><P> </P><P>Now, when i try to call the outbound service from SAP Public Cloud ABAP with the corresponding code:</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="andrzej_rosinski_6-1738070185661.png" style="width: 701px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/218292iC3D3040168E6C3B3/image-dimensions/701x640?v=v2" width="701" height="640" role="button" title="andrzej_rosinski_6-1738070185661.png" alt="andrzej_rosinski_6-1738070185661.png" /></span></P><P> </P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="andrzej_rosinski_5-1738069869362.png" style="width: 703px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/218291i21E0DBE2160123FA/image-dimensions/703x559?v=v2" width="703" height="559" role="button" title="andrzej_rosinski_5-1738069869362.png" alt="andrzej_rosinski_5-1738069869362.png" /></span></P><P> </P><P>like described by SAP i get the following error</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="andrzej_rosinski_7-1738070655154.png" style="width: 784px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/218295i5A74B7666592C5B6/image-dimensions/784x16?v=v2" width="784" height="16" role="button" title="andrzej_rosinski_7-1738070655154.png" alt="andrzej_rosinski_7-1738070655154.png" /></span></P><P>Anyone has an idea why this fails? Dis anyone made a scenario like this before? - to communicate from the SAP Public Cloud to a external server program? I have only found tutorials how to communicate with on prem systems.</P><P>The JcoTrace for the server says the following (i have replaced the real IP with "hostname" in the screenshot)</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="andrzej_rosinski_1-1738137908962.png" style="width: 806px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/218578iECED119DD3D44DE4/image-dimensions/806x268?v=v2" width="806" height="268" role="button" title="andrzej_rosinski_1-1738137908962.png" alt="andrzej_rosinski_1-1738137908962.png" /></span></P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="andrzej_rosinski_2-1738138048772.png" style="width: 800px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/218581iD615EE4DBCE9AF55/image-dimensions/800x266?v=v2" width="800" height="266" role="button" title="andrzej_rosinski_2-1738138048772.png" alt="andrzej_rosinski_2-1738138048772.png" /></span></P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="andrzej_rosinski_4-1738138325596.png" style="width: 822px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/218590i061BC5E6C0183B63/image-dimensions/822x331?v=v2" width="822" height="331" role="button" title="andrzej_rosinski_4-1738138325596.png" alt="andrzej_rosinski_4-1738138325596.png" /></span></P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="andrzej_rosinski_5-1738138383475.png" style="width: 837px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/218591i7217D96652A86118/image-dimensions/837x191?v=v2" width="837" height="191" role="button" title="andrzej_rosinski_5-1738138383475.png" alt="andrzej_rosinski_5-1738138383475.png" /></span></P><P>obviously the handshake cannot be completed. I am trying to connect to the server withot any authentification (i have set the communication scenario to "Unauthentifiacted" and i have startet the Jco server without any p12 files - jco.server.use_tls=0).</P><P>Server props:</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="andrzej_rosinski_6-1738138858738.png" style="width: 796px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/218597i6ABB16E876BD22FB/image-dimensions/796x217?v=v2" width="796" height="217" role="button" title="andrzej_rosinski_6-1738138858738.png" alt="andrzej_rosinski_6-1738138858738.png" /></span></P><P><a href="https://community.sap.com/t5/user/viewprofilepage/user-id/121864">@MarkusTolksdorf</a> <a href="https://community.sap.com/t5/user/viewprofilepage/user-id/771659">@simon_luser</a> Thanks for your reply, i have added the Trace from the Jco. Could the problem be the missing authorisation? </P><P> </P><P> </P><P> </P><P> </P><P> </P><P> </P><P> </P><P> </P><P> </P><P> </P><P> </P><P> </P><P> </P><P> </P><P> </P><P> </P>2025-01-28T14:28:12.902000+01:00https://community.sap.com/t5/technology-q-a/outbound-communication-from-sap-public-cloud-to-a-websocket-rfc-server-in-a/qaq-p/14034359Outbound communication from SAP Public cloud to a Websocket RFC Server in a fenced customer network2025-03-05T12:14:51.564000+01:00andrzej_rosinskihttps://community.sap.com/t5/user/viewprofilepage/user-id/482644<P>Hello everybody,</P><P>is there any possibility to call a outbound service from SAP Public Cloud to a Websocket RFC server that is running in a fenced company network ? I have already called that Websocket RFC server with success but in that scenario the server must be accessible from the internet. </P><P>Maybe there is any way to use a VPN tunnel to get that connection done? Maybe even not with Websocket RFC if that should not be possible but with HTTP or even thru BTP like:</P><P>SAP Public Cloud -> BTP (some destination or tunnel) -> external program in a fenced company network (server).</P><P>Can such scenario be accomplished at all or is it not possible?</P><P>Greetings!</P><P> </P><P> </P><P><a href="https://community.sap.com/t5/user/viewprofilepage/user-id/771659">@simon_luser</a> , <a href="https://community.sap.com/t5/user/viewprofilepage/user-id/15899">@Ulrich_Schmidt1</a> thanks for your replies - update 14.03.25 - in the meanwhile i have installed the Cloud Connector on the machine where my WebSocket RFC Server is running (inside a fenced company network). Sadly i still wasn't able to establish a connection. For now i am not sure if this can be done using the Cloud Connector combined with a WebSocket RFC call from SAP public cloud. The problem is, as i suppose, that in the cloud connector there is no option for a RFC protocoll while selecting the target system "Non-SAP" that is my WebSocket RFC server. the possible option are:</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="andrzej_rosinski_2-1741948504505.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/237510iD5DFE95BD81BFC03/image-size/medium?v=v2&px=400" role="button" title="andrzej_rosinski_2-1741948504505.png" alt="andrzej_rosinski_2-1741948504505.png" /></span></P><P>Therefore i have selected the TCP protocol that at least does "see" the WebSoclet RFC server running on its port</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="andrzej_rosinski_1-1741948431063.png" style="width: 770px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/237509i270508CC4362D490/image-dimensions/770x135?v=v2" width="770" height="135" role="button" title="andrzej_rosinski_1-1741948431063.png" alt="andrzej_rosinski_1-1741948431063.png" /></span></P><P>but with that configuration i get no connection to the server. In the monitor view i do not see any throughput for the configured Cloud Connector.</P><P>I have also found a blog entry from Thomas Weiss (from 2021 - maybe its outdated?)</P><P><A title="WebSocket RFC blog" href="https://community.sap.com/t5/technology-blogs-by-sap/websocket-rfc-rfc-for-the-internet/ba-p/13502531" target="_self">https://community.sap.com/t5/technology-blogs-by-sap/websocket-rfc-rfc-for-the-internet/ba-p/13502531</A> </P><P>that is saying the following:</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="andrzej_rosinski_3-1741948684851.png" style="width: 609px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/237512iCBBA03FC81AD1B2D/image-dimensions/609x571?v=v2" width="609" height="571" role="button" title="andrzej_rosinski_3-1741948684851.png" alt="andrzej_rosinski_3-1741948684851.png" /></span></P><P> </P><P>So i suppose for the scenario:</P><P>--> SAP Public Cloud (embedded steampunk) to WebSocket RFC Server in a fenced company network some different communication type must be used.</P><P>Or maybe i am doing something wrong? any ideas?</P><P>Greetings!</P><P> </P><P> </P><P> </P><P> </P><P> </P><P> </P><P> </P><P> </P><P> </P><P> </P><P> </P><P> </P><P> </P><P> </P>2025-03-05T12:14:51.564000+01:00https://community.sap.com/t5/supply-chain-management-q-a/sap-jco-3-1-11-gt-last-java-supported-version/qaq-p/14046966SAP JCO 3.1.11 > Last Java supported version ?2025-03-17T11:58:45.524000+01:00Florent_Palcyhttps://community.sap.com/t5/user/viewprofilepage/user-id/1544271<P>Hello,</P><P>I contact you because we are installing a SAP JCO 3.1.11 on some our Windows server.</P><P>I checked the following link : SAP Java Connector<BR />And this SAP Note : 2786882 - SAP JCo 3.1 release and support strategy</P><P>I saw the last Java version supported is 21, but there are a lot of new versions of Java available now, 22 and 23...<BR />Is it mandatory to use Java 21 or can we use the most recent version ?</P><P><BR />Regards,</P><P>Florent Palcy</P><P>AR Company</P>2025-03-17T11:58:45.524000+01:00https://community.sap.com/t5/technology-q-a/does-sap-jco-hold-memory-if-all-heavy-logic-is-in-abap-and-java-just-waits/qaq-p/14095036Does SAP JCo hold memory if all heavy logic is in ABAP and Java just waits for the result?2025-05-07T08:50:17.321000+02:00bagerehttps://community.sap.com/t5/user/viewprofilepage/user-id/1544209<P>I'm using SAP Java Connector (JCo 3.x) to call an ABAP remote-enabled function module (FM) from a Java application.</P><P>The scenario:</P><UL><LI>The FM performs heavy processing <STRONG>entirely inside ABAP</STRONG></LI><LI><STRONG>Importing/exporting parameters are small</STRONG> (just a few scalars and short messages)</LI><LI>Java uses JCoDestinationManager.getDestination() and calls .execute()</LI><LI>I do <STRONG>not</STRONG> use JCoContext.begin() — so it's a stateless call</LI></UL><P>The issue:</P><UL><LI>Despite minimal input/output, our <STRONG>Java process shows large memory spikes</STRONG></LI><LI>If two JCo calls run concurrently, total memory usage reaches <STRONG>8 GB</STRONG> and crashes</LI><LI>ABAP logic is confirmed to be memory-heavy (large SELECTs, joins, etc.), but it completes normally when called standalone</LI></UL><P><STRONG>Question</STRONG>:</P><UL><LI>Does JCo hold backend session data or native memory while waiting for the ABAP FM to complete?</LI><LI>Can memory usage grow on the Java side <STRONG>just because of ABAP-side memory</STRONG>, even when nothing large is returned?</LI><LI>What is the best way to avoid memory pressure in this scenario?</LI></UL><P>Any clarification on JCo behavior or best practices is appreciated.</P>2025-05-07T08:50:17.321000+02:00https://community.sap.com/t5/technology-q-a/error-rfc-in-cloud-foundry-with-jco-there-is-no-sap-cloud-connector-scc/qaq-p/14109178Error rfc in cloud foundry with jco: There is no SAP Cloud Connector (SCC) connected2025-05-22T12:07:13.471000+02:00davecorhttps://community.sap.com/t5/user/viewprofilepage/user-id/887093<P><SPAN>Hi </SPAN><SPAN>,</SPAN><BR /><SPAN>in </SPAN><SPAN>my </SPAN><SPAN>application </SPAN><SPAN>deployed </SPAN><SPAN>on </SPAN><SPAN>SAP </SPAN><SPAN>BTP </SPAN><SPAN>Cloud </SPAN><SPAN>Foundry, </SPAN><SPAN>I </SPAN><SPAN>am </SPAN><SPAN>trying </SPAN><SPAN>to </SPAN><SPAN>connect </SPAN><SPAN>via </SPAN><SPAN>RFC </SPAN><SPAN>using </SPAN><SPAN>the </SPAN><SPAN>JCo </SPAN><SPAN>libraries </SPAN><SPAN>to </SPAN><SPAN>an </SPAN><SPAN>on-premise </SPAN><SPAN>SAP </SPAN><SPAN>service.</SPAN><BR /><SPAN>However, </SPAN><SPAN>I </SPAN><SPAN>encounter </SPAN><SPAN>the </SPAN><SPAN>following </SPAN><SPAN>error:</SPAN></P><DIV class=""><SPAN class="">Code</SPAN></DIV><DIV class=""><DIV class=""> </DIV></DIV><DIV class=""><PRE><SPAN>failed: </SPAN><SPAN>There </SPAN><SPAN>is </SPAN><SPAN>no </SPAN><SPAN>SAP </SPAN><SPAN>Cloud </SPAN><SPAN>Connector </SPAN><SPAN>(SCC) </SPAN><SPAN>connected </SPAN><SPAN>to </SPAN><SPAN>your </SPAN><SPAN>subaccount </SPAN><SPAN>matching </SPAN><SPAN>the </SPAN><SPAN>requested </SPAN><SPAN>tunnel </SPAN><SPAN>for </SPAN><SPAN>subaccount </SPAN><SPAN>"JCoSingleTenantKyma" </SPAN><SPAN>and </SPAN><SPAN>SCC </SPAN><SPAN>location </SPAN><SPAN>ID </SPAN><SPAN>"ENGLAND". </SPAN><SPAN>Check </SPAN><SPAN>the </SPAN><SPAN>configuration </SPAN><SPAN>on </SPAN><SPAN>SCC </SPAN><SPAN>and </SPAN><SPAN>cloud </SPAN><SPAN>side. </SPAN><SPAN>(remote </SPAN><SPAN>system </SPAN><SPAN>is </SPAN><SPAN>[<unknown>])","level":"WARN","SERVER":"main","written_ts":"1747902844351120977","logger":"com.sap.conn.jco","HOST":"8dc4ba91-c82c-4fbc-4dd3-b9dc","written_at":"2025-05-22T08:34:04.350Z","thread":"main","type":"log"}</SPAN></PRE></DIV><P><SPAN>To </SPAN><SPAN>clarify:</SPAN></P><UL><LI><SPAN>The </SPAN><SPAN>destination </SPAN><SPAN>in </SPAN><SPAN>SAP </SPAN><SPAN>BTP </SPAN><SPAN>successfully </SPAN><SPAN>passes </SPAN><SPAN>the </SPAN><SPAN>connection </SPAN><SPAN>test </SPAN><SPAN>with </SPAN><SPAN>the </SPAN><SPAN>Cloud </SPAN><SPAN>Connector.</SPAN></LI><LI><SPAN>My </SPAN><SPAN>application </SPAN><SPAN>correctly </SPAN><SPAN>retrieves </SPAN><SPAN>the </SPAN><SPAN>destination </SPAN><SPAN>data </SPAN><SPAN>and </SPAN><SPAN>only </SPAN><SPAN>fails </SPAN><SPAN>at </SPAN><SPAN>this </SPAN><SPAN>call:</SPAN></LI></UL><DIV class=""><SPAN class="">Java</SPAN></DIV><DIV class=""><DIV class=""> </DIV></DIV><DIV class=""><PRE><SPAN class=""><SPAN>JCoDestination</SPAN></SPAN> <SPAN class=""><SPAN>destination</SPAN></SPAN> <SPAN class=""><SPAN>=</SPAN></SPAN> <SPAN>JCoDestinationManager.getDestination(destinationName);
System.out.println(</SPAN><SPAN class=""><SPAN>"Get </SPAN><SPAN>destination </SPAN><SPAN>==> </SPAN> <SPAN>"</SPAN></SPAN> <SPAN>+ </SPAN><SPAN>destination.getDestinationID());
destination.ping();</SPAN></PRE></DIV><UL><LI><SPAN>On </SPAN><SPAN>the </SPAN><SPAN>Cloud </SPAN><SPAN>Connector </SPAN><SPAN>side, </SPAN><SPAN>the </SPAN><SPAN>destination </SPAN><SPAN>is </SPAN><SPAN>green, </SPAN><SPAN>so </SPAN><SPAN>it </SPAN><SPAN>passes </SPAN><SPAN>the </SPAN><SPAN>tests.</SPAN></LI><LI><SPAN>There </SPAN><SPAN>are </SPAN><SPAN>no </SPAN><SPAN>discrepancies </SPAN><SPAN>with </SPAN><SPAN>the </SPAN><SPAN>various </SPAN><SPAN>subaccounts; </SPAN><SPAN>I </SPAN><SPAN>have </SPAN><SPAN>checked </SPAN><SPAN>the </SPAN><SPAN>IDs </SPAN><SPAN>and </SPAN><SPAN>they </SPAN><SPAN>match </SPAN><SPAN>both </SPAN><SPAN>in </SPAN><SPAN>SAP </SPAN><SPAN>BTP </SPAN><SPAN>and </SPAN><SPAN>in </SPAN><SPAN>SCC.</SPAN></LI></UL><P><SPAN>What </SPAN><SPAN>could </SPAN><SPAN>be </SPAN><SPAN>the </SPAN><SPAN>cause </SPAN><SPAN>of </SPAN><SPAN>this?</SPAN></P>2025-05-22T12:07:13.471000+02:00https://community.sap.com/t5/supply-chain-management-q-a/how-to-use-jco3-in-mii-with-sso/qaq-p/14162348How to use JCO3 in MII with SSO2025-07-25T10:31:30.420000+02:00nickstannagehttps://community.sap.com/t5/user/viewprofilepage/user-id/370924<P>Hi</P><P>Switching to JCO3 (due to INT8), but cannot get it to work with SSO, error is "Initialisation of destination XXX failed : connection already closed".</P><P>It works fine in non-sso scenario.</P><P>Thanks in advance</P><P>Nick</P>2025-07-25T10:31:30.420000+02:00https://community.sap.com/t5/technology-q-a/jco-parameters/qaq-p/14219854JCo Parameters2025-09-17T11:34:56.856000+02:00GuntherAhttps://community.sap.com/t5/user/viewprofilepage/user-id/1899347<P>Hello together,</P><P>we have connected our SAP ECC System with our WACOS Warehouse Management System via Direkt RFC with SAP JCO. </P><P>After switching our quality System to SAP ECS Cloud we had the Problem that the rfc queue in sm58 was only precessing one call every few minutes. </P><P> </P><P>We changed the following parameter jco.server.connection_count from 1 to 40. After that the Performance of processing RFC Calls was much better than before. </P><P>But we are not sure if it's enogh to change the parameter up to 40 or if we must rise it higher.</P><P>In normal Business we are packing our parcels at nearly 20-25 packing stations. Each parcel needs 2 RFC Calls. In the logging we saw that each call creates up to 5 Connections at one time. So is it ok when we rise the parameter up to 100 oder higher? Or will we get some Problems then?</P><P>These parameters were changed additionally:</P><P>jco.destination.peak_limit=50</P><P>jco.destination.pool_capacity=40</P><P>jco.destination.expiration_time=900000</P><P>jco.destination.expiration_period=600000</P><P>jco.destination.max_get_time=60000 <BR /><BR />Does anybody have experience with that?<BR /><BR />Thanks in advance!<BR /><BR />Gunther</P>2025-09-17T11:34:56.856000+02:00https://community.sap.com/t5/technology-q-a/%E5%A6%82%E4%BD%95%E5%AE%9E%E6%97%B6%E7%9B%91%E6%8E%A7-hana%E6%9F%90%E8%A1%A8%E7%9A%84-%E5%88%A0%E9%99%A4%E4%BA%8B%E4%BB%B6-how-to-runtime-subscribe-to-deletion-events-for-a-erp/qaq-p/14259000如何实时监控(Hana某表的)删除事件 How to runtime-subscribe to deletion events for a ERP table2025-11-03T10:34:41.252000+01:00GE3https://community.sap.com/t5/user/viewprofilepage/user-id/1539984<P>您好, 我们有个安全与容灾项目, 需要实时的监控某些表的删除事件, 以实现对高敏感业务操作的实时预警和自动处理; </P><P>现在的问题是: 我们不知道要如何才能订阅到 相关ERP表中某行记录的删除事件 (有PrimayKey主键), 希望SAP能提供这方面的方案建议和指导; </P><P> </P><P>We would like to know how to subscribe to deletion events for specific rows in related <STRONG>ERP</STRONG> tables (with a <STRONG>Primary Key</STRONG>). <STRONG>SAP</STRONG> is requested to provide solution suggestions and implementation guidance on this topic.</P>2025-11-03T10:34:41.252000+01:00https://community.sap.com/t5/technology-q-a/download-the-sap-java-connector-jco-as-a-guest/qaq-p/14267758Download the SAP Java Connector (JCo) as a guest2025-11-13T09:56:43.365000+01:00js_acphttps://community.sap.com/t5/user/viewprofilepage/user-id/2265402<P>Dear Sir or Madam.</P><P>How can I download the SAP Java Connector (JCo) when I am not an SAP customer, but only a guest?<BR />I only got an login with P-Number, bot not an S-User-Account and therefore when trying to download from <BR /><A href="https://support.sap.com/en/product/connectors/jco.html" target="_blank" rel="noopener noreferrer">https://support.sap.com/en/product/connectors/jco.html</A><BR />only receive: <BR />"You are not authorized to use this application".</P><P>I already tried contacting Support via Chat, but was told I should as here in the community forum.</P><P>I am not an SAP Customer and only want to use a third party tool that requires the JCo to integrate with SAP.</P><P>Thank you for your help and with kind regards,</P><P>Jan S. </P>2025-11-13T09:56:43.365000+01:00https://community.sap.com/t5/technology-q-a/jco-rfc-output-is-sorting-or-top-n-selection-possible/qaq-p/14277200JCo RFC Output: Is Sorting or TOP N Selection Possible?2025-11-25T12:45:43.774000+01:00hari0011https://community.sap.com/t5/user/viewprofilepage/user-id/2085074<DIV><DIV><SPAN>Hi experts,</SPAN></DIV><BR /><DIV><SPAN>I am calling some SAP standard RFC functions via JCo (for example: SWNC_GET_WORKLOAD_SNAPSHOT) which return large internal tables in the export parameters.</SPAN></DIV><DIV><SPAN>I would like to know whether it is possible to:</SPAN></DIV><OL><LI><SPAN>Sort the export table in the RFC result (e.g., ORDER BY a specific field), or</SPAN></LI><LI><SPAN>Limit the number of rows returned (e.g., TOP 30 records)</SPAN></LI></OL><DIV><SPAN>Is there any SAP-supported way to sort or limit the entries directly in the RFC call?</SPAN></DIV><DIV><SPAN>Or is the only option to fetch the full table and then perform sorting/limiting on the Java/JCo side?</SPAN></DIV><DIV><SPAN>Any guidance or confirmation from SAP or community experience would be greatly appreciated.</SPAN></DIV><BR /><DIV><SPAN>Thanks!</SPAN></DIV></DIV>2025-11-25T12:45:43.774000+01:00https://community.sap.com/t5/technology-q-a/can-any-rfcs-trigger-update-operations/qaq-p/14289413Can any RFCs trigger UPDATE operations?2025-12-12T13:36:06.823000+01:00hari0011https://community.sap.com/t5/user/viewprofilepage/user-id/2085074<P>Hello Experts,</P><P>We invoke JCo functions and use RFC calls to collect performance metrics. Based on our understanding, these RFCs are read-only in nature. However, we would like to confirm whether any of them could indirectly trigger an update to the SAP internal table TTREELOADS.</P><P>We are currently investigating an unexpected update observed on TTREELOADS, with the following statement recorded:<EM>UPDATE TTREELOADS </EM><BR /><EM>SET GEN_DATE = ..., GEN_TIME = ..., GEN_FLAG = ...</EM><BR /><EM>WHERE TREE_ID = ...</EM></P><P>To isolate the root cause, we are analyzing whether any RFC calls might lead to such an update as part of internal processing .</P><P>Our assumption is that these RFCs do not perform write operations. However, we would like to check with the community:</P><P>Has anyone experienced scenarios where any of these RFCs caused internal updates (for example, triggering a TTREELOADS update), even though no explicit database write operation is documented or visible?</P><P>Any insights, SAP Notes, or clarification on internal behavior would be greatly appreciated.</P><P>Thank you!</P><P><STRONG> </STRONG></P>2025-12-12T13:36:06.823000+01:00