Extension in the QOUT Scheduler (Transaction
SMQS)
The destinations used in SMQS are automatically registered during tRFC and qRFC calls. The QOUT Scheduler thus transfers all tRFC and qRFC LUWs with a registered destination asynchronously to the application. Depending on the resources in the sending system, it also transfers them to the required target system for processing.
When using tRFC, qRFC and other applications for communication between two SAP systems, you are strongly recommended to use different destinations for different users. This avoids a delay when sending the tRFC and qRFC LUWs, and makes subsequent troubleshooting simpler.
The maximum number of connections that can operate in parallel for a registered destination in SMQS is preconfigured as follows:
● Maximum 10 connections: The target system is an SAP system
● Maximum 1 connection : The target system is an external tRFC/qRFC program
These settings values also apply for a
collective restart using report RSARFCEX for tRFC, or report RSQOWKEX for qRFC
with outbound queue.
To improve performance (by enabling parallel transfer and processing), you can change these settings. The changes you can make depend on the number of DIALOG processes in the local system (client), the number of DIALOG processes in the receiving system (for an SAP system), or the number of registered external tRFC/qRFC server programs with the same program ID.
These scheduler settings should be understood
as maximum settings only. There are no minimum settings. Depending on the
configuration in RZ12, fewer DIALOG work processes might therefore be
available for the Scheduler in the local (sending) system.
You can also use these settings to monitor the load on the receiving system. It is particularly useful to implement the QOUT Scheduler when communicating with external programs, because restricting the maximum number of connections eliminates CPIC errors caused by a busy registered RFC server. Depending on the number of registered RFC servers under the same program ID, you can increase the setting in SMQS.
Do not choose a number of maximum connections
that is larger than the number of DIALOG processes in the target system, even
if this is possible. If you do, the tRFC and the qRFC in the target system may
be unable to run because all the DIALOG processes are busy.
You can prevent immediate transfer of the tRFC/qRFC LUWs by deregistering a destination in SMQS. It is not enough to delete the registration here because this destination is registered again automatically after the next tRFC/qRFC call if the client, user, password, and language have been maintained in transaction SM59. The destination can be registered again on the QOUT Scheduler using transaction SQMS.