The SAP tcode SMQ2 is used for:
qRFC (Inbound Queue) Monitoring
SMQ2 allows you to monitor and manage inbound qRFC queues, which are used for reliable, queued data transfer between SAP systems or between an SAP system and an external system.
Typical use cases:
Monitor errors or stuck queues in ALE/IDoc processing
Troubleshoot integration with systems like EWM, SCM, or CRM
Restart or delete problematic queues