Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
17 views

Re-Using schema across two projects in NODEJS SAPUI5 CAP FIORI

I am new to nodejs sapui5 fiori cap applications and I am trying to create two applications that use the same database schema, they are connected to the same database as it is part of a multi-step ...
DrCuddles's user avatar
  • 386
1 vote
0 answers
15 views

MBT build fails during personal vector setup

I am trying to create personal vector for my BTP CAP for JAVA microservice and during MBT build, I get the below error. ERROR could not execute the "mvn -B clean package" command: the ...
Jayashree Thiyagarajan's user avatar
0 votes
0 answers
48 views

SAP CAP update send

I am currently working my way into SAP Cap. Now I have written a test ui5 page and would like to send an update to the cds service after pressing a button, via Postman this is no problem but in the ...
user29582969's user avatar
0 votes
2 answers
147 views

vscode cds watch throws regular expression error

I currently try to solve an error which I experience in Visual Studio Code. I am currently working locally with SAP Cloud Application Programming and using the module @sap/cds-dk so I can enter cds ...
Jannik's user avatar
  • 3
0 votes
1 answer
41 views

SAP CAPM service failing with http 407 Proxy Authentication failed Error

We are consuming a SOAP based web service from a S/4HANA On-prem system inside an SAP CAP service using sap-cloud-sdk API's coupled with BTP destinations and cloud connector. Ref: https://community....
Athul Ram's user avatar
1 vote
1 answer
191 views

How can I programmatically hide/disable the Edit button in a CAP-based Fiori Elements (OData V4) application through annotations?

I have a CAP application that exposes different service and built a Fiori Elements (OData V4, ListReport + ObjectPage) application and customized it with annotations on the backend side since I want ...
Federico Belotti's user avatar
0 votes
1 answer
73 views

How to implement "Navigate to List on Save" in a Fiori Elements App for OData V4

We're developing an application using the SAP CAP framework as the backend and a Fiori Elements Floorplan app as the frontend (List Report with an Object Page). For 'SAP Fiori elements for OData V2', ...
Cmdd's user avatar
  • 897
0 votes
0 answers
94 views

Error During CAP Integration with SAP SuccessFactors: "Failed to Build Headers"

I’m encountering an issue while working on an SAP CAP-based application. I'm sharing the details below and hoping for guidance from anyone experienced in CAP and SuccessFactors API integration. The ...
Jayanth kumar L S's user avatar
1 vote
0 answers
45 views

Binding issue with StepInput in SAP Fiori using CAP as the backend

I'm working on a project using SAP CAP for the backend and Fiori Elements for the frontend. I’m facing a specific issue with the binding of a StepInput in an XML view. When I try to modify the value, ...
fische's user avatar
  • 603
0 votes
0 answers
34 views

LDAP.js Error: LdapErr:DSID-0C060810, comment: No other operations may be performed on the connection while a bind is outstanding. in SAP BTP CAP app

I am working on an SAP BTP CAP app that integrates with Active Directory using LDAP.js. The connection to the LDAP server works fine for most requests, but occasionally, we encounter the following ...
Srivastav's user avatar
0 votes
0 answers
54 views

How to redirect back to List page in CAP application explicitly

I am working on the SAP CAP based app. I have disabled default Delete button and i implemented a custom button instead of that and when i am trying to delete the object using my custom button the ...
YouBee's user avatar
  • 2,071
0 votes
2 answers
206 views

DateTime field causes error after CAP v8 upgrade

I am using SAP Cloud SDK together with SAP CAP. Recently I upgraded from CAP v7 to v8, regenerate the odata clients and started getting errors on creating entity that has DateTime field. Reproduce the ...
meakgoz's user avatar
  • 588
0 votes
0 answers
64 views

Spring message not recognised correctly in other languages except English

In cds-messages.properties we have defined the message 409003=''{0}'' is a required field (*). For the same in error-messages-label-mapping.properties file we have defined the variable names name=...
Sindhu's user avatar
  • 1
0 votes
0 answers
79 views

Cloud Application Programming Model OData v2 proxy

I am running a cap backend application with express.js and want to access the odata services with v2. In this project I used the @sap/cds-odata-v2-adapter-proxy which is now deprecated. The ...
Bastian Mankel's user avatar
0 votes
1 answer
46 views

SAP CAPM React JS Deployed application getting http 404 after routing to 2nd page

SAP CAPM Managed App router React JS application working fine in HomePage as it takes the guid but, when navigation to other page is triggered then HTTP calls/Network Calls doesn't work.. getting 404 ...
Abhi's user avatar
  • 453
0 votes
1 answer
184 views

CAP: Unable to fetch the entity fields of a composite entity in com.sap.cds.ql.Predicate via CQL query

I have a db entity called ProtestTypeConfigurations as shown below. entity ProtestTypeConfigurations : cuid, managed { finder : DataType.finder; protestCategory ...
sahana's user avatar
  • 1
0 votes
1 answer
65 views

Project & work packages created (using SAP Cloud SDK for JS) but demands and work items are missing

We have built a number of extension apps, which run on BTP and call S/4HANA Public Cloud. Most are CAP Node.js and make use of the Cloud SDK for JavaScript. The oldest app still uses a CAP Java and we ...
Mike Doyle's user avatar
0 votes
0 answers
159 views

Is there a way to access SAP CAP schema entity without defining it in the service?

I am searching for a way to access a SAP CAP entity defined in schema inside JavaScript (NodeJS) implementation of the service without defining the entity in the service definition. Is it possible? ...
user3783327's user avatar
0 votes
0 answers
99 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,210
0 votes
1 answer
299 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,210
0 votes
0 answers
80 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
204 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
346 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
  • 543
0 votes
0 answers
270 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
227 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
212 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
110 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
268 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
232 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
598 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
  • 897
0 votes
0 answers
58 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
344 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
1 answer
307 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
1 vote
0 answers
111 views

How to validate foreign key constraint while insertion in SAP CAPM entity modeling?

I am new to SAP CAPM modeling. I have a requirement of tables as below. VOUCHERPROGRAM PROGRAM_ID VOUCHER_DESC 1ax-0fd voucher1 VOUCHERDENOM PROGRAM_ID VOUCHER_DENO 1ax-0fd vouchxs5 1ax-0fd ...
user846445's user avatar
1 vote
0 answers
558 views

SAP BTP CAP Service Integration Issue with SAPUI5 Application - 404 Not Found Error

Hello Stack Overflow community, I am currently facing an issue while trying to integrate a SAP BTP CAP (Cloud Application Programming Model) service into a SAPUI5 application running locally. The CAP ...
Arjun P V's user avatar
1 vote
0 answers
184 views

UI5 OdataListBinding V4 Is there a way to keep created elements in a Batch?

Context I have an UI5 application working with CAP and SuccessFactors. In my UI5 app, I allow the user to created simultaneously multiple objects in a list in my main model (no name), the user can ...
Aspirio's user avatar
  • 47
2 votes
1 answer
268 views

Error to call Approuter from Postman - SAP CAP (BTP) - *.us10-001.hana.ondemand.com/login/callback redirect

I am new to SAP BTP and currently setup a simple project with a server and approuter on SAP CAP in nodejs. But when querying the approuter url from postman it gives me the following error: Response: ...
francisco barra sepulveda's user avatar
1 vote
0 answers
876 views

How to select OData entity with primary keys?

We have the following URL that leads to the desired result (executed in gw client): //xyz.com/myEntity(key1='12345',key2=datetime'2022-02-01')/Results I have now imported this OData API into my Java ...
Tobias's user avatar
  • 5,463
0 votes
1 answer
6k views

Error while deploying SAP Fiori and CAPM application in SAP BTP Trial Account

I created a basic SAP CAP/Fiori application using BAS of SAP BTP, with HANA DB Instance created. It's working fine when I run it locally. However, during deployment to SAP BTP Trial Account, I ...
Takao Baltazar's user avatar
0 votes
1 answer
3k views

SAP CAP Node.JS Odata 404 error on destination service after upgrade to CDS v6

I would appreciate your help with this issue. -- Note - to get past the Spam filter, I have had to remove references through this question to "those things you send electronically over the ...
vince reynolds's user avatar
0 votes
0 answers
785 views

Unable to remote debug SAP CAP application using Approuter(XSUAA) in Visual Studio

I am working on a CAP Project which uses approuter for authentication in VS. For enabling remote debugging, have followed this blog. The CAP project structure along with launch json file(configured as ...
Razz's user avatar
  • 87
0 votes
1 answer
1k views

SAPUI5 binding OData v4

I'm currently using OData v4 requests from my CAP app, and the problem is how to bind my Entity requested data in my Simple Form. The user must input a Workspace code, and Search for its values. ...
Bruno Franzini's user avatar
0 votes
0 answers
739 views

SAPUI5 with V4 - Batch reuests placed automatically without clicking on SAVE button

I have an issue in my SAPUI5 project using V4 Model. Everytime I change a value in the input field, a batch request is placed automatically changing the value in the backend. We want to send all ...
Phani Vasabattula's user avatar
1 vote
1 answer
1k views

Adding formatter for field in table using CAP CDS annotation

How to remove the decimal points for a field using CAP CDS annotations?
lokesh kumar's user avatar
1 vote
1 answer
1k views

SAP CAP get CF Role collections of user

I'm trying to fetch the role collections assigned to my user in CAP (NodeJS). I've assigned my user to one role collections, but it does not get reflected upon testing (BAS). I've attached my ...
Matthijs Mennens's user avatar
1 vote
1 answer
1k views

SAP CAP Install Plugin Multiapps Error. Why?

I want to deploy a CAP project to BTP Cloud Foundry with cf deploy. However, I get the error: "deploy" is not a registered command. See "cf help -a". So I installed the Multiapps ...
Sebastian Kronschläger's user avatar
1 vote
0 answers
5k views

Error while binding service instance in SAP CAP using external service

In SAP CAP, I am following this Blog example link for creating CAP project consuming an external service. However, during deployment to Clound Foundry, I encountered an error below: Error encountered ...
Takao Baltazar's user avatar
1 vote
2 answers
264 views

SAP CAP switch off annotations of specific service

i woul'd like to use a sap cap service in an c# application (odata feed service/odata client). This odata client doesn't work with annoations in the $metadata file. How can i switch off all ...
Maxi Dietz's user avatar
0 votes
1 answer
2k views

SAP CAP using cds.User attributes

I authenticate on the server by feeding req.user with an instance of cds.User, and I add some attributes: User { id: '110226363079182595683', attr: { name: 'depth1', email: '[email protected]' ...
depth1's user avatar
  • 145
0 votes
1 answer
2k views

sap-cf-mailer VError: No service matches destination

I have a SAP CAP Nodejs application and I'm trying to send emails from the CAP application using sap-cf-mailer package. I've created a destination service in the BTP as mentioned in the sample and ...
tarzanbappa's user avatar
  • 4,978