The GeneXus™ ERP Connector tool cames preinstalled with GeneXus™ from X evolution 3 Upgrade 4 or higher and must be installed as an Extension for previous versions (GeneXus™ X evolution 3 Upgrade 3).
To be able to execute GeneXus™ ERP Connector you need GeneXus™ X evolution 3 Upgrade 3 (or higher) and SAP .NET Connector, installed. Even when it is not distributed with GeneXus™ or with GeneXus™ ERP Connector, everyone with a SAP license will have this connector.
The necessary DLL files are (126.96.36.199 or higher, 32 bits compiled with .NET Framework 2.0, from GX 15 U1 or up you need the dlls compiled with .NET Framework 4.0):
These two DLL files must be copied to the installation directory of GeneXus™ ERP Connector when the tool is used in stand-alone mode, or to the root installation directory of GeneXus™ when it is used as an extension.
To be able to call a BAPI using the RFC protocol the SAP user should have at least the SAP_S_RFCACL role.
Pay attention also to the TCP/IP ports used by SAP applications, specifically to ports 36<NN>, 32<NN> and 33<NN> where <NN> represents the SAP Instance Number.
To install GeneXus™ ERP Connector, all we need is to download the extension GeneXus™ ERP Connector from GeneXus™ Marketplace and execute it.
Step 1. Welcome to the wizard
Step 2. Select GeneXus installation directory
Step 3. Click on Next to start the installation process
Step 4. The installation process begins
Step 5. GeneXus ERP Connector is installed, and you can choose to run GeneXus or finish the process.
Once GeneXus ERP Connector for SAP is installed, you must request a license through GeneXus License Manager.
You will find the product to authorize with the product name "GX ERP Connector".
If you try to run, from inside GeneXus™, the option "Tools/Application Integration/SAP BAPI Import" without having a GeneXus ERP Connector license, the message "Enterprise Inspector License Not Found" will be displayed.
If you are using the C# generator, you will need to copy sapnco.dll and sapnco_utils.dll files to the TargetEnvironment\web\bin\ folder.
For the Java environment, make sure to add sapjco3.jar to the classpath; next, follow the Connector instructions for further detail.