Creation of an SLD connection from ABAP backend to AEX SLD
All ABAP backend systems involved in a PI/AEX integration scenario need to be connected to the SLD. There are a lot of guides and overviews available on SCN how this is done. However, I wanted to create a complete overview in my blog since the existing blogs are still missing the one or the other detail I was looking for during my first SLD connection setup.
The following sections describe the SLD connection of an ABAP backend system to an AEX (Java-Only) 7.31 which also hosts the SLD (same hostname).
The main steps which need to be performed to set up a proper SLD connection are the following:
1st step: Definition of the SLD access data (hostname and user) which should be used to connect to the SLD on AEX
2nd step: Setup of the SLD data supplier connection
3rd step: Check of SLD connection
II. Detailed Setup Description
1st Step: Definition of access data:
The settings in transaction SLDAPICUST define where the ABAP system goes to read SLD data from if required. These settings have nothing to do with writing ABAP system data to the SLD. This part is setup in the 2nd step (transaction RZ70).
a. Start transaction SLDAPICUST
b. Select access via HTTP, enter an Alias, the hostname of the SLD (AEX), port and the user to be used to
connect to the SLD (standard SLD users are automatically created during installation of the SLD):
IMPORTANT: In older ABAP stacks, the HTTP option of RZ70 is not available yet. In this case only connection
via RFC (former connection) is possible.
In this case please refer to the SAP Help for further details how to set this up.
c. Enter the password for the used SLD user by clicking on the “Passwort” button.
d. Test the connection by clicking on the “Test” icon. A green status should be displayed. If this is not the case,
check again the hostname, port, user and password which you entered to connect to the SLD.
2nd Step: Setup of the SLD data supplier connection
The data provided in in transaction RZ70 define where the ABAP system is writing SLD system data to. It doesn’t define where the ABAP SAP system reads SLD data. This is defined in transaction SLDAPICUST (see step 1).
As soon as the data is provided in transaction RZ70, the system automatically creates two RFC connections SLD_UC and SLD_NUC in transaction SM59 which are used to connect to the SLD. If these connections are manually deleted you can automatically recreate them by saving the settings again in transaction RZ70.
a. Start transaction RZ70
b. Enter the gateway hostname and the gateway service name. If you don’t know the correct values, choose the
same as available in SLD at (see below screenshot):
=> Administration => Details => Data Suppliers
Enter the values in transaction RZ70:
c. Start data collection:
For immediate data collection click the start button, otherwise schedule a background job for regular data
3rd Step: Check of SLD connection
a. Start transaction SLDCHECK
b. The SLD needs to open in a browser window and all status value need to be green