Deployment to SAP BTP Troubleshooting




Steps you can take if you have trouble deploying your application to SAP BTP.


The following list includes error messages you may receive when deploying, possible causes of the error, and possible solutions.


Other artifacts found for the same ID

When an application is deployed to SAP BTP, a build process is automatically triggered in the background. The build process, among other things, flattens the structure of the application, so that its manifest.json file resides directly under its root folder in the runtime environment (SAP BTP).


Then, in SAP BTP, the application index service can locate the new application and index it. The application index service identifies an application by its sap.app/id attribute in its manifest.json file, so this attribute must be unique.


If there is already an application in the account with the same sap.app/id attribute, you will get the following error message:


Other artifacts found for the same ID


To solve this, you can do one of the following:


Delete the application containing the same sap.app/id attribute from the SAP BTP cockpit.


For the application index to become aware that the application has been deleted, the administrator needs to open the Fiori Configuration Cockpit (FCC) and go to App Resources. A full replication including a clean-up is triggered.


Rename the ID of the application you’re currently trying to deploy.


For example, if the duplicate ID is hcm.emp.myleaverequests you might want to change it to com.mycompany.hcm.emp.myleaverequests.

In your project (all files and folders) search for hcm.emp.myleaverequests and replace it with com.mycompany.hcm.emp.myleaverequests


In your project (all files and folders) search for hcm/emp/myleaverequests and replace it with com/mycompany/hcm/emp/myleaverequests


Rename the ID of the deployed application that contains the duplicate ID.


For example, if the duplicate ID is hcm.emp.myleaverequests you might want to change it to com.mycompany.hcm.emp.myleaverequests.

Import your customer SAPUI5 application from your SAP BTP account to the SAP Web IDE workspace via File > Import > Application from SAP BTP.


In your project (all files and folders) search for hcm.emp.myleaverequests and replace it with com.mycompany.hcm.emp.myleaverequests.


In your project (all files and folders) search for hcm/emp/myleaverequests and replace it with com/mycompany/hcm/emp/myleaverequests.


Deploy the application as an update to the existing application.

for more click here