How to check and hide SAP IDOC entries in tRFC Queue in BD87 ?

SAP IDOC entries in tRFC Queue in BD87 is very common error in ABAP Developper’s life. Find following why this errors occurs and how to investigate and find the solution to deblock the SAP IDocs.

IDOC entries in tRFC Queue Source

Nothing better than a screenshot to illustrate the issue. Increasing numbers of Idocs getting stucked in SAP Tcode BD87 ( for ALE IDoc Monitoring).
The status is ‘IDoc entries in tRFC queue’. Meanwhile, there is no trace for IDocs even in SAP IDOC Master Table EDIDC.

IDOC entries in tRFC Queue

The IDocs with this issues are shown even if you apply a filter. It should some “feature” to display important errors for RFC communication.

Hide SAP IDoc entries in tRFC Queue

If your SAP System under 5, it will be harsh to hide Red IDoc entries in tRFC queue within transaction BD87.

One solution could be to play with authorization

AUTHORITY-CHECK OBJECT ‘S_ADMI_FCD’.
Objekt: S_ADMI_FCD

If you have a quite newer system ( for example, SAP ECC 6.0 with SAP BASIS 700), you should have an option in BD87 selection screen to not display them.

IDOC entries in tRFC Queue Investigation

Check the RFC Queue with SM58

Launch the SAP Tcode/ Transaction SM58. An alterantive way is to run the SAP Report RSARFCRD in SE38.

Check if there is any errors in RFC Queue. Investigate the Status Message. the issue could be a system out or an ABAP dump somewhere.

SM58_ RFC Queue

It is possible to run Delete a blocked entries ( some authorizations must be assigned ). Often, you can delete your own blocked message in the SAP RFC queue.

Check Registration of Destinations with SMQS

By Destination, check the TRFC Monitor and QRFC Monitor at SMQS Tcode.
You will have more information than the first Transaction.

You can also check if the RFC is obsolete and it should be good to delete.

Check SAP qRFC and SAP tRFC tables

[BASIS NEEDED]
Check the following SAP Tables storing the tRFC and the qRFC calls

Table Description
ARFCRSTATE Status of ARFC Calls on Receiver Side
ARFCSDATA ARFC Call Data (Callers)
ARFCSSTATE Description of ARFC Call Status (Send)
TRFCQDATA qRFC Call Data (Inbound Queue)
TRFCQIN tRFC Queue Description (Inbound Queue)
TRFCQOUT tRFC Queue Description (Outbound Queue)
TRFCQSTATE Description of qRFC Call Conditions (Inbound Queue)

 

More information about 

Sab125

Hi. I have been working as SAP Technical and functional for a decade. Through this blog, I am trying to share with you my experience. Hopefull, it makes your ways easier path ...Sab

Leave a Reply

Your email address will not be published. Required fields are marked *