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

Connect SAP CAP (Node.js) to On-Premise/Private PostgreSQL using SAP Cloud Connector

An end-to-end route from a CAP Node.js application on Cloud Foundry to a PostgreSQL database that is never made publicly reachable, over BTP Connectivity and the Cloud Connector using a TCP destination and SOCKS5. The part worth having is that it covers the deployer as well as the server: the generated PostgreSQL deployer has to reach the same private database to deploy the CDS model, and a guide that only connects the runtime leaves you with a schema you cannot install.

Where it sits

Explains
Database connectorsCAPBTPDatabase connectorscapabilityConnecting an application’s data model and queries to a database, including the differences in supported queries, types and schema management between database implementations. Changing an existing schema belongs to [schema evolution](capability:schema-evolution).DestinationsCAPBTPDestinationscapabilityReaching a system that is not yours — an S/4HANA tenant, an on-premise service, a third-party API — without the address, the credentials or the tunnel being written into the application. The destination is the indirection, and the reason an endpoint can move without a redeploy.
Since then
Database connectors changed in @sap/cds 10.1.0, 2026-09-07
Source
reachable

Who is behind it

Kalaikovanauthor

Before you read it

read from the page
ApplicabilityCore changedDatabase connectors changed in @sap/cds 10.1.0, 2026-09-07.

This is a derived prompt to re-check the work, not a claim that the work is wrong. Exact stale statements are recorded separately after editorial review.

Properties

About this work

declared and crawled
Published
declared
Published on
declared
Views
crawled
1,266

What was found on the page

derived
Prose
derived
2,775 words
Numbered steps
derived
11
Code blocks
derived
19

For database-connectors

on the edge
Applies in
authored
btpcap

For destinations

on the edge
Applies in
authored
btpcap

More on this105

Group by105 of 105 pieces
Piece, what it offersStill applies
Also explainingDatabase connectors105
Bridging Python and SAP HANA: Inside the sqlalchemy-hana Open-Source Dialect
YouTube — SAP Developers playlists, SAP Developers
nothing recorded
CAP Foundry: Engineering SAP CAP Applications from Business Intent with Guardrailed AI
SAP Community, Shahid
nothing recorded
Expose S/4HANA Cloud OData API as an MCP Server via CAP Node.js
SAP Community, Jacky_Liu1
nothing recorded
Principal Propagation from BTP Web App to S/4HANA via SAP Integration Suite
SAP Community, Joni
nothing recorded
Using RFC Function Modules and BAPIs in SAP Build Process Automation
SAP Community, MrRaj
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
Fullstack CAP Application with HANA Cloud (Decoupled Architecture) [Part-5]
SAP Community, sanjucsThe reasoning
nothing recorded
Fullstack CAP Application with HANA Cloud (Decoupled Architecture) [Part-4]
SAP Community, sanjucsThe reasoningA recipe
Core changed
Fullstack CAP Application with HANA Cloud (Decoupled Architecture) [Part-3]
SAP Community, sanjucsThe reasoning
nothing recorded
Fullstack CAP Application with HANA Cloud (Decoupled Architecture) [Part-1]
SAP Community, sanjucsThe reasoningA recipeRunnable code
Core changed
Building a CAP App with Fiori Integration – Part 1: Environment & HANA Cloud Setup
SAP Community, SuryaRamesh, part 1 of 2The reasoning
nothing recorded
Building Custom Joule Skills via RFC: Guide for SAP S/4HANA and ECC Integration
SAP Community, Robin-Qiu
nothing recorded
Implementing Dynamic Subaccount-Based Routing in SAP CAP with SAP BTP Destinations
SAP Community, Dnyaneshwar SalveThe reasoningRunnable code
nothing recorded
SAP CAP on HANA XSA: Scaling Industrial Data Applications Beyond the Cloud
SAP Community, rgadirovThe reasoningRunnable code
Core changed
SAP BTP Platform Technical User for CTMS Integration
SAP Community, Marudhu999
nothing recorded
Part 2: Creating and Deploying a CAP Application with PostgreSQL, Hyperscaler Option
SAP Community, yashbhosle789, part 2 of 2The reasoningA recipe
Core changed
Part 1: Creating and Deploying a SAP CAP Application with SAP HANA on SAP BTP (Cloud Foundry)
SAP Community, yashbhosle789, part 1 of 2The reasoningA recipe
Core changed
UI for the BTP Application Vulnerability Report
SAP Community, Wouter Lemaire
nothing recorded
Setting Up PostgreSQL for SAP BTP Development: A Practical Guide
SAP Community, michal_majerThe reasoningA recipeRunnable code
nothing recorded
Use REST services in Graph
SAP Community, florian_moritz
nothing recorded
Create a CAP Application with SAP HANA Cloud from Scratch and Deploy to Cloud Foundry
SAP Community, MaheshSirsat1708The reasoningA recipe
Core changed
Establishing connectivity between a local CAP runtime and on-premise systems
SAP Community, vLeonkevThe reasoningA recipeRunnable code
nothing recorded
Creating a Hybrid CAP (Node.js) Profile with PostgreSQL on BTP from Business Application Studio
SAP Community, valentincadartThe reasoningRunnable code
Core changed
From REST to Datasphere: A CAP-based Integration Approach
SAP Community, christian_williThe reasoning
nothing recorded
Configuring SAP Cloud Integration for an IBP to S/4HANA (on prem / private cloud) integration
SAP Community, SofianePebre
nothing recorded
Sending Emails from SAP CAP Applications with Any SMTP Provider
SAP Community, MaheshSirsat1708
nothing recorded
How to Call a Remote OData API from Your Local CAP Java Project
SAP Community, UmezukiThe reasoningRunnable code
nothing recorded
Exposing SAP S4 Onprem data to external System || Odata Service || BTP || Destination-Connectivity
SAP Community, Ace_D
nothing recorded
Connect to Public Cloud API in Node.js via Authorisation Code
SAP Community, EganThe reasoning
nothing recorded
Extending SAP Sales and Service Cloud V2 Using CAP
SAP Community, QuablabThe reasoningA recipe
nothing recorded
Set up the SAP Cloud Connector: Integrating On‑Premise Systems with Cloud Services
SAP Community, Thijn_Grilis
nothing recorded
Consuming data from SAP Datasphere in SAP BTP CAP Applications
SAP Community, sudheer-tammanaThe reasoning
nothing recorded
Lets Talk to the Database - CAP & SQLite Powered by Google Gemini-2.5-Pro
SAP Community, ShivamShuklaSAPThe reasoning
nothing recorded
SAP CAP With Prostgres Serice in BTP
SAP Community, satya-dev
nothing recorded
Using HANA Cloud’s "VECTOR_EMBEDDING" Function in CAP
SAP Community, Mio YasutakeThe reasoningRunnable code
nothing recorded
Configure Journal Entry Posting Approval from Store Template in Build Process Automation
SAP Community, SaranyaSampath
nothing recorded
SAP CAP Lessons Learned: SQLite is single threaded, HANA is not
SAP Community, LucasMagriniRigo
nothing recorded
SAP CAP Lessons Learned: Run a CAP app using SQLite on SAP BTP - Cloud Foundry
SAP Community, LucasMagriniRigoThe reasoning
nothing recorded
Microsoft Sentinel for SAP goes agentless
SAP Community, Martin Pankraz
nothing recorded
Configure an SAP CAP Application to Connect to an SAP HANA Cloud Database in Another Global Account or Subaccount
SAP Community, JhoelAnthonyRamosRomeroPEThe reasoning
nothing recorded
SQLite as database for a multi-target (/productive) CAP Application
SAP Community, Christopher_KetzlerThe reasoningA recipeRunnable code
Core changed
Using Postgresql Database in Cloud Application Programming model
SAP Community, Arun KrishnamoorthyThe reasoningA recipeRunnable code
Core changed
Sharing SAP HANA Cloud instance to multiple subaccounts and creating HDI containers
SAP Community, Kazuhiko TakataThe reasoningRunnable code
Core changed
2024/01最新版!Productivity Toolsを使ったCAPバックエンド開発②~HANA Cloud編~
SAP Community, takayuki_tanakaA recipe
Core changed
CAP PostgreSql setup local debugging using Docker - Part 2
SAP Community, ramonlee5A recipe
Core changed
Hey ABAP Cloud please let me save my data export to Azure Storage please🥺🙏- part 4
SAP Community, Martin Pankraz, part 4 of 4
nothing recorded
CAP with PostgreSQL DB alternate to HANA Cloud DB - Part 1
SAP Community, ramonlee5The reasoning
nothing recorded
Exposing Calculation View with Dynamic Client via OData API
SAP Community, Willem PardaensThe reasoningA recipeRunnable code
nothing recorded
Open Sourcing CAP – how to learn more or get involved
SAP Community, Fempel
nothing recorded
Hybrid testing using PostgreSQL on SAP BTP, hyperscaler option
SAP Community, martinfrick
nothing recorded
SAP CAP (Java) with Amazon Aurora PostgreSQL
SAP Community, shanthakumar_krishnaswamyThe reasoningA recipeRunnable code
Core changed
SAP CAP (Java) with Azure Cosmos DB for PostgreSQL
SAP Community, shanthakumar_krishnaswamyThe reasoningA recipeRunnable code
Core changed
Run and Deploy SAP CAP (Java) with PostgreSQL using Official Database Adapter @cap-js/postgres
SAP Community, shanthakumar_krishnaswamyThe reasoningA recipeRunnable code
Version drift
Lets Deep dive into CAPM and HANA Cloud --> HANACap
SAP Community, shivamshukla12The reasoningRunnable code
Core changed
Run and Deploy SAP CAP (Node.js or Java) with PostgreSQL on SAP BTP Cloud Foundry
SAP Community, TiaXuThe reasoningA recipeRunnable code
Core changed
从BTP Launchpad里的sapui5应用里调用部署的CPI IFLOW
SAP Community, Jacky_Liu1
nothing recorded
CAP Service to Fetch + Create Sales Order in S4 HANA Public Cloud
SAP Community, Mujeeb
nothing recorded
SAP BTP Destinations in a Nutshell Part 1 - Motivation & NoAuthentication Destinations
SAP Community, JakobFra
nothing recorded
SAP SuccessFactors extensibility easy with SAP BTP, Kyma runtime
SAP Community, quovadisThe reasoningRunnable code
nothing recorded
Run and Deploy SAP CAP (Java) with PostgreSQL on SAP BTP Cloud Foundry
SAP Community, shanthakumar_krishnaswamyThe reasoningRunnable code
1 stale part
Connecting On Premise Mail Destination and Sending Email Using SAP Cloud SDK JavaScript Version 3 on SAP CAP
SAP Community, codebrokeradThe reasoningRunnable code
Core changed
Surviving and Thriving with the SAP Cloud Application Programming Model: Local development hurdles
SAP Community, maxstreifeneder
nothing recorded
[BTP HANA Cloud Database] : How to access HANA Cloud Database & HDI Container in BTP
SAP Community, showkath_naseemThe reasoningA recipeRunnable code
nothing recorded
SFSFとHANA Cloudを使用するCAPのアプリケーション開発
SAP Community, rasaiA recipeRunnable code
Core changed
BTP CAP : How to Connect to Remote Services Locally in CAP Application
SAP Community, showkath_naseemThe reasoning
nothing recorded
How to create an API to run a HANA Cloud Stored Procedure in Cloud Foundry
SAP Community, gonzalo_hernan_sendraThe reasoningRunnable code
Core changed
Architecting Complex Real Life Business Scenario on SAP BTP with ease [ Targeting Multiple backend S/4HANA Systems utilizing Principal Propagation ]
SAP Community, mohit_bansal3The reasoning
nothing recorded
Part2: Architecting Complex Real Life Business Scenario on SAP BTP with ease [ Targeting Multiple backend S/4HANA Systems utilizing Principal Propagation ]
SAP Community, mohit_bansal3, part 2 of 3The reasoning
nothing recorded
Part 3: Architecting Complex Real Life Business Scenario on SAP BTP with ease [ Targeting Multiple backend S/4HANA Systems utilizing Principal Propagation ]
SAP Community, mohit_bansal3, part 3 of 3The reasoningA recipe
Core changed
Upload data from excel in CAP (Node.js)
SAP Community, KM11Runnable code
Core changed
Distributed Resiliency of SAP CAP applications using SAP HANA Cloud (Multi-Zone Replication)
SAP Community, shanthakumar_krishnaswamyThe reasoning
nothing recorded
HTML5.Timeout for CAP destinations in mta.yaml longer than default
SAP Community, NilsJanen
nothing recorded
Useful CAP CDS and Fiori Commands to Accelerate Development and Deployment
SAP Community, TiaXu
nothing recorded
Qualtrics integration with domain based authorization in CAP project on HANA cloud
SAP Community, former_member69893The reasoningRunnable code
Core changed
Testing your CAP HANA Artifacts with jest – including multitenancy, hdbprocedure and hdbview
SAP Community, TristanThe reasoningA recipeRunnable code
Core changed
Invoke OpenAPI-documented APIs remotely with SAP Cloud Application Programming Model
SAP Community, wittroThe reasoningRunnable code
Core changed
How I migrated my on-prem xsa cds3+hana solution to cds6+sqlite
SAP Community, alex_myakinkiiThe reasoningRunnable code
Core changed
Execute [OAuth2 client credentials] protected REST request with SAP CAP Application
SAP Community, LachmishThe reasoningA recipe
Core changed
Extend SAP SuccessFactors on SAP BTP with CAP - Deploy to SAP HANA Cloud
SAP Community, ale_biagiThe reasoning
nothing recorded
Extend SAP SuccessFactors on SAP BTP with CAP - Import SAP SuccessFactors OData Services definitions
SAP Community, Alessandro Biagi
nothing recorded
Create a Business Service using CDS, Node.js, SQLite and a OData service
SAP Community, raybantonThe reasoningA recipeRunnable code
Core changed
Deploying CAP services with the in-memory SQLite database
SAP Community, liam_mischewskiThe reasoning
nothing recorded
SAP CAP Remote Services & SAP Fiori Elements
SAP Community, Former MemberThe reasoningA recipeRunnable code
Core changed
cds deploy to sqlite in-memory database
SAP Community, AndrewBarnard
nothing recorded
Simple steps to deploy your CAP project to HANA cloud
SAP Community, OmPrakashJhaThe reasoning
nothing recorded
SAP BTP Showcase - Use SAP Cloud Application Programming to do Native Development on HANA Cloud
SAP Community, former_member271284The reasoningA recipeRunnable code
Core changed
SAP BTP Showcase – SAP Continuous Integration and Delivery (SAP CI&D) for SAP HANA Cloud
SAP Community, gcalixtosThe reasoningRunnable code
Core changed
SAP Business Application Studio – Using SAP HANA Tools with SAP Cloud Application Programming Model projects
SAP Community, Former MemberThe reasoningA recipeRunnable code
Core changed
My Learnings in SAP-CAP Using MongoDB
SAP Community, krish469The reasoningRunnable code
Gone quiet
SAP Cloud Application Programming Model(CAP):概要およびデモ - Part 1
SAP Community, rasai, part 1 of 2
nothing recorded
Part 2: How to build an extension application for SAP S/4HANA Cloud using CAP, SAP Cloud SDK and SAP Fiori elements
SAP Community, former_member748, part 2 of 2The reasoningA recipeRunnable code
Core changed
First Java Cap Application
SAP Community, bruce_wang3
nothing recorded
Part 1: How to build an extension application for SAP S/4HANA Cloud using CAP, SAP Cloud SDK and SAP Fiori elements
SAP Community, former_member748, part 1 of 2The reasoningA recipeRunnable code
Core changed
Run and Deploy CAP with PostgreSQL on SAP BTP Cloud Foundry (Node.js)
SAP Community, Mike ZaschkaThe reasoningRunnable code
1 stale part
Getting started with CAP on PostgreSQL (Node.js)
SAP Community, Mike ZaschkaThe reasoningRunnable code
1 stale part
PostgreSQL persistence adapter for CAP (Node.js)
SAP Community, Volker BuzekThe reasoningRunnable code
Superseded
How to Access On-premise OData from the Business Application Studio - CAPM Development
SAP Community, laszlo_kajan2The reasoningA recipeRunnable code
Core changed
Use SCP CF Destination service in NodeJs locally
SAP Community, WouterLemaireThe reasoningRunnable code
Core changed
SAP Cloud Application Programming Model: Deep Insert (5) Consume Remote Service with SAP Cloud SDK
SAP Community, CarlosRogganThe reasoningRunnable code
Core changed
SAP Cloud Application Programming Model: Deep Insert (4) Consume Remote Service
SAP Community, CarlosRogganThe reasoningA recipeRunnable code
Core changed
Use SAP HANA as the Database for a CAP Java Application
SAP Developer Center, SAPThe reasoningA recipe
nothing recorded
Consume Remote Services in a Full-Stack CAP Application
SAP Developer Center, SAPThe reasoningA recipe
nothing recorded
Extend SAP SuccessFactors on SAP BTP with the SAP Cloud Application Programming Model
SAP Developer Center, SAPThe reasoningA recipe
nothing recorded
Consume SOAP Web Services in SAP Cloud Application Programming Model
SAP Developer Center, SAPThe reasoningA recipe
nothing recorded
Use the SAP Cloud SDK in the SAP Cloud Application Programming Model
SAP Developer Center, SAPThe reasoningA recipe
nothing recorded

Details

Graph4 edges
POINTS OUT →
explainsDatabase connectorscapability, core and community
explainsDestinationscapability, core and community
published onSAP Communitypublishing source
discovered viaSAP Communitycap-group
Source
Type
blog
Published on
Host
community.sap.com
First seen
History2
  • explains → applies_to on capability:database-connectors (cap, btp); capability:destinations (cap, btp)Door scope proposed from the title and summary, so a door page lists the piece only where it holds (docs/concepts/content-on-doors.md).
  • Entered the atlasDiscovered via SAP Community · cap-group.
For your agent
Ref
content:connect-sap-cap-nodejs-to-private-postgresql-using-cloud-connector
JSON
/content/connect-sap-cap-nodejs-to-private-postgresql-using-cloud-connector.json
MCP
Connecting an agent