Create a connector for an API with the SAP API Factory

The SAP API Factory as a data source for a connector enables the definition of REST APIs directly within an ABAP runtime class. Using the SAP API Factory as a connector exposes a given ABAP runtime class as a REST API to external systems to define inputs and outputs of APIs for the integration into an application.

The SAP API Factory as a data source for a connector uses a remote system connection to a selected remote system instance of Neptune DXP - SAP Edition.

The SAP API Factory as a data source for a connector supports the following artifacts for API exposure:

  • Search helps (value selection for input fields in SAP transactions)

  • ABAP programs (reports or module pools as executable program units)

Prerequisites

  • You have configured authentication or assigned proxy authentication for a remote system instance of Neptune DXP - SAP Edition with a minimum version of LTS 21 in the Remote System tool of Neptune DXP - Open Edition.

  • You have configured authorization to manipulate search helps and ABAP programs in the API Factory of Neptune DXP - SAP Edition.

  • You have the correct naming for the relevant individual search help and ABAP program artifacts at hand.

Procedure

  1. In the Cockpit, go to Connectivity and select the Connector tool.

  2. In the Connector tool, select Create.

    Result: The Create Connector dialog opens.

  3. In the Name field, enter a meaningful name for the connector.

  4. In the Data Source field, select SAP API Factory.

  5. In the SAP System field, select the remote system instance of Neptune DXP - SAP Edition.

  6. In the Artifact Type field, select the artifact type Search Help or Program.

    1. For the artifact type search help, enter relevant artifact information in the fields Searchhelp Type and Searchhelp Name that appear.

    2. For the artifact type ABAP program, enter relevant artifact information in the ABAP Program field that appears.

  7. Select Create.

Results

  • Your connector is saved with the current settings. The Connector tool adds an ID to your connector and saves change dates.

  • The Connector tool adds the Field Catalog tab that shows the properties imported from the SAP API Factory data source.

  • Your connector is now available when creating an application.