HI,
1)Created a CAPM project and scussefully able to deploy in the Hana Data Base
2)while executing the CAPM application in the BAS and getting below error ">No database credentials provided"
1)please find the below package.json

2)
While executing the application and i am getting the below error

3)
Even in the Hana Data also i am not able fetch the Data

Request clarification before answering.
Hi DurgaPrasanth,
from the steps you outline it did not see that you did anything with cds bind or similar. When running a cap app from BAS you need to provide the credentials to the HDI container if you want to use it. This can be done via the deprecated default-env.json file or by creating a binding like shown here.
Not being able to see data is probably intended behavior. From the screenshot you provided, we cannot see which user you are signed in as, because by default the db admin can’t see data in the HDI containers. (I’m not 100% sure, but if the steps from the screenshot below don’t work, please try to login to the container with the credentials from the generated service key)

Best Regards and good luck,
Tristan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
i remove in .cdsrc.json for trial application
"requires": {
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello DurgaPrasanth vemula,
Please refer below SAP thread.
https://answers.sap.com/questions/13143530/no-database-connection-found-in-cap-project-using.html
Hope it's helps to you
Regards,
Neeraj Jain
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Simple check with the HANA cloud instances started or not . if not then go and start HANA DB instances from SAP BTP subaccount and related spaces(DEV, QA) of your instances then SAP HANA cloud or SAP HANA Cloud Central Then run command cds watch --profile hybrid into BAS terminal of you project folder.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.