Skip to content

Theobald ERPConnect License#

In addition, it is also necessary to license the Theobald ERPConnect component by obtaining a valid license key which must be encrypted using the tool String Encrypter available in the installation CD in the folder packages\Cmf.ERPLicenseEncrypter.6.1.0.zip. The encrypted string must be set in the configuration file of each application server under the entry ERPConnectorLic in the SapConnector section of the .config file together with the remaining ERP configuration entries, as listed in the next section.

ERP Application Configuration Entry Files#

The table below describes the ERP application configuration entries of the SapConnector section .config of the Critical Manufacturing application.

Key Description Example
ERPMgmtActive Enable or disable ERP integration - this flag will determine if the Critical Manufacturing will be able to send and receive information from SAP (true, false) true
ERPHost The SAP server name /H/saprouter.mycompany.com/H/m2bsrv03
ERPSystemNumber The SAP system number 0
ERPService The name of the gateway in SAP, which is usually a string that results from the concatenation of the constant sapgw with the system number (i.e: sapgw00) sapgw00
ERPProgramID The Registered Server Program name (this must match the Registered Server Program defined in SAP in transaction SM59) ZERPCONNECT
ERPUser The user name used to connect to the SAP system user001
ERPPwd The user password used to connect to the SAP system 12345678
ERPClient The SAP client (usually a number) 800
ERPLanguage A two letter string that defines the language to be used for the SAP integration (e.g.: EN for English or DE for German) EN
ERPConnectorLic ERP connector license string - this string must be encrypted from the original license string and using the tool Script Encrypter included in the Software\cmNavigo Tools directory Encrypted license key text

Table: ERP Application Configuration Entry Files

Configuring ERP Integration#

Critical Manufacturing ships with a generic ERP Integration solution that is capable of working with different ERPs. This configuration is based on three tables listed below, filled with sample configuration data for illustration purposes:

IntegrationSystem (Lookup Table)#

Used to define the different systems to be integrated.

Value Description
MES MES
ERP ERP

Table: IntegrationSystem Lookup Table

IntegrationHandler (Generic Table)#

Used to register the assembly to be used for the integration.

Name AssemblyQualifiedName
SapIntegrationHandler Cmf.Foundation.Integration.SapConnector.SapIntegrationPackage, Cmf.Foundation.Integration.SapConnector, Version=4.2.0.0, Culture=neutral, PublicKeyToken=6bbf07329f6aa8df

Table: IntegrationHandler Generic Table

IntegrationHandlerResolution (Smart Table)#

Used to define the assembly to be used for a particular integration between two systems.

FromSystem ToSystem MessageType HandlerType
MES ERP SapIntegrationHandler
ERP MES SapIntegrationHandler

Table: IntegrationHandlerResolution Smart Table

More information in the IntegrationHandlerResolution Smart Table.