SAP Message RT201 - tRFC: React to alerts

Diagnosis
This message describes how to respond to transactional RFC and queuedtRFC alerts.

Procedure
The following kinds of alerts can be triggered:

  • Too many tRFC calls: If the backlog has occurred because of slow
  • processing of tRFCs in an external component, then you need only monitorthe backlog to ensure that is it is reduced. You should also try toimprove the performance of the external component or destination system.
    If the backlog consists of outbound qRFC calls, then you should checkthe qRFC outbound MTEs for problems with queues. If there are suchproblems, then you should determine (using the analysis methods) whetherthe backlog of calls belongs to the blocked queues or not. If not, thequeue blockage is unimportant. If so, then you could run into databasespace problems if there is a lot of activity in the affected queues andthe number of entries waiting in the ARFCSSTATE table continues to grow.
    If the backlog consists of qRFC calls but no relevant qRFC outboundqueues are blocked, then monitor the backlog to be sure that it isreduced as calls are processed serially in the destination system(s) orexternal component(s).
    Note: if you have CRM or BW installed in your installation, then thebacklog of qRFC calls may be normal. Both of these components manageqRFC activity themselves, and both accumulate calls in the outboundqueues in status RECORDED before triggering the execution of the callsthemselves. If the calls belong to CRM or BW queues, then you shouldjust monitor the backlog to make sure that it does not grow so largethat it causes DB space problems and to make sure that it isperiodically reduced.
    If the backlog has occurred because of communication (CPICERR) orprocessing (SYSFAIL) problems, then see the information on these typesof alerts, below.
    • Too many inbound qRFC calls waiting: Check the inbound queue
    • MTEs in this system to ensure that no queues are blocked. If queues areblocked and the calls waiting belong to these queues, then you shouldcontact the owners of the queues and calls. If there is much activityon the affected queues, then there is the risk that the calling system,this system, or both systems will run into database space problems asthe calls waiting accumulate.
      If no queues are blocked, then you should check whether any of theproblems described in SAP notes 378903 or 366869 apply to your inboundqRFC calls. If not, then you should monitor the backlog to ensure thatit is reduced over time. You should also take steps to ensure that thissystem can process the incoming qRFC calls more rapidly so that largebacklogs of inbound qRFC calls do not occur.
      • CPIC Errors: A CPI-C error indicates that the calling system
      • could not contact or could not communicate successfully with thedestination system or external component. The tRFC or qRFC call isscheduled as a background job and is retried periodically. The numberof retries is set in transaction SM58 on in the analysis method.
        To correct the problem, you need to check the communications link to thedestination. Aside from network problems, other likely causes of aCPI-C error include incorrect destination information in transactionSM59, inactive gateway process in the calling or in the destinationsystem, incorrect CPI-C implementation in an external component, andinactivated destination system or component. You will find informationon the cause of the problem in transaction SM58 or in the tRFC and/orqRFC analysis methods. The status message associated with an alertcontains the identifying TID, function, and user associated with a call.If the call is an ALE call, then see the ALE monitoring tree for helpin correcting the problem.
        Once the communication link is re-established, tRFC or outbound qRFCcalls that are still being retried are processed automatically. If acall is no longer being retried, then you can trigger processing of theLUW (logical unit of work) that includes the call in transaction SM58 orin the analysis method.
        If inbound or outbound qRFC calls have been affected, then check thequeue MTEs for any queues that have been blocked by the problem. If so,determine (by speaking with the owners of the queues / affected calls)whether there is much activity on the affected queues. If there is muchactivity on the queues, then the calls waiting in the queues couldaccumulate to such an extent that you run into database space problemson this system and/or on the calling system.
        • SYSFAIL errors: A SYSFAIL error means that an error occurred
        • while running a tRFC or qRFC call. The function module in thedestination system ended abnormally with an exception. Such a call andits associated LUW are not retried. You can get more information on theerror in transaction SM58 or in the analysis methods for tRFC and qRFC.The status message associated with an alert contains the identifyingTID, function, and user associated with a call. If the call is an ALEcall, then see the ALE monitoring tree for help in correcting theproblem.
          To correct the problem, you should consult with the users responsiblefor the tRFC or qRFC transactions. The call and the LUW cannot becompleted until the programming error has been corrected.
          If inbound or outbound qRFC calls have been affected, then check thequeue MTEs for any queues that have been blocked by the problem. If so,determine (by speaking with the owners of the queues / affected calls)whether there is much activity on the affected queues. If there is muchactivity on the queues, then the calls waiting in the queues couldaccumulate to such an extent that you run into database space problemson this system and/or on the calling system.
          • SYSLOAD errors: A SYSLOAD error indicates that not enough server
          • resources were available in this system to process tRFC and/or outboundqRFC calls. The RFC system takes various measures (configurable by thesystem administrator) to ensure fast processing of the SYSLOAD calls.See SAP Note 319860 for more information on SYSLOAD processing.
            You can correct SYSLOAD problems by increasing the number of serversavailable for processing tRFC / outbound qRFC calls. Do this withtransaction RZ12.
            • HOLD and EXECUTED status: These statuses can occur for inbound
            • qRFC calls, calls that are to be processed serially in this system. Thepresence of calls with these statuses may or may not indicate errors inyour system. For more information, see SAP Notes 378903 and 366869.