Skip to Content

Unable to deploy mtar file from on premise system to SAP cloud platform in SAP HANA Web IDE XSA

Hello,

I'm working on an XSA MTA project where i'm using an on-premise database. When I'm trying to deploy the mtar file to SAP Cloud Foundry, I'm getting the following error :

Unexpected error: Could not bind application "TEST_HDB" to service "hdi_TEST_HDB": 409 Conflict: Could not bind application "TEST_HDB" to service "hdi_TEST_HDB": Asynchronous job 'Creating service binding between app 'TEST_HDB' [Org 'orgname', Space 'TEST'] and service instance 'hdi_TEST_HDB' [service: 'hana', plan:'hdi-shared'] of [Org 'orgname', Space 'TEST'].' failed: Can't bind to service instance 'hdi_TEST_HDB' [service: 'hana', plan:'hdi-shared'] of [Org 'orgname', Space 'TEST'] as service instance creation failed.

Here, TEST_HDB is the name for our DB module.

Following is our mta.yaml file:

Is there anything that I'm missing for the deployment? Are there any pre-requisites for deployment?

Note: FYI, I built the project to get the mtar file and then I'm trying to deploy the same to cloud foundry.

codes.png (41.8 kB)
Add comment
10|10000 characters needed characters exceeded

1 Answer

  • Posted on Feb 17 at 09:43 AM

    you need to perform an explicit binding in this case. You can use the following command in XSCLI..

    Xs bs <application name>

    Add comment
    10|10000 characters needed characters exceeded