SAP connector¶
Summary¶
The SAP connector establishes access to either SAP ECC version 6 and above or SAP S/4HANA single-tenant.
Jitterbit's SAP connector relies on the SAP Java Connector (SAP JCo) library and network connectivity to communicate with ECC or S/4HANA. Customers must enable network connectivity between Jitterbit agents and the necessary SAP components, such as the SAP Application Server and the SAP Gateway. This may require changes to the network configuration of the on-premises or cloud hosting service (such as SAP RISE).
The SAP connector provides an interface for creating an SAP connection, the foundation used for generating instances of SAP activities. These activities, once configured, interact with SAP through the connection.
The SAP connector is accessed from the design component palette's Project endpoints and connectors tab (see Design component palette).
Connector overview¶
This connector is used to first configure an SAP connection. Activity types associated with that connection are then used to create instances of activities that are intended to be used as sources (to provide data in an operation) or targets (to consume data in an operation).
Together, a specific SAP connection and its activities are referred to as an SAP endpoint:
-
BAPI activity: An SAP BAPI (Business Application Programming Interface) is a standard interface to business object models (function modules). A BAPI activity executes a function in SAP and is used as a target in an operation.
-
RFC activity: An SAP RFC (Remote Function Call) is a special type of function module used to communicate with remote servers. The RFC activity executes a function in SAP and is used as a target in an operation.
Note
SAP RFCs that declare tables using
CHANGING
parameters are not supported. Tables must be declared usingTABLES
parameters. -
IDoc activity: An SAP IDoc (Intermediate Document) is configured to use a specific IDoc as a target in an operation. It can be used by an operation to send inbound IDocs (inbound to SAP, outbound from Jitterbit) to an SAP system.
Note
Outbound IDocs (outbound from SAP, inbound to Jitterbit) are not supported with the Integration Studio SAP Connector. Outbound IDoc activities require the Jitterbit SAP event listener available for Design Studio.
Note
This connector is a Connector SDK-based connector, which may be referred to by Jitterbit when communicating changes made to connectors built with the Connector SDK.
Prerequisites and supported API versions¶
For prerequisites, see SAP connector prerequisites.
For information on BAPI, RFC, and IDoc schema fields, refer to the SAP Help Portal or engage with your SAP administrator or SAP consultant.
Known issues¶
When configuring any SAP activity, you should be aware of this current known issue:
- Deployment of invalid SAP operations is allowed
- Summary: Operations that contain more than one SAP activity, or that contain an SAP activity and a NetSuite, Salesforce, Salesforce Service Cloud, ServiceMax, or SOAP activity, appear to be valid and are able to be deployed without error.
- Additional Information: The operation will fail at runtime.
- Workaround: Follow a valid operation pattern and don't use more than one SAP, NetSuite, Salesforce, Salesforce Service Cloud, ServiceMax, or SOAP activity in the same operation.
Troubleshooting¶
If you experience issues with the SAP connector, these troubleshooting steps are recommended:
-
Click the Test button in the connection configuration to ensure the connection is successful and to ensure the latest version of the connector is downloaded to the agent (unless using the Disable Auto Connector Update organization policy).
-
Check the operation logs for any information written during execution of the operation.
-
Enable operation debug logging (for cloud agents or for private agents) to generate additional log files and data.
-
If using private agents, you can check the agent logs for more information.
-
For additional troubleshooting considerations, see Operation troubleshooting.
If you receive the error JCoException occurred No RFC authorization for function module BAPI_TRANSACTION_COMMIT
when executing a custom Rfc activity, follow these steps:
- Ensure the RFC function module
BAPI_TRANSACTION_COMMIT
is remote-enabled. - In a request transformation preceding the activity, set the field
BAPI_COMMIT
totrue
. - Check that the SAP user used in the SAP connection has the
S_RFC
authorization permission for all related function groups.