RFC Resources on the Application Server
Use
The graphic below shows the SAP application server resources relevant for parallel RFC.
The following resources are required when starting or running RFC calls:
|
Resource |
Client |
Server |
Relevant Parameters |
|---|---|---|---|
|
Request queue |
x |
x |
rdisp/elem_per_queue |
|
Communication blocks (CA blocks) |
x |
x |
rdisp/wp_ca_blk_no |
|
Communication table |
x |
x |
rdisp/max_comm_entries |
|
User sessions |
x |
rdisp/tm_max_no |
|
|
Work processes |
x |
x |
rdisp/wp_no_dia rdisp/scheduler/prio_normal/max_quota rdisp/scheduler/prio_low/max_quota |
|
Connection table (gateway) |
x |
gw/max_conn |
Features
Resources can be assigned from the following areas:
Resource User Sessions
A maximum of rdisp/tm_max_no users can be logged on at the same time to the server. Each logged on user requires one user session. You can display a user overview in transaction SM04 (Monitoring AS ABAP Users).
Ressource Request Queue
The maximum number of requests that can be placed in the various queues for each ABAP instance is calculated with the formula.
rdisp/elem_per_queue * (Anzahl Workprozesstypen + 1)
With 6 work process types and a default value of 2000 for parameterrdisp/elem_per_queue this makes14000 requests. As of Kernel 7.40 the architecture of the queue has changed greatly. Now, each ABAP session has its own queue. This also applies to internal processes of an instance, such as Dispatcher, Gateway, ICMan, and the work processes. To distribute requests to the different work processes there are additional internal “dispatch queues”.
Resource Communication Blocks
With RFC calls, data is buffered in communication blocks (CA blocks). The number of blocks is defined in parameter rdisp/wp_ca_blk_no.
Resource Work Process
On the server side each RFC call is executed in a dialog work process. When the server is started, it has rdisp/wp_no_dia dialog work processes. This number can, however, be changed while the server is running. One way to do this is to use operation mode switching. You can find out the current number in the process overview (transaction SM50; see also Monitoring AS ABAP Processes).
Resource Communication Table
The communication table contains an entry for every RFC communication for all parties (client / server) involved. It can contain a maximum of rdisp/max_comm_entries entries, You can display a server overview in transaction SM51 (Overview of SAP Application Servers).
Steps for executing an RFC call (in brackets the resources used).
-
RFC client: Open RFC connections (resource communication table)
-
RFC server: Accept RFC connection (communication table)
-
Execute log on (user sessions)
-
Read RFC data (request, CA blocks)
-
Delegate RFC call to a dialog work process (work process)
-
Create response (request, CA blocks)
-
RFC client: Read response (work process, request, CA blocks)
Resource Connection Table
RFC calls are carried out at connection level by an SAP gateway. For each RFC destination one connection is opened, which is managed in the connection table. The maximum number of connections is configured in parameter gw/max_conn.
More Information
Transaction SARFC is used to monitor the resources on all servers in the SAP system.
For more information, see Monitoring RFC Resources on the Application Servers.