Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [sap-cap]

Use this tag for questions about the framework "SAP Cloud Application Programming Model" (SAP CAP) together with either [node.js] or [java] if applicable.

sap-cap
0 votes
0 answers
15 views

CAP LLM Plugin needs cds.connect.to('db')

I've installed the CAP LLM Plugin (v.1.3.3). However, for the getRagResponse() and similaritySearch() methods, the db is not connected, even if I set it in the calling script. For now, I've put in the ...
Adam Harkus's user avatar
  • 2,190
0 votes
1 answer
52 views

Issues connecting to SAP Hana Cloud DB for Vector embeddings

I've been following a blog on RAG with SAP HANA Cloud Vector Engine, GenAI Hub & CAP, pulled the Git Rep and following the instructions in the README. The AI-Core part works fine and is connecting ...
Adam Harkus's user avatar
  • 2,190
0 votes
0 answers
22 views

SAP CAP Multitenant - getDependencies callback error

I am working on a multitenant application using SAP CAP. When trying to subscribe a tenant, I am getting a 403 Forbidden as callback as shown below. Subscribe failed. Error: Subscribe failed. Failed ...
zenir's user avatar
  • 1
0 votes
0 answers
22 views

How to Send SOAP Requests in SAP CAP: S/4HANA Cloud WSDLs vs. External SOAP Services

I am working on a project using the SAP Cloud Application Programming (CAP) model and I need to integrate SOAP-based services. I understand that there are two main ways to send SOAP requests in SAP ...
Rumeysa Turgut's user avatar
0 votes
0 answers
36 views

Error: Authentication kind "jwt" configured, but no XSUAA instance bound to application

I would like to connect my BTP CAP Node.js app to external SAP service in production env using destinations. It is important to use OAuth2.0ClientCredentials authentication method. Sandbox works for ...
kishorK's user avatar
  • 523
0 votes
0 answers
29 views

CAP srv component fails to start upon deployment to BTP

I am refactoring my CAP project to upgrade the cds and other dependenices to the latest version but when trying to deploy the application onto BTP the srv component fails to start. All the other ...
Rachit Gupta's user avatar
0 votes
0 answers
82 views

Customize Dialog button label text

I would like to customise the label text of a dialog box that opens on click of a button (powered by a custom action). The screen has been built with SAP Fiori elements. To add the custom action, I ...
user19286884's user avatar
0 votes
0 answers
57 views

How to configure my CAP app for oData 2.0 ([ODataMetadata] initial loading of metadata failed)

in my CAP/UI5 app I try to bind data to a TreeTable. As oData 4.0 does not support TreeTables, I thought I need to use oData 2.0. When i change my manifest.json I get the following error and the ...
Matt126's user avatar
  • 997
0 votes
0 answers
35 views

Direct update of depending fields after selection in a SAP CAP application

I'm encountering an issue while trying to update a field that depends on the selection of a business partner (in this case, it's the customer field). Currently, it seems that this field isn't ...
flowx1710's user avatar
  • 187
0 votes
0 answers
129 views

TypeError: Cannot read properties of undefined (reading 'options')

I am seeing below error after i run 'cds add xsuaa' in project terminal. Type Error: Cannot read properties of undefined (reading 'options') at new ProjectReader (/home/user/.node_modules_global/lib/...
Shaguftanaaz31's user avatar
0 votes
0 answers
111 views

Multiple databases on single PostgreSql instance on SAP BTP

I have an CAP application running on SAP BTP CLoud Foundry using PostgreSql. PostgreSql is also hosted on BTP as a service instance and deployed by mta.yaml. All working fine. Currently I have a new ...
Kalkans's user avatar
0 votes
0 answers
245 views

How to perform a sap CAP bound action on a Collection?

in a Fiori Elements frontend (FPM) I need to perform a CAP bound action on several entities (selected from a table) but I am experiencing some issues. TL;DR I can't find a proper way to pass a ...
Cmdd's user avatar
  • 887
0 votes
0 answers
32 views

Post method call is not working as expected because of @sap/approuter

On making the post call with json as it's payload to the backend server through sap app router, It is returning with the redirect url along with the status code 301 and because of that browser ...
Ruby Kannan's user avatar
0 votes
0 answers
147 views

Is it possible to return $count or $nextLink with function / action in CAP Java Odata service?

I have an OData service endpoint built with CAP Java that returns an array of objects. And because there is special data handling (filter for the last day/hour) the data is returned by a function. ...
llan's user avatar
  • 1
0 votes
0 answers
45 views

Need assistance with SAP CAP project: Adding Value Help for Watering Events in Plant Creation/Modification Screen"

I'm currently working on a SAP CAP (Cloud Application Programming) project where I've implemented a service (FarmboService) with entities such as Plants, Garden, WateringEvent, and associations ...
youssef khemiri's user avatar

15 30 50 per page
1
2 3 4 5