Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Application server prerequisites:

  • GNU C Library (GLIBC) 2.17

SAP User prerequisites:

  • Auth. check on object S_LOG_COM

  • COMMAND = ‘python’, ‘cd’, ‘chmod', ‘ls’, ‘mkdir’,’rm'

  • OPSYSTEM = operating system of an application server

  • HOST = host on an application server

Installing Python Comparator on AS

Installation process of Python Comparator is simplified via the program. Run transaction /DVD/VAL_REP_PY_INST to execute it.

...

Created preset can be displayed by pressing the F1 key on the preset ID.

Check Python Comparator installation

To check if Python Comparator is properly installed, choose the radio button Check installation and execute it. The following message with a log is displayed if everything is fine:

...

Uninstall Python Comparator

To uninstall Python Comparator just choose the radio button Uninstall Python Comparator and execute it.Then confirm your decision to uninstall it.

...

After uninstallation all created files and directories will be deleted from the Application Server, the preset ID will be deleted too. The following message with a log is displayed after the finish:

...

Manual changes in the preset

The preset is something like an instruction table for the external module installation and execution (like python) in ABAP. In the list of preset parameters is defined what scripts or compilation should be saved in which directory on which application server, what are inputs, what are expected outputs, and what should be executed when the module is called.

...

Adding or deleting rows is done by standard ALV buttons. All rows we add will be saved under the Preset ID that we entered in the first step. On the example screen above we already have defined some of the variables, like which repository set of files to load, what is the main build should be run at the start of execution, what are the names of inputs that python is expecting to have, and lastly, what are the names of files that will be the main output of execution, so we know in what files should we look for results. After we are done Editing/Creating the preset we press the Save button to save the preset.

Using of preset

After installation of the python comparator, the preset is filled with the corresponding setup and we can use it in SNP Validate. In the SNP Validate report test variant click on Advanced Settings, choose Python Report Comparator from the dropdown menu and fill a field with the name Preset ID. Save the variant. SNP Validate will then use Python comparator with execution setup defined in the preset.

...