SAP Connector

Prerequisites

  1. Go to {user.home}\.ol\cli\

  2. Create the extra-classpath-resources folder in the cli folder.

  3. Save the following files in extra-classpath-resources:

    • sapjco.jnilib
    • sapjco.so
    • sapjco.dll
    • sapjco.jar

CLI Commands

ol test connection

[module folder]> ol test connection --hostname 91.195.162.68 --user demo --password 12345 --systemNumber 04 --client 800 --language en --router [some_value]
[module folder]$ ol test connection --hostname 91.195.162.68 --user demo --password 12345 --systemNumber 04 --client 800 --language en --router [some_value]

ol add

[module folder]> ol add --bapi-name BAPI_COMPANY_GETLIST
[module folder]$ ol add --bapi-name BAPI_COMPANY_GETLIST

Properties

--bapi-name (required)

The BAPI source file to fetch and parse

--bapi-name BAPI_COMPANY_GETLIST

--hostname (required)

The hostname or IP of the SAP remote server

--hostname 91.195.162.68

--user (required)

The SAP server username login credential

--user demo

--password (required)

The SAP server password login credential

--password 12345

--system-number

Number of the SAP back-end system instance (dedicated) (00-99)

--system-number 04

--client

Logon parameter to the client of the back-end system

--client 800

--language

The data source language

--language en

--router

The router if it exists