Show TOC

Background documentationLocal Check Locate this document in the navigation structure

Process

The local check identifies whether any resources are available locally. It makes sense to carry out a detailed check only if local resources are available. If no local resources are available, the detailed check is not carried out. The local check is always carried out in the work process.

The check proceeds as follows.

  1. Initially the maximum resources are set to 10,000.

    resources = 10,000

  2. Check the communication channels: Are there still sufficient entries in the communications table? The entries are displayed in transaction SM51,   Goto   Server Info   Comm. Table  .

    1. Calculates:

      quota=(rdisp/max_comm_entries*rdisp/rfc_max_comm_entries) / 100

      (Only the whole number counts, numbers after the decimal point are ignored.) If the quota is 0, the reason = TH_ARFC_RES_LOCAL_LOW_MAX_COMM_ENTRIES, and the return value = 2 (NEVER_GET_RESOURCES) is set.

    2. The system determines the number of communication channels in use, sets the quota to this value, and checks whether the maximum quota has been exceeded.

    3. If the quota has been exceeded (count>quota), no resources are returned, the reason = TH_ARFC_RES_LOCAL_MAX_COMM_ENTRIES is set, and the return value=0 is set.

    4. Otherwise, the resources are calculated afresh (and may be reduced).

      new_resources=min(quota–count, resources)

      and reason = TH_ARFC_RES_OK, and return value = 0 is set.

  3. The number of asynchronous read requests: The work process can only buffer a limited number of asynchronous messages. The profile parameter rdisp/max_arq (default value=200) determines the exact number. This value cannot be dynamically changed.

    1. quota = max(rdisp/max_arq – act_size – 20, 0 )

      In addition to the queue entries currently occupied a buffer of 20 is deducted.

    2. count = asyn_rfcs (number of asynchronous RFCs)

    3. If the quota has been exceeded (count > quota), no resources are returned, and the reason = TH_ARFC_RES_LOCAL_ARFCQUEUE and the return value=0 returned.

    4. Otherwise, the resources are calculated afresh, and the reason = TH_ARFC_RES_OK, and return value = 0 set.

More Information

Detailed Check