Defining RFC Groups for Parallel Processing Jobs

Use

It is possible to define logon groups to avoid overloading the system with parallel RFCs. For more information on parallel RFCs, see Parallel Processing of Jobs with Asynchronous RFC.

By default, a parallel-processed job uses all qualified servers in an SAP System according to automatic resource-allocation rules. However, by defining RFC groups, you can control which servers can be used for parallel-processed jobs. An RFC group specifies the set of allowed servers for a particular parallel-processed job. The group that is used for a specific job step must be specified in the job step program in the key word CALL FUNCTION STARTING NEW TASK DESTINATION IN GROUP.

Procedure

  1. Call Transaction RZ12 ( Start of the navigation pathAdministration Next navigation step System Administration Next navigation step Administration Next navigation step Network Next navigation step RFC DestinationsEnd of the navigation path). This displays a table showing:

    • The names of already-defined RFC groups, or logon groups or server groups

    • A list of the servers, or instances, in your SAP System

    • The current status (running/not-running) of each server

  2. To define an RFC group, choose Start of the navigation pathEdit Next navigation step Create AssignmentEnd of the navigation path. In the field Server Group, either choose a name from the list of groups that have already been defined or enter a new name. In the Instance field, select one of the servers from the list. Repeat this step for each server that should belong to the group or to assign a server to more than one group. When a server belongs to more than one group, jobs that use the group will compete for free work processes on the shared server(s). You must ensure that the group you create is also specified in the ABAP program that will use the group.

  3. Complete the Resource Detemination area in order to complete the group definition. Choose Accept to save the assignment.

Example

RFC groups can allow different parallel-processed jobs to run at the same time without competing for the same servers. In this case, the different groups that were used by the jobs would specify different server sets.

RFC groups can also separate parallel-processed jobs from servers being used by dialog users. In this case, the group used by a job would name servers other than those in the logon groups for users.