Show TOC

Creating an HTTP Destination for the SLD ABAP API on the AS ABAP SideLocate this document in the navigation structure

Use

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.

Procedure

Creating a Direct HTTP Destination (Recommended)

  1. Call transaction SLDAPICUST.
  2. Switch to CHANGE mode.
  3. Choose Connection Using HTTP Destination (recommended)
  4. If parameters already exist in the table, they are automatically transferred to an HTTP destination. Otherwise,
  5. Choose Append Row or Insert row to append or insert a new row to the existing table.
  6. Enter an alias name and an HTTP destination.
    Note We recommend you to use the following default destination: SAP_CIM_SRV_SAP_DEFAULT
  7. Save your entries.
  8. To specify special settings for your newly created HTTP connection in transaction SM59, choose the Create or Modify button in the Configuration column of the table next to your connection.

    A template for your connection (connection type G) is displayed in transaction SM59.

  9. Specify the following entries and save them:

    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.

  10. To check the status of your new HTTP connection, select the relevant row in transaction SLDAPICUST and choose the Test button.

Specifying HTTP Connection Parameters

  1. Call transaction SLDAPICUST.
  2. Switch to CHANGE mode by choosing Display <-> Change
  3. Choose option Connection Parameter Entered Here .
  4. Choose Append Row
  5. Enter the HTTP connection parameters in the following fields:

    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.

  6. Select the Prim. indicator.
    Note

    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.

  7. Choose the Password button.
  8. Enter a password and choose Continue.
  9. Save your entries.
  10. If you want to check the status of the HTTP connection, select a row and choose the Test button.