I am trying to implement association logic inside the service handlers. The reason for this is that I do not have a database in the CAP, and all the entities are defined using @CDS.persistence.exists. The data comes from a remote source, which I han...
I am trying to test the event mesh with a simple emit and consumption service in SAP CAP. I am able to publish a message to the topic, and it is visible in the event mesh dashboard under the queue. However, when I try to consume the message, it is no...
We have the PostgreSQL database created directly in Azure, not in SAP BTP as a hyperscaler option. We are using SAP BTP Private Link to reach the database. I can read or create tables via Node.js (pg) modules. However, I want to try using a CAP (Clou...
We have separated UI, Node , HANA module as a separate mta/cap projects. UI is accessing the node service via destination and the node is accessing HANA via cross container.Now we would want to access the logged in user in HANA by using
SESSION_CO...
We are in need of using v2 version of Odata from CAP due to limitation in UI . I used @sap/cds-odata-v2-adapter-proxy to retrieve the v2 version.
I am able to fetch the data without any issue using /v2/entity but /v2/$metadata is not working. I ge...
I have changed it to the below but still the message is only successfully emitting but I dont see it is printing msg.data anytime.const cds = require('@sap/cds');
class CatalogService extends cds.ApplicationService {
async init() {
const ...
Yes, but the difference is UI is a separate cap project/node is a separate cap project and database is a normal mta application. So wondering just binding the uaa service of ui/node to DB will be enough to read the logged in user