Find EXIT or CHECK outside loops
exit_or_check
Description
Detects usages of EXIT or CHECK statements outside of loops. Use RETURN to leave procesing blocks instead.
Extended Information
https://help.sap.com/doc/abapdocu_latest_index_htm/latest/en-US/abenleave_processing_blocks.html
https://help.sap.com/doc/abapdocu_latest_index_htm/latest/en-US/abapcheck_processing_blocks.html
https://github.com/SAP/styleguides/blob/main/clean-abap/CleanABAP.md#check-vs-return