Skip to Content

Find part 1 here.

The application I want to undeploy is a VC app called: demo.sap.com/vc~test_impl. This is a dummy application created using the Visual Composer component of NWDS 7.3. It’s a VC app because creating it with some dummy data and deploy it to NW 7.3 is easy and fast.

After logging on via telnet (see part 1 on how to do this), the first command to issue is man. It lists the available commands and more importantly can be used to get more information about every command by using man <cmd>.

man

/wp-content/uploads/2013/02/undeploy73b_1_178692.jpg

Before going to undeploy the application, check if the app is running or not:

/wp-content/uploads/2013/02/undeploy73b_2_178693.jpg

As the app is not running, undeploy it should not affect the work of some users.

man undeploy

/wp-content/uploads/2013/02/undeploy73b_3_178694.jpg

Examples:

   UNDEPLOY name=MyApp vendor=myvendor.com on_undeploy_error=stop

   UNDEPLOY list=C:\my\list\UndeployItems.xml on_undeploy_error=skip_depending on_prerequisite_error=skip_depending

For the simple use case of uninstalling a single application, the command UNDEPLOY name=MyApp vendor=myvendor.com is sufficient. The parameters needed are name and vendor. How to get these parameters? Issue the command

list_app

This will give a list of all application deployed on the server. They are in the format [vendor]/[name]

/wp-content/uploads/2013/02/undeploy73b_4_178695.jpg

In my case, vendor is demo.sap.com and the application name is vc~test_impl, making the application appear as: demo.sap.com/vc~test_impl. To get more information about the application, the explore command can be used:

explore name= vc~test_impl vendor=demo.sap.com

/wp-content/uploads/2013/02/undeploy73b_5_178696.jpg

In case everything matches, it’s the right application and the undeploy command can be issued with the same parameters.

undeploy name= vc~test_impl vendor=demo.sap.com

/wp-content/uploads/2013/02/undeploy73b_6_178700.jpg

After the command is executed without any errors, the application is undeployed. To ensure this, issue the list_app command again. It shows that the application is no longer deployed on the server.

To report this post you need to login first.

4 Comments

You must be Logged on to comment or reply to a post.

  1. Former Member

    It would be great if you can show an example of undeploying multiple applications with the undeploy list= command. Most importantly, what is the format or where is the schema for the XML file to be used?

    (0) 
  2. Former Member

    A important thing to be explained is that to delete SCA packages must be deleted all the applications one by one.

    To test it just enter in NWA and access the Failed Applications inside the Global Status Monitor.

    To make sure that the SCA was undeployed, access via JSPM Tool.

    (0) 

Leave a Reply