Table of Contents

Search

  1. Preface
  2. Command Line Programs and Utilities
  3. Installing and Configuring Command Line Utilities
  4. Using the Command Line Programs
  5. Environment Variables for Command Line Programs
  6. Using infacmd
  7. infacmd as Command Reference
  8. infacmd aud Command Reference
  9. Infacmd bg Command Reference
  10. infacmd cms Command Reference
  11. infacmd dis Command Reference
  12. Infacmd es Command Reference
  13. infacmd ipc Command Reference
  14. infacmd isp Command Reference
  15. infacmd ldm Command Reference
  16. infacmd mrs Command Reference
  17. infacmd ms Command Reference
  18. infacmd oie Command Reference
  19. infacmd ps Command Reference
  20. infacmd pwx Command Reference
  21. infacmd rms Command Reference
  22. infacmd rtm Command Reference
  23. infacmd sch Command Reference
  24. infacmd search Command Reference
  25. infacmd sql Command Reference
  26. infacmd tdm Command Reference
  27. infacmd wfs Command Reference
  28. infacmd ws Command Reference
  29. infacmd xrf Command Reference
  30. infacmd Control Files
  31. infasetup Command Reference
  32. pmcmd Command Reference
  33. pmrep Command Reference
  34. Working with pmrep Files

InstallAbapProgram

InstallAbapProgram

Installs an ABAP program in the SAP system. Use the InstallAbapProgram command to generate and install the ABAP program directly onto the SAP system. You can use this command to install an ABAP program from a file onto the SAP system. You can use the InstallAbapProgram command for mappings that use SAP tables as the source.
The InstallAbapProgram command gets the mapping information from the PowerCenter repository for a mapping and generates the ABAP program. The command installs the generated ABAP program in the SAP system. The first time you install the ABAP program onto the SAP system, the command generates a program name. Subsequent installations uses the same program name if you are using the same program mode.
When you install an ABAP program to the SAP system from a file, you must provide the full path and file name of the ABAP program you want to install. Enclose the path and the file name in double quotes. You must provide the folder name and mapping information for which you generated the ABAP program. The InstallAbapProgram command gets the description of the mapping and appends it to the ABAP program when it is installed onto the SAP system.
The InstallAbapProgram command uses the following syntax:
installabapprogram -s <folder_name> -m <mapping_name> [-v <version_number>] [-l <log_filename>] -u <user_name> -x <password> -c <connect_string> -t <client> [-y <language>] {-f <input_file_name> | -p <program_mode (file, stream)> {-e (enable override) -o <override_name> } [-a (authority check)] [-n (use namespace)]} [-d <development_class_name>]
The following table describes pmrep InstallAbapProgram options and arguments:
Option
Argument
Description
-s
folder_name
Required. The name of the folder that contains the mapping for which the ABAP program needs to be generated. If you are installing from a file, the name of the folder that contains the mapping for which you generated the ABAP program.
-m
mapping_name
Required. Name of the mapping. If you are installing from a file, the name of the mapping for which you generated the ABAP program.
-v
version_number
Optional. Version number of the mapping. Default is the latest version. If you are installing from a file, the version of the mapping for which you generated the ABAP program.
-l
log_filename
Optional. Name of the log file where the information or error messages are written. 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.
-f
input_file_name
Required if you are installing the ABAP program from a file. Name of the ABAP program file from where you want to install the ABAP program into the SAP system.
-p
program_mode (file, stream)
Required if you are generating and installing the ABAP program directly onto the SAP system. Optional if you are installing the ABAP program from a file. Mode in which the PowerCenter Integration Service extracts data from the SAP system. Select file or stream.
-e
-
Optional if you are generating and installing the ABAP program directly onto the SAP system. Overrides the default ABAP program file name.
-o
override_name
Required if you enable override. ABAP program file name.
-a
-
Optional if you are generating and installing the ABAP program directly onto the SAP system. Adds authority checks to the ABAP program.
-n
-
Optional if you are generating and installing the ABAP program directly onto the SAP system. Appends a namespace that you registered with SAP to the ABAP program name.
-d
development_class_name
Optional. Package or the development class name where the PowerCenter Repository Service installs the ABAP program. Default development class is $TMP.

Examples

The following example installs the ABAP program directly onto the SAP system:
installabapprogram -s folder_name -m mapping_name -l logfile_name -u user_name -x password -c connect_string -t 800 -y EN -p file –e –o zabc -a -n -d development_class
The following example installs the ABAP program from a file onto the SAP system:
installabapprogram -s folder_name -m mapping_name -l logfile_name -u user_name -x password -c connect_string -t 800 -y EN -p file –v 1 -f "C:\mapping_name_version_file.ab4"


Updated April 22, 2019