Connecting to SAP #
Every Xtract IS component needs a connection manager to establish access to the SAP system.
Warning! Missing Authorization To establish a connection to SAP the access to general authority objects (RFC) must be available. Make sure to gain access to the general authority objects. For more information, see the knowledge base article on SAP User Rights.
- To create a new connection manager right-click in the connection managers within “Solution Explorer” area and choose New connection Manager. The window “Add SSIS Connection Manager” opens.
- Select the XTRACT Connection Manager from the list and click [Add]. Xtract IS Connection manager appears under the tab Connection Managers.
- To configure the SAP connection, double-click the Xtract IS Connection Manager icon. The window “Xtract IS Connection Manager” opens.
- Fill in all the necessary data (Client, Username, Password ect. see below).
- Click [Test connection] to check the connection to your SAP system.
If the connection test is successful, the Xtract IS component is ready to use.
SAP source system (1) #
There are two possibilities to connect to an SAP source system:
- Use Single Application Server
- Application server: host name or IP address of the application server (Property Host)
- Instance number: a two-digit number between 00 und 99 (Property SystemNumber)
- Use Load Balancing Server (message server)
- System ID: three-digit System ID (Property SID e.g., MSS)
- Message Server: name or IP address of the message server (Property MessageServer)
- Logon group: property LogonGroup, usually PUBLIC See also SAP online help: Load Balancing.
Accessing via SAP router
If you access the SAP source system (Application server or Message server) via an SAP router, set the router string before the host name.
If the application server is “hamlet” and the router string is “/H/lear.theobald-software.com/H/”, set the host property to “/H/lear.theobald-software.com/H/hamlet”.
See also SAP online help: SAP-Router.
Tip: Values to fill out the forms can be found in the SAP logon pad in the Properties or acquired from SAP Basis team.
Trace Directory (2) #
You can log debug information and save it locally. Fill the Trace directory field with a local path to a folder, where you want to save the debug information. See further details in the knowledge base article Trace Directory.
Warning!: Increase of used hard drive memory
A big amount of information is collected when debug logging is activated. This can decrease the capacity of your hard drives dramatically. Activate the debug logging only when necessary e.g., upon request of the support team.
RFC libraries (3) #
The RFC API (Remote Function Call) allows to establish an RFC connection to an SAP system from an external system that communicates as Client or Server with the SAP system.
There are two options for using RFC libraries in Xtract IS:
- Use classic RFC library (librfc32.dll)
- Use NetWeaver RFC libraries (sapnwrfc.dll)
Recommendation: Use the not supported librfc32.dll for some extraction types, e.g., DeltaQ as runs more stable than the NetWeaver RFC library.
See additional information on SAP libraries on the SAP Help Site - RFC Libraries
SAP has stopped supporting librfc32.dll.
Note: When using the NetWeaver RFC library with DeltaQ or OHS extractions, the RFC destination in SM59 must be set to Unicode.
Additions (4) #
In the upper part of the “Xtract IS Connection Manager” click Additions (4). The window “Xtract IS Connection Manager Additions” opens.
In the window “Xtract IS Connection Manager Additions” you can find several SNC (Secure Network Connection) options.
For more details see SAP Connection with SNC
Expert Options (6)
Since 09.2017, SAP connection parameters are no longer stored as Connection Strings, but as Properties.
There is a Property for each component of the Connection string.
This feature allows using a sensitive environment variable for the password in the Integration Services catalog.
The Connection string (see legacy mode below) did not support sensitive environment variables.
The newer version provides stronger encryption than password obfuscation.
You can either use Connection properties or a Connection string, not both.
Legacy storage mode (connection string)
SAP connection parameters are set via a single Connection string (default in XIS versions pre 09.2017).
Masks SAP connection password. This option is switched on per default when activating Legacy storage mode.
Internal Table Function States the function module used for Xtract IS’ internal communication with SAP (e.g., retrieving the metadata). To change the selected function module, type the name of function module manually. Using another function module can be necessary when adding permission restrictions within the functional module.