If you want to configure an ABAP application to access data in the SLD through the ABAP API, you have to configure the HTTP connection parameters on the ABAP system side.
For this purpose, you must call transaction SLDAPICUST that offers you the following options:
Access to SLD Server Using RFC
You can access data in the SLD using an RFC destination for the SLD ABAP API.
For more information about creating an RFC destination on the AS ABAP side, see Creating an RFC Destination for the SLD ABAP API on the AS ABAP Side.
For more information about creating an RFC destination on the AS Java side, see Creating an RFC Destination for the SLD ABAP API on the AS Java Side.
In addition to an RFC destination, you need to specify HTTP connection parameters following the second procedure of this chapter.
Access to SLD Server Using HTTP (recommended)
You can access data in the SLD using an HTTP destination for the SLD ABAP API.
Here you can choose between the following options:
Connection Parameter Entered Here
After an installation or after an upgrade, you find this option as the default setting in your SAP system. If you want to create an HTTP destination in addition to an RFC destination, or if you do not require any special settings for your HTTP connection parameters, you should choose this option and follow the second procedure of this chapter.
Connection Using HTTP Destination (recommended)
If you want to create a direct HTTP destination, or if you require special settings for your HTTP destination such as special security settings, we recommend you to choose this option and follow the first procedure of this chapter.
Creating a Direct HTTP Destination (Recommended)
A template for your connection (connection type G) is displayed in transaction SM59.
Description: |
Make an arbitrary entry |
Target host: |
Enter the <SLD server> |
Service No: |
Enter the HTTP(S) port of the SLD server |
Path prefix: |
/sld/cimon |
Logon&Security: |
Specify user and password |
Special Options: |
No compressed response |
Depending on your setup, you have to specify additional settings. For example, SSL communication.
Specifying HTTP Connection Parameters
Field |
Description |
---|---|
Alias Name |
Enter an application-specific name that uniquely identifies the HTTP connection record in the table. |
Host Name Port |
Enter the host name and HTTP port number of the SLD. |
User |
Enter the user name of the user who logs on to the SLD. Note
The user has to be assigned to the LcrInstanceWriterLD role. |
The table may have several HTTP connection records that point to different SLD servers. Only one of them can be selected as primary. The primary HTTP connection is the default connection for all applications that use the SLD ABAP API.