BlogBlogtypeA post on somebody's own site or a community platform. Nobody edits it after publication, so it dates from the day it was written.See every one →SAP Community

Communicate from a Java Application to ABAP via WebSocket RFC using JCo - Migration Guide

Walks a JCo setup from classic CPIC-based RFC to WebSocket RFC: swap the application- or message-server logon properties for jco.client.wshost and jco.client.wsport, and implement DestinationDataProvider's getSSLContext (and, for mTLS, getClientCertificate) since the new connection runs over TLS. It covers building the PKI trust on both sides — a local PKCS12 keystore for the Java side, STRUST's SSL-Server Standard certificate exported and imported for mutual trust on the ABAP side — and notes that on BTP, JCo paired with the Destination service already implements this via the Connectivity service, so the custom SSLContext work can be skipped there.

Where it sits

Explains
RFC connectivityABAPRFC connectivitycapabilityCalling ABAP function modules from outside the system over RFC, with destinations and connection pooling handled rather than hand-wired on the calling side.WebSocketCAPWebSocketcapabilityPushing to a browser that already has the page open, rather than making it ask again — the half of a UI that polling imitates badly.
Source
reachable

Who is behind it

simon_luserauthor

Properties

About this work

declared and crawled
Published
declared
Published on
declared
Views
crawled
2,491

For rfc-connectivity

on the edge
Applies in
authored
abap

More on this21

Group by21 of 21 pieces
Piece, what it offersStill applies
Also explainingRFC connectivity21
From Inbox to Quotation: An AI-Assisted Sales Workbench in React on SAP CAP
YouTube — SAP Developers playlists, SAP Developers
nothing recorded
SAP's API Policy on AI Agents: What It Prohibits, Allows, and Leaves Open
SAP Community, Héctor Enríquez
nothing recorded
Running AI agents against SAP ECC 6.0: lessons from building an in-system MCP server
SAP Community, NicolasHernandez
nothing recorded
Using RFC Function Modules and BAPIs in SAP Build Process Automation
SAP Community, MrRaj
nothing recorded
Reading Between the Lines: Under-Documented Fiori Elements Capabilities in SAPUI5 1.149
SAP Community, Sören Leibach
nothing recorded
Creating an SAP SD Billing Document Using a BAPI in SAP Build and Accessing It Through 'Joule Work'
SAP Community, MrRaj
nothing recorded
Claude ported ABAP functions to new API
SAP Community, jakub_filak
nothing recorded
Real-Time Architecture in SAP CAP: Mastering Asynchronous Jobs, Gateways with WebSockets
SAP Community, rgadirovThe reasoningA recipe
Core changed
Extract Rev-Trac requests by custom program and Rev-Trac API
SAP Community, sandraros
nothing recorded
Pattern Function for RFC
SAP Community, ykaldirim
nothing recorded
A Practical Real-Time CTI Widget for SAP Sales Cloud V2
SAP Community, gizemsoylutrThe reasoning
nothing recorded
Streaming LLM Output with CAP and WebSockets
SAP Community, RobinPThe reasoningA recipeRunnable code
Core changed
Using Communication Targets for Outbound RFC Communication in ABAP
SAP Community, Nikolina_MH
nothing recorded
Modernizing RFC/BAPI-based Integrations for a Clean Core with SAP Integration Suite
SAP Community, arunmaarirajha_kv
nothing recorded
Configuring SAP Cloud Integration for an IBP to S/4HANA (on prem / private cloud) integration
SAP Community, SofianePebre
nothing recorded
Consume ABAP RFC Function Modules in CAP
SAP Community, Wouter LemaireThe reasoningRunnable code
nothing recorded
Recommendations for Customers on using the Direct Push-Based Integration
SAP Community, sandra_thimme
nothing recorded
SAP Event Mesh: S4 HANA On-Prem and SAP CI(BTP IS) through WebSocket and Webhooks
SAP Community, FarooqAhmed
nothing recorded
WebSocket RFC to Cloud Using SAP Business Connector
SAP Community, Ulrich_Schmidt1
nothing recorded
How to use SAP Data Intelligence with SAP Cloud Connector
SAP Community, Former Member
nothing recorded
CAP WebSockets
SAP Community, vvdriesThe reasoningRunnable code
nothing recorded

Details

Graph4 edges
POINTS OUT →
explainsRFC connectivitycapability, core and community
explainsWebSocketcapability, community only
published onSAP Communitypublishing source
discovered viaSAP Communityabap-connectivity-tag
Source
Type
blog
Published on
Host
community.sap.com
First seen
History1
  • Entered the atlasDiscovered via SAP Community · abap-connectivity-tag.
For your agent
Ref
content:communicate-from-a-java-application-to-abap-via-websocket-rfc-using-jco-migratio
JSON
/content/communicate-from-a-java-application-to-abap-via-websocket-rfc-using-jco-migratio.json
MCP
Connecting an agent