Program Ids And Load Balancing; Registering Your Program Id In Sapgui - BEA WebLogic User Manual

Adapter for sap
Hide thumbs Also See for WebLogic:
Table of Contents

Advertisement

In SAPGUI, the destination must be defined with transaction SM59, using connection type T
and Register Mode. Moreover, this entry must contain information on the SAP Gateway
where the RFC server program is registered.

Program IDs and Load Balancing

If the Gateway Server has a connection to a particular server instance and another server
instance presents itself to the Gateway, the Gateway offers the connection and then begins
functioning in Load Balancing mode. Using a proprietary algorithm, the Gateway sends
different messages to each server depending on demand and total processing time. This
could cause unpredictable results in the BEA WebLogic scenario where messages are
validated by schema and application.
When configuring multiple events in BEA WebLogic using a single SAP program ID, SAP
load balances the event data. For example, if multiple remote function calls or BAPIs use the
same program ID (for example, IWAYID) and multiple SAP listeners are configured with this
program ID, then SAP sends one request to one listener and the next to another listener,
and so on.
The SAP Gateway Server includes a load balancing algorithm. This mechanism is
proprietary to SAP application development and may work by comparing total throughput
of the connection, the number of times in wait state, and so on. This means connection 1
may receive nine messages and connection 2 may receive one message. If five of nine
messages are rejected for schema validation and the message on the other ID is rejected for
schema validation, the customer can very easily make a case of missing messages.

Registering Your Program ID in SAPGUI

To enable your SAP system to issue the following calls or interfaces to the SAP event
adapter, you must register your program ID under an RFC destination.
Remote Function Calls (RFC)
Business Application Programming Interfaces (BAPI)
Intermediate Documents (IDoc)
The RFC destination is a symbolic name (for example, IWAYDEST) that is used to direct
events to a target system, masking the program ID. The Program ID is configured in both
SAPGUI and the event adapter.
Procedure: How to Register Your Program ID
To register your program ID:
1. Launch the SAP Workbench and logon to the SAP system.
2. Select Tools, Administration, Network, and then RFC destination.
BEA WebLogic Adapter for SAP User's Guide
Understanding SAP Events
8-3

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the WebLogic and is the answer not in the manual?

Table of Contents