You can use the Diagnosis environment on the transaction SM12 to
To use this feature call SM12 and go to Error handling > Diagnosis environment or enter DUDEL in OK-CODE field. If this option is not available on the current SPS level of your release, download and configure the report Z_ENQUEUE_PERF from SAP note 1320810.
- Check the configuration of enqueue function
- Perform tests to evaluate known possible bottlenecks and
- Perform tests for known issues