Pages

Friday, 6 September 2019

How to troubleshoot “Transaction recorded” errors in SM58?


This article answers following queries:

  • How to process entries with “Transaction recorded” status in SM58 of SAP?
  • How to troubleshoot “Transaction recorded” errors in SM58?
  • How to resolve tRFC calls not getting processed issue in SAP?
  • How to register a destination in SMQS?
  • What transaction is used to register a destination in SAP system?
  • How to activate scheduler in SAP system?


-----------------------------------------------------------------------------------------

Please login to SAP ABAP system. In SM58 transaction, sometimes, you may encounter few entries in “Transaction recorded” status as shown below.



To resolve this issue:

  • Please check if target system assigned for those entries is valid and functioning well. If it is not working, fix it
  • In SM58, Check if Target System assigned for those entries is registered or not on the outbound scheduler for tRFC processing. To check, please execute SMQS transaction code. It will display similar screen as below.



















In the above screen, please verify if respective “Destination” is present and whether the “Type” is R.

If we click on “Type” column of respective destination, it should display similar to below screen. Through this we can determine if this destination is registered or not for qRFC and tRFC.

















If “Type” column is set to R, it means this destination is already registered.
If that destination is either not present in SMQS listing or If “Type” column is not R for that destination, we need to register it.

To register a destination, in SMQS transaction, please click on “Registration” button as shown below and provide prompted details (Destination name, Max.conn, Max. Runtime etc) and click on tick icon to register that destination.




After registering destination, please process entries in SM58. If still you are facing issue, you can check if scheduler is active or not.

In SMQS transaction, if Scheduler status is “INACTIVE” as shown below, we have to activate it.


 

As shown in below screenshot, in SMQS transaction, navigate to Edit -> Activate Scheduler.

After this step, please make sure that Scheduler status is “Active”.












If above steps are performed, SM58 “Transaction Recorded” entries should get processed. Sometimes, if there are lot of entries and consuming lot of time to process entries, please perform below tasks:

As shown below, In SMQS transaction, navigate to Goto -> QRFC Resources












It will lead to below screen.

















In the above screen, please make sure there are sufficient number of dialog WPs available to process tRFC/qRFC entries. In the above screenshot, 37 dialogs are assigned to each host to handle tRFC/qRFC entries.
 
Please make sure that the Resource Status is OK as highlighted in above screen. If resource status Is not OK, you may have to do necessary adjustments so that workprocess distribution for various tasks is optimal.

Also, In SMQS transaction, please check value maintained for “Max.Conn” of that particular destination for which you are facing issue. If it is set too low, you can increase it further.


















To do this, select the destination in SMQS and click on “Registration” button. It will result in following screen.





















In the above screen, value 2 is maintained for “Max.Conn” which means that 2 workprocesses will process the entries for this destination. So, to speed up the processing, please increase the “Max.Conn” value so that more dialogs will process SM58 entries in parallel.

If all above troubleshooting steps are followed, “Transaction recorded” entries in SM58 can be processed.


No comments:

Post a Comment

Please provide your valuable feedback: