SAP Inventory Agent Options

FlexNet Manager Suite 2022 R1 (On-Premises)

You can control the SAP Inventory Agent via the command line using a number of options.

Table 1. SAP Inventory Agent options
Parameter Description
-c <configuration_file> Specifies the XML file that contains the SAP RFC connection details for gathering SAP inventory. This XML file can be exported from the System Landscape: name page in FlexNet Manager Suite.
-e Encrypts passwords inside the file specified by the -c option.

Example: "SAPReader.exe -c <configuration_file> -e"

-o <output_folder> Outputs SAP inventory to a specified folder.
-s <server_name> Reads data from a specified system. To specify multiple systems, separate the systems with a comma, using the following format: <ServerName>/<SystemNumber>/<SystemID>/<ClientID>, <ServerName>/ <SystemNumber>/<SystemID>/<ClientID>

This option supports any string matching.

-t Reads SAP information in a single thread.
-a Tests the connection to all SAP Admin module and independent systems. To test the connection to a specific system, use the -a option in combination with the -s option.

Example: "SAPReader.exe -a -s <ServerName>"

-i <input_file_or_folder> Imports the SAP inventory from a specified folder or file, into FlexNet Manager Suite.
-b For use with inventory beacons: uncompresses an intermediate package file and resolves its content into the FlexNet Manager Suite database.
-p <consumption-enddate> Specifies the end date of the consumption period, using the format yyyymm. When importing consumption data from an SAP Admin module, the available consumption data is dependent on the import of relevant data from its dependent SAP systems.
-m <m-months> Specifies the number of months that SAP consumption data should be read, ending today or as specified by the -p option. When importing consumption data from an SAP Admin module, the available consumption data is dependent on the import of relevant data from its dependent SAP systems.
-f <configuration_file> Specifies the XML file that contains the list of SAP tables to import.
-l Calculates the SAP license position.
-n <TenantUID> Specifies the tenant unique identifier for retrieving the SAP RFC connection.
-help Displays this help text.

FlexNet Manager Suite (On-Premises)

2022 R1