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
-
In the Cockpit, go to Connectivity and select the Connector tool.
-
In the Connector tool, select Create.
Result: The Create Connector dialog opens.
-
In the Name field, enter a meaningful name for the connector.
-
In the Data Source field, select SAP API Factory.
-
In the SAP System field, select the remote system instance of Neptune DXP - SAP Edition.
-
In the Artifact Type field, select the artifact type Search Help or Program.
-
For the artifact type search help, enter relevant artifact information in the fields Searchhelp Type and Searchhelp Name that appear.
-
For the artifact type ABAP program, enter relevant artifact information in the ABAP Program field that appears.
-
-
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.