Testing Connectivity to SAP

Prerequisites

Before performing this connection test, address the following items:
  • Install the SAP Inventory Manager server.
  • Ensure that the configuration files Agentry.ini and JavaBE.ini contain the settings as described in the server installation procedure.
  • The person performing this procedure should log into the host system with administrative privileges.
  • This procedure is only applicable to Windows installations of the SAP Inventory Manager server.

Context

Use the following procedure to confirm the SAP Inventory Manager server is able to communicate with the SAP ERP system. The following procedure is optional and you do not have to perform it as part of normal production duties. Rather, the procedure is provided to diagnose connectivity issues between the SAP Inventory Manager server and the SAP ERP system.

To confirm that the SAP Inventory Manager server can communicate with the SAP application, take the following steps:

Procedure

  1. Open a command prompt window and change to the server directory of the SAP Inventory Manager application. Run the following script to test if the server can communicate with the SAP ERP system:
    connectTest.bat
    

    If you configured the communications between the SAP Inventory Manager server and the SAP ERP system correctly, the script outputs the following:

    Verify that the settings of the SAP Inventory Manager server are all correct before continuing.

  2. Click the server icon or follow the start service instructions to start the SAP Inventory Manager server. Verify that no error messages are displayed, including pop up messages or log messages displayed on the user interface.
    • If no errors are encountered, the SAP Inventory Manager server was able to open communications with the SAP ERP system.

    • If you encountered any errors, continue on to Step 3 of this procedure.

  3. Go to the Service Marketplace Support Packages and PatchesInformation published on SAP site and find the SAP Mobile Platform SDK for your software release. Download the ZIP file for your release.
  4. In the ZIP file, navigate to the Start of the navigation pathModules Next navigation step AgentryEditorsEnd of the navigation path folder. Extract the Agentry-v5.jar file and place it in the Java folder of the SAP Inventory Manager server.
  5. Open the connectTest.bat file, located in the SAP Inventory Manager server directory in a text editor. Make sure the class path reflects the location of the sapjco3.jar file and the Agentry-v5.jar file.
    A class path is shown here as an example:
  6. Open a command prompt window and change to the directory of the SAP Inventory Manager server. Run the following script to test if the server can communicate with the SAP ERP system:
    connectTest.bat
    

    If you configured the communications between the SAP Inventory Manager server and the SAP ERP system correctly, the script outputs the following:

    Verify that the settings of the server are all correct before continuing.

  7. Click the server icon or follow the start service instructions to start the SAP Inventory Manager server. Verify that no error messages are displayed, including pop up messages or log messages displayed on the user interface of the server.
    • If no errors are encountered, the SAP Mobile Platform was able to open communications with the SAP ERP system.

    • If you encountered any errors, review this procedure and verify that you followed each step correctly. Pay particular attention to the configuration settings you modified in the configuration files for the SAP Mobile Platform.