Command Reference > pmrep Command Reference > UninstallAbapProgram
  

UninstallAbapProgram

Uninstalls the ABAP program. Uninstall an ABAP program when you no longer want to associate the program with a mapping. The command uninstalls the programs from the SAP system and removes the corresponding program information from the PowerCenter repository.
The UninstallAbapProgram command uses the following syntax:
uninstallabapprogram

-s <folder_name>

-m <mapping_name>

[-v <version_number>]

[-l <log_filename>]

-u <user_name>

-x <password>

-c <connect_string>

-t <client>

[-y <language>]

-p <program_mode (file, stream)>

The following table describes pmrep UninstallAbapProgram options and arguments:
Option
Argument
Description
-s
folder_name
Required. The name of the folder that contains the mapping of the ABAP program that you want to uninstall.
-m
mapping_name
Required. Name of the mapping.
-v
version_number
Optional. Version number of the mapping. Default is the latest version.
-l
log_filename
Optional. Name of the log file where the command writes the information or error messages. By default, the log file is stored in the directory where you run the command.
-u
user_name
Required. SAP source system connection user name. Must be a user for which you have created a source system connection.
-x
password
Required. Password for the user name. Use the command line program pmpasswd to encrypt the user password.
-c
connect_string
Required. DEST entry defined in the sapnwrfc.ini file for a connection to a specific SAP application server or for a connection that uses SAP load balancing.
-t
client
Required. SAP client number.
-y
language
Optional. SAP Logon language. Must be compatible with the PowerCenter Client code page. Default is the language of the SAP system.
-p
program_mode (file, stream)
Required. Mode in which the PowerCenter Integration Service extracts data from the SAP system. Select file or stream.

Example

The following example uninstalls the ABAP program:
uninstallabapprogram -s folder_name -m mapping_name -l logfile_name -u user_name -x password -c connect_string -t 800 -y EN -p stream