Using the SAP Java Connector
This chapter describes how to add the required components to your production so that it can send requests to SAP. It discusses the following topics:
Also see “Using the Java Gateway in a Production” in Using the Java Gateway in Productions.
Add the following business hosts to your production.
The business service EnsLib.JavaGateway.ServiceOpens in a new window.
Configure this business host as described in “Using the Java Gateway in a Production” in Using the Java Gateway in Productions.
The business operation EnsLib.SAP.OperationOpens in a new window.
Configure this business host as described in the later in this chapter.
One or more business hosts that send SAP request messages to EnsLib.SAP.OperationOpens in a new window, as needed.
Use the message classes that you generated. Your business hosts should create instances of these classes, set properties as applicable, and send the messages to the instance of EnsLib.SAP.OperationOpens in a new window.
Settings for EnsLib.SAP.Operation
EnsLib.SAP.OperationOpens in a new window sends requests to SAP JCo, via the Java Gateway. For this business host, specify the following settings:
SAP Client e.g 000.
This is the name of the set of production credentials to use when accessing the SAP server.
Host name or IP address of the SAP server.
SAP SystemNumber e.g 00.
Specifies whether to execute the BAPI "BAPI_TRANSACTION_COMMIT" after a successful BAPI/RFC-call.
Configuration item in this production that should receive the SAP response.
Name of the (required) configuration item that hosts the Java Gateway.
For settings not listed in this book, see “Settings in All Productions” in Managing Productions Productions.