Check If TRFC Queue is Struck in SM58

How to check if TRFC queue is struck in sm58 

Chk TCode - SMQS 

1. Transact RFC Error – Non Updated IDocs in the Source System.
 

Why does the error occurs?

- tRFC – Transact Remote Function Call Error, occurs whenever LUW’s (Logical Unit of Work’s) are not transferred from the source system to the destination system.
 

What happens when this error occurs?

- Message appears in the bottom of the “Status” tab in RSMO. The error message would appear like “tRFC Error in Source System” or “tRFC Error in Data Warehouse” or simply “tRFC Error” depending on the system from where data is being extracted.

- Sometimes IDOC are also stuck on R/3 side as there were no processors available to process them.
 

What can be the possible actions to be carried out?

- Once this error is encountered, we could try to Click a complete Refresh “F6” in RSMO, and check if the LUW’s get cleared manually by the system.

- If after “couple” of Refresh, the error is as it is, then follow the below steps quickly as it may happen that the load may fail with a short dump.

- Go to the menu Environment -> Transact. RFC -> In the Source System, from RSMO. It asks to login into the source system.

- Once logged in, it will give a selection screen with “Date”, “User Name”, TRFC options.

- On execution with “F8” it will give the list of all Stuck LUW’s. The “Status Text” will appear Red for the Stuck LUW’s which are not getting processed. And the “Target System” for those LUWs should be “WP1CL015”, that’s the Bose BW Production system. Do not execute any other IDOC which is not related have the “Target System” as “WP1CL015”.

- Right Click and “Execute” or “F6” after selection, those LUW’s which are identified properly. So that they get cleared, and the load on BW side gets completed successfully.

- When IDocs are stuck go to R/3, use Tcode BD87 and expand ‘IDOC in inbound Processing’ tab for IDOC Status type as 64 (IDoc ready to be transferred to application). Keep the cursor on the error message (pertaining to IDOC type RSRQST only) and click Process tab (F8) . This will push any stuck Idoc on R/3.

- Monitor the load for successful completion, and complete the further loads if any in the Process Chain.
 

Is there any SAP program which automatically process strucked tRFC and IDoc, so that we shouldn't be doing this manually?

Go to SE38. Enter the report RSARFCEX and execute. Study the documentation. Then select the appropriate checkboxes for tRFC statuses you want to process and save the variant.

Go to SM36 and create a new job named "Process_tRFC". Click on Step. Enter the report name and the variant name.

Select Start Conditions and schedule the report periodically.

SAP BC Tips

See Also
What Is Change Pointer

Get help for your Basis problems
Do you have a SAP Basis Question?

SAP Basis Admin Books
SAP System Administration, Security, Authorization, ALE, Performance Tuning Reference Books

SAP Basis Tips
SAP BC Tips and Basis Components Discussion Forum

Administration In SAP - Sapgui, Unix, SAP ITS, Router, Client Copy and IDES 

Main Index
SAP ERP Modules, Basis, ABAP and Other IMG Stuff

All the site contents are Copyright © www.erpgreat.com and the content authors. All rights reserved.
All product names are trademarks of their respective companies.  The site www.erpgreat.com is in no way affiliated with SAP AG. 
Every effort is made to ensure the content integrity.  Information used on this site is at your own risk. 
 The content on this site may not be reproduced or redistributed without the express written permission of 
www.erpgreat.com or the content authors.