// ]]>

Tuesday, 28 January 2014

How to check RFC related errors

How to check RFC related errors

Transactional RFC related checks and maintenance can be done using SM58 transaction code
Sometimes, in real time scenario you can face following issues :
i)  Process chain related performance issues in BIW system due to transactional RFCs stuck in R3 system.
ii)  Idocs flow not happening from R/3 to XI system
In these scenarios, SM58 transaction code will be useful to find out stuck tRFCs and action them accordingly.
Please login into SAP system and use SM58 as shown below :

Using  SM58, we can select TRFCs based on
i)  Any  2 dates
ii)  User id
iii)  Function of TRFC
iv)  TRFC Destination
v)   TRFC Status
If you would like to list all, then use * as input in these fields

In the following screen, you can see the list of TRFCs that are waiting to be processed or stuck tRFCs as shown below

We can delete or re-process these LUWs based on the scenario. This can be done by navigating to Edit menu as shown below

You can reprocess an tRFC  LUW, by selecting the same and  by navigating to Edit -> Execute LUW. This can also be done by  pressing F6 button.
An LUW can also be debugged by navigating to Edit -> Debug LUW option
In case large number of tRFCs are stuck, all of them can be processed at a time by selecting
Edit -> Execute LUWs option as shown in the above screen.
You can also directly goto QRFC administration and QOUT scheduler from  SM58 transaction  as shown in the below screen.