Using the SAP System Connector

Use

The SAP System connector for the SAP Enterprise Portal is a connector framework implementation based on the J2EE Java Connectivity Architecture (JCA 1.0), the SAP RFC library. It enables connectivity to SAP ERP systems, CRM (Customer Relations Management) and BI (Business Intelligence).

For more information, see Using Existing Connectors.

Connecting to an SAP System Using the Connector Gateway Service

The following example illustrates connecting to a SAP system using the connector gateway service:

Executing a BAPI Function

The following example shows executing a BAPI function that returns a RecordSet object.

Connecting to an SAP System Without the Connector Gateway Service

The following is relevant for the older versions of WebAS (AS Java).

The JNDI name of the connector was changed in WebAS 6.40. In 6.20, you use the lookup string EISConnections/<connector_name> to get a connector factory instance.

When migrating code with such a hard-coded lookup string to WebAS 6.40, change the JNDI lookup name for the connector to the following format:

deployedAdapters/<connector_name>/shareable/<connector_name>.

More Information

Using the JDBC Connector