RFC connectivity

Calling ABAP function modules from outside the system over RFC, with destinations and connection pooling handled rather than hand-wired on the calling side.

Overview

SAP SHIPSby design
Node.js →

@sap/cds-rfc Calls ABAP function modules over RFC from a CAP service.

Not covered: It stops at the SAP NW RFC SDK. The official path needs that proprietary native library installed, licensed and built for every platform you deploy to — which is the part the community has been working around.

SourceCAP plugins — ABAP RFCchecked
THE COMMUNITY ADDS

RFC clients that run without the native library, such as open-rfc under @sap/cds-rfc, and samples that wire RFC calls into a CAP service.

Licence1

LicenceSAP Developer License Agreement 3.2 CAP§ 1AlwaysA covered CAP application uses RFC connectivity to extract SAP product data into a non-SAP product.
  • § 1 License. Productive customer applications are limited to SAP BTP or another SAP-licensed platform, and mass extraction to a non-SAP product is restricted except where solely required for SAP interoperability.

RFC transport does not itself establish permitted use. When the flow copies SAP product data into a non-SAP product, section 1 and its interoperability exception become relevant to the concrete design.

SAP Developer License Agreement 3.2 CAP →

Artifacts3

3 of 3 artifacts
ArtifactSignals
Packages2
@sap/cds-rfcCalls to ABAP function modules over RFC from a CAP service
Signals
none
open-rfcSDK-free TypeScript client for SAP synchronous RFC on Node.js
Signals
Functional boundary
Services1
SAP Connectivity serviceProxy from cloud apps to on-premise systems via Cloud Connector
Signals
none

Content2

Group by
Piece, what it offers
Introducing open-rfc: Calling SAP RFC from Node.js Without the SDK
blog.zeis.de — Marian Zeis, Marian Zeis, BlogThe reasoningRunnable code
Consume ABAP RFC Function Modules in CAP
SAP Community, Wouter Lemaire, BlogThe reasoningRunnable code
Introducing open-rfc: Calling SAP RFC from Node.js Without the SDK
blog.zeis.de — Marian Zeis, Marian Zeis, BlogThe reasoningRunnable code
Introducing open-rfc: Calling SAP RFC from Node.js Without the SDK
blog.zeis.de — Marian Zeis, Marian Zeis, BlogThe reasoningRunnable code

Seen working2

ArtifactSignals
Samples2
cap-rfcCalling ABAP function modules over RFC from a CAP service
No license
cap-rfcCAP Node.js action calling BAPI_EPM_BP_CREATE over RFC
No license

Details

Coverage
statecore and community, CAP
assessed
relationshipnarrow by design
also inBTP/BAIP, ABAP
SourceCAP plugins — ABAP RFCchecked
For your agent
Ref
capability:rfc-connectivity
JSON
/capabilities/rfc-connectivity.json
MCP
Connecting an agent