SAP ERP
1 Connecting to SAP ERP
Set Host, User, Password, Client, and SystemNumber. Additionally, set Language to the ISO 639-1 language code you use to log into SAP ERP. The default is "EN".
To connect to a machine different from the Host machine, set GatewayHost. The GatewayService property indicates the service on the machine; by default this is HTTP.
To connect to a distributed system or systems with other configurations:
UseSimpleNames: SAP ERP supports attribute names with special characters that many database-oriented tools do not support. You can use this property to replace any nonalphanumeric character with an underscore.
InitialValueMode: Set this to return null or the exact value returned by SAP for fields that have an undefined or unknown value. By default the provider returns null.
1.1 Connecting to a Distributed SAP System
If you are connecting to a distributed SAP system, such as a system using load balancing, you must set the following additional properties. An administrator can obtain these connection properties on the Connection tab of the System Entry Properties dialog.
· SystemId: Set this property to the value in the System Id box.
The SystemId property is the System Id or R3Name of the SAP system. The system Id is a string with a maximum of three characters.
· MessageServer: Set this property to the value in the Message Server box. If a value is specified in the SAProuter box, prepend the value in the SAProuter box onto the value for the MessageServer connection string property.
The MessageServer property must be specified when connecting to an SAP system using load balancing.
· Group: If a value is specified, set this property to the value in the Group/Server box.
The Group property specifies the logon group being used. The default in most SAP systems will be PUBLIC.
If you are using a message server service other than HTTP, set MessageServerService.
1.2 Connecting to a Custom Application Server
If you are connecting to an SAP system with a dedicated application server or a custom application server, you can obtain the following connection properties on the Connection tab of the System Entry Properties dialog.
· SystemId: Set this property to the value in the System Id box.
The SystemId property is the System Id or R3Name of the SAP system. The system Id is a string with a maximum of three characters.
· Host: Set this property to the value in the Application Server box.
The Host property specifies the host name of the target system. This value can be a regular host name, IP address, or SAProuter address.
· SystemNumber: Set this property to the value in the SystemNumber box.
The SystemNumber property defines the target system.
1.3 Configuring Secure Network Connections
If the administrator has configured Secure Network Communication (SNC), you need to set the following additional properties. You can obtain the following SNC connection string properties on the Network tab of the System Entry Properties dialog.
· SNCMode: If the "Activate Secure Network Connections" checkbox is enabled, set the SNCMode connection string property to True. If this checkbox is disabled, set the SNCMode connection property to False.
The SNCMode connection property is a boolean value determining if you are using SNC. The default value is False.
· SNCPartnerName: Set this property to the value in the SNC Name box.
The SNCPartnerName property specifies the application server's SNC name. For example: p:CN=IDS, OU=IT, O=CSW, C=DE
· SNCName: Optional. Set this property to the value in the SNC Name box.
The SNCName property specifies the name of the SNC connection. Set this property to make sure that the correct SNC name is used for the connection.
· SNCQop: Set this property to the selected option in the Secure Network Settings section. For example, if the Integrity option is selected, set the SNCQop property to 3.
· SNCLibPath: Set this property to the path and filename of your SNC library.
The SNCLibPath property specifies the full path to the security library you are using. For example, C:\Secude\secude.xll.
2 Connecting with the RFC APIs
2.1 Using the Classic RFC SDK
By default, the Classic RFC SDK without Unicode support provided with the library librfc32.dll will be used. To use it, simply place the assembly in the appRulesPortal\Bin folder.
2.2 Using the Classic RFC SDK with Unicode Support
To use the Classic RFC SDK with Unicode support provided with the library librfc32u.dll, set ConnectionType to Classic_Unicode. The following libraries from the RFC SDK must also be available at run time, in addition to librfc32u.dll:
icudt30.dll
icuin30.dll
icuuc30.dll
2.3 Using the NetWeaver RFC SDK
To use the NetWeaver RFC SDK provided with the library sapnwrfc.dll, set ConnectionType to NetWeaver. The following libraries from the RFC SDK must be available at run time, in addition to sapnwrfc.dll:
icudt30.dll
icuin30.dll
icuuc30.dll
libicudecnumber.dll
libsapucum.dll
2.4 Required RFCs
The RFCs used by the connector are listed as follows. If any listed below are not available, some or all functionality may not work. T-Code SE37 may be used to view available function modules in SAP.
DDIF_FIELDINFO_GET
RFC_GET_FUNCTION_INTERFACE
RFC_GET_STRUCTURE_DEFINITION
RFC_GET_SYSTEM_INFO
RFC_GET_UNICODE_STRUCTURE
RFC_READ_TABLE
SLDAG_CHECK_FOR_UNICODE
2.5 Filtering SAP Entities
The following connection properties provide basic functionality to select the entities you need:
TableMode: Filters tables from the DD02L system table in SAP.
QueryMode: Filters queries by your SAP workspace.
StoredProcedureFilter: Filters SAP function modules, which are modeled as stored procedures.
The following are the connection properties for SAPERP. Not all properties are required. Enter only property values pertaining to your installation. Several properties will be automatically initialized with the appRules defaults.
Last updated