A Native API is specific to a system and represents a published API that can be consumed by ClearProcess. Since the system itself has connection parameters and adapters already specified, the only properties that need to be specified here are System and the Name of the API. Native APIs are configurable by administrators within your organization.
Configuring Native APIs in Clear
|API||The name of the API within the system. You can also assign custom remote-enabled SAP function modules here.|
|System||The system within the current subdomain that will execute the API.|
There are many ways to find APIs and integrate with SAP. The primary methods used by Clear are outlined below.
BAPI Integration – Finding APIs in Transaction BAPI
If you want to view a full list of APIs released by SAP, use this method.
BAPI Integration – Finding APIs in Database Table TFDIR
If you want to view a full list of all APIs in an SAP system, both released and unreleased, use this method. SAP will not support the use of unreleased APIs, but Clear Software will support such an integration. It may take several iterations of the process below before you find the API that meets your needs.
BAPI Integration – Finding APIs from an Individual Field
If you know one of the key fields you need in your SAP integration, you can use this method to find APIs that use that key field.
In some cases, SAP will not have a published API for a given integration. You can instead use a synchronous iDoc integration. iDocs are typically meant to be used in batch, but they are in fact a very stable and reliable way to integrate with SAP real-time. For a great example, see our default Clear API for CreateGLAccount.
If you have exhausted all of your options and cannot integrate with SAP via a BAPI or iDoc, there is an option to record a batch input session (transaction SHDB) and invoke the session from Clear. This should always be a last resort and will only be supported after receiving written approval from Clear. For a great example, see our default Clear API for PayCustomerItems.
To debug the integration between ClearWork, ClearProcess, and SAP, follow these steps.