Show TOC

Procedure documentationCreating an HTTP Destination for the SLD ABAP API on the AS ABAP Side Locate this document in the navigation structure

 

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 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 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 that you choose this option and follow the first procedure of this chapter.

    • 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.

  • 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.

Procedure

Creating a Direct HTTP Destination (Recommended)
  1. Call transaction SLDAPICUST.

  2. Switch to CHANGE mode by choosing Display <-> Change (Display <-> Change) .

  3. To create a direct HTTP destination or to maintain special settings for your HTTP destination, choose option Connection Using HTTP Destination (recommended).

  4. In the HTTP Destinations dialog box, choose Yes.

    The existing parameters in the table are automatically transferred to an HTTP destination.

  5. Choose Append Row (Append Row).

    A new row is appended to the existing table.

  6. Enter an alias name and an HTTP destination.

  7. Save your entries.

  8. To specify special settings for your newly created HTTP connection in transaction SM59, choose the Create button in the Configuration column of the table next to your connection.

    A template for your new connection is displayed in transaction SM59. Choose your settings accordingly and save your entries.

  9. To check the status of your new HTTP connection, select the relevant row and choose the Test button.

Specifying HTTP Connection Parameters
  1. Call transaction SLDAPICUST.

  2. Switch to CHANGE mode by choosing Display <-> Change (Display <-> Change) .

  3. Choose option Connection Parameter Entered Here.

  4. Choose Append Row (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 Note

    The user has to be assigned to the LcrInstanceWriterLD role.

    End of the note.
    1. Select the Prim. indicator.

      Note 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.

      End of the note.
    2. Choose the Password button.

    3. Enter a password and choose Continue (Continue).

    4. Save your entries.

    5. If you want to check the status of the HTTP connection, select a row and choose the Test button.