Call with the Perl Interface of the SAP DB Loader 
You can
call the SAP DB Loader through the processing of a Perl script.Prerequisites
Perl is installed on the host.
The following Perl modules are delivered with the SAP DB Loader program to allow you to create Perl scripts that can be processed by the
Loader.

Open the
instperl.pl file. When you do this, the files are copied to the relevant directories.Call
perl <perl_script_file> [<argument> ...]
You can optionally specify arguments
<argument>.Frequently used arguments:
|
<user_name> |
User name |
|
<database_name> |
Name of database instance |
|
<data_path> |
Directory in which the data file is stored |
|
<server_node> |
Name of the server on which the Loader is located |

perl sample samplename secret TST C:\data\sapdb
The Perl script
sample is called. The logon to the Loader is performed for the user samplename on the database instance TST. The data file is in the directory C:\data\sapdb.Template for Background Files
The following section contains examples of background files in Perl. Their equivalents in the
Python script language are also provided for comparison.|
Example 1 |
|
|
|
Example 2 |
|
|
|
Example 3 |
|
|
|
Example 4 Log off |
|
|
|
Example 5 |
|
|