How to Undeploy SCA Component via textconsole Tool



Share this article :

In this example, we are going to undeploy SAP Ariba component from the SAP PI system.

1. Navigate to the following directory. Our SAP PI is still in dual stack landscape. It will be a different directory if your SAP system is single stack landscape.

/usr/sap/SID/DVEBMGSxx/j2ee/console

2. Launch the textconsole tool. You need to enter the J2EE_ADMIN password here.

 textconsole.sh
   INFO: Loading tool launcher...
   INFO: [OS: AIX] [VM vendor: SAP AG] [VM version: 1.6.0_131] 
   [VM type: SAP Java Server VM]
   INFO: Main class to start: 
   "com.sap.engine.console.text.Console"
   INFO: Loading 11 JAR files: 
   [./lib/sap.com~tc~bl~offline_launcher~impl.jar, 
   ./lib/sap.com~tc~exception~impl.jar, 
   ./lib/sap.com~tc~je~console.jar, 
./lib/sap.com~tc~je~telnet~impl.jar,      
./lib/sap.com~tc~logging~java~impl.jar, 
../j2eeclient/sap.com~tc~exception~impl.jar, 
../j2eeclient/sap.com~tc~je~clientlib~impl.jar, 
../j2eeclient/sap.com~tc~je~leanClient.jar, 
../j2eeclient/sap.com~tc~logging~java~impl.jar, 
../j2eeclient/tc~bl~base~client.jar, 
../j2eeclient/tc~bl~deploy~client.jar]
   INFO: Start
Connecting to hostname:5xx04...

   ***********************************************
   **********************************************
   ****###*******####*****#######**************
   **##***##****##**##****##****##************
   ***##*******##****##***##****##**********
   *****##*****########***######***********
   ******##****##****##***##*************
   **##***##**##******##**##************
   ****###****##******##**##**********
   **********************************
   ********************************

   Telnet Administration
   SAP Java EE Application Server v7.40


User name: j2ee_admin
Password:


Welcome to server node 1234567.

3. Execute below command. The execution will be fast.

undeploy name=com.ariba.asc.sap.netweaver.xiadapter.ra 
vendor=ariba.com on_undeploy_error=stop
Undeploy settings:
   on_undeploy_error=stop
   on_prerequisite_error=stop
   workflow=normal

If there is an offline undeployment, Telnet connection to host may be lost, 
but the result can be seen using [get_result] command

Processing undeployment operation, wait...

===== PROGRESS START =====

Undeploying [ariba.com_com.ariba.asc.sap.netweaver.xiadapter.ra (sda)] ...
Undeployment of [ariba.com_com.ariba.asc.sap.netweaver.xiadapter.ra (sda)] 
finished.

===== PROGRESS END =====

===== UNDEPLOY RESULT =====

   type: [SDA], name: [com.ariba.asc.sap.netweaver.xiadapter.ra], 
vendor: [ariba.com], location: [SAP AG], version: [1000.13.8.16.12.15], 
status: [Success], description: []

===== END UNDEPLOY RESULT =====

===== Summary - Undeploy Result - Start =====
------------------------
Type | Status  : Count
------------------------
 > SCA(s)
 > SDA(s)
   - [Success] : [1]
------------------------
------------------------
Type | Status  : Id
------------------------
 > SCA(s)
 > SDA(s)
   - [Success] : ariba.com_com.ariba.asc.sap.netweaver.xiadapter.ra,
------------------------
===== Summary - Undeploy Result - End =====

4. All done. You may check the latest SAP component from the system info page.

Reference

• SAP Note 1715441 – Deploy/Undeploy/Force Redeploy EAR/WAR/RAR/SDA/SCA files on SAP AS JAVA servers
SAP Blog

Related posts

ST11: Display Trace Files
Recommended Buffer Quality in SAP System
Error: Remote access to the NetWeaver Administrator is forbidden
Steps to Create Dynamic Variant on Date Selection for ABAP Program
© 2017 ITsiti. All Rights Reserved
Powered by KEEM