Knowledge Base > Automation Engine and Target Systems > SAP > Multiple SAP Systems

Multiple SAP Systems

The following description explains the appropriate configurationA set of constituent components that make up a system. This includes information on how the components are connected including the settings applied. of several SAP agents which run on different SAP systems.

Other SAP Agents

 1.

 Edit ServiceManager Definition File AE.SMD. 

Enter the additional agents in the ServiceManager Definition file according to the following example. Ensure that the name of the *.INI file is separated by a blank and specified after the start path of the agent.

! Comment lines begin with an exclamation mark
!
! Now, sub-services are defined
!DEFINE Automation Engine;*OWN\UCServer.exe;*OWN
DEFINE UC4 C11-Agent;*OWN\C11\UCXJR3X.exe -i*OWN\UCXJC11.INI;*OWN
DEFINE UC4 XYZ-Agent;c:\uc4global\bin\XYZ\UCXJRX3.exe -ic:\uc4global\bin\XYZ\UCXJXYZ.INI;*OWN\XYZ

Alternately, these entries in the file AE.SMD can also be duplicated and adjusted with the ServiceManager Dialog.

 2.

Creating *.INI files

Create a UCXJ*.INI file with the name you have specified in AE.SMD for every additional agent.  Automic recommends copying the file of an already existing agent (such as UCXJR3X.INI to UCXJC11.INI).

Check or edit the created UCXJ*.INI files.

 3.

 Editing SAPRFC.INI (only when using the SAPRFC.INI)

Add the additional chapters in the SAPRFC.INI (so far SIDEINFO) as specified in the UCXJ*.INI files in accordance with the following example:

DEST=UC_C11
LU=R33
TP=sapdp00
GWHOST=R33
GWSERV=sapgw00
PROTOCOL=I

DEST=UC_XYZ
LU=R33
TP=sapdp01
GWHOST=R33
GWSERV=sapgw01
PROTOCOL=I

 4.

 Opening and closing the ServiceManager.

Close the ServiceManager and restart it. After that, the additional agents should be available. Create the user for the RFCLOGIN in the relevant SAP system.