Entering content frame

Procedure documentation Starting the PythonLOAD Program Locate the document in its SAP Library structure

Use

PythonLOAD is an environment programmed in the script language Python that allows load operations to be executed. As a response to the execution of this script, the system displays information about the execution status of the program as a reply.

Prerequisites

You have the server authorization ExecLoad.

Syntax

exec_load <database_user_name> <database_user_password> ["<option>"]

Options

Option

Description

<database_user_name>

Name of the database user

<database_user_password>

Password of the database user

<file>

Name of the PythonLOAD script file.

If you specify a relative file name, it is used relative to the directory <dependent_path>\env

<option>

Options for PythonLOAD.
These are transferred uninterpreted to the program

 

Reply

OK

Reply in the Event of an Error

OK<NL>
<err_code>,<err_description><NL>
<pgm_code>,<command><NL>
<pythonload_output_lines><NL>

Values for the Reply Fields

Value

Description

<err_code>

Error number of the Database Manager, if successful the error number is 0.

<err_description>

Description of the error

<pgm_code>

Return value of the executed program

<command>

Command executed by the Database Manager

<pythonload_output_lines>

Output text of the program

 

 

Leaving content frame