cancel
Showing results for 
Search instead for 
Did you mean: 

Undeploying Fiori application from SAP BTP ABAP Environment

SanchitaMohta
Discoverer

We have a custom Fiori application deployed in the BTP system but the project (module folder) in the backend is lost.

To un-deploy the same application, command

npx @sap/ux-ui5-tooling fiori un-deploy --url <Target_ABAP_system_url> --name <Application_name> --transport <Transport_request> --client <Client_number> --noConfig

(Ref : Un-deploy an application -https://help.sap.com/docs/SAP_FIORI_tools/17d50220bcd848aa854c9c182d65b699/70872c402edd425d8612ea722ad81287.html )

was executed.

This command gets executed via a technical user - post executing the npx command, username and password are required (not sure why SAP business user does not work here !), but the deployment is unsuccessful with an error “Application X not found, nothing to un-deploy.”

Tried the un-deployment from both SAP Business Application Studio and VS Code, but nothing worked.

In one of the help documents I could find a solution to achieve the same using a report /UI5/UI5_REPOSITORY_LOAD( https://help.sap.com/docs/SAP_FIORI_tools/17d50220bcd848aa854c9c182d65b699/ab4657ca9bd84cd6869a750a1... ) - but that is relevant for on-premise systems only.

Could you please suggest the alternative of the same report on BTP (if any). Eventually some way we can un-deploy the application.

Seeking your assistance on the same.

junwu
Active Contributor
0 Kudos

depend on what parameter you give to the command

View Entire Topic
kaidehmann
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Sanchita,

deployment and un-deployment via technical user is not supported in SAP BTP, ABAP environment, yet.

To undeploy from BAS:

To undeploy from VS Code:

  • create a system as described in Managing System Connection
  • run npx @sap/ux-ui5-tooling fiori undeploy --url <system_url> --scp true --name <BSP_name> --transport <trequest_number> --noConfig

In both cases the commands get executed with your business user.

Best regards
Kai

SanchitaMohta
Discoverer
0 Kudos

Hi Kai,

Thank you for the response.

Details you provided revolves more around executing the command via a business user.

The main issue is that even post login, the undeployment is not successful - with the message - “Application X not found, nothing to undeploy.”

( as I mentioned in the post, the project folder in the backend has been lost ).

If you could provide your inputs on this issue.

Best Regards,

Sanchita

kaidehmann
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Sanchita,

ok, got it now. But then I do not understand the problem. If the application does not exist in the backend anymore, why do you want to undeploy it? Maybe you can add some more details, e.g. screenshots of the project explorer (if the BSP application still exists) and the exact command you use.

Best regards
Kai