Skip to Content
0
Sep 08, 2023 at 07:36 AM

How to edit MTA YAML in CAP project via SAP Build Apps?

246 Views Last edit Sep 11, 2023 at 07:24 AM 2 rev

I've been following this tutorial: https://developers.sap.com/tutorials/build-apps-cap-service.html

But when I deploy the service I get the known error "Service broker error: Service broker hana-broker failed with: Failed to select a database for instance <PROJECT>-db, because of: Multiple databases are available, exact id needs to be specified via parameter 'database_id' "

I know the solution is to add the database id (which I know and have ready) into mta.yaml file under config, for example:

resources:
- name: hdi_HDBMODULE
   parameters:
      config:
          database_id: "<the id of the database>"<br>

But, I opened this project via SAP Build Apps and in the editor I see no way to access mta.yaml or some kind of project setting or config option. So what can I do here to continue with this tutorial if I have several databases?

image.png

Attachments

image.png (123.3 kB)