abapOpenChecks - Installation - Checks - Utilities - Links

CHECK_02 - EXIT or CHECK outside of loop

CODE

EXIT

Only use EXIT inside loops, use RETURN to end current processing block

See http://help.sap.com/abapdocu_702/en/abenleave_processing_blocks.htm

Note: this check is also part of SAP standard in “Extended Program Check” -> “Programming Guidelines”.

CHECK

See http://help.sap.com/abapdocu_702/en/abapcheck_processing_blocks.htm

Note: this check is also part of SAP standard in “Extended Program Check” -> “Programming Guidelines”.

Configuration

Configuration