What is the difference between CHECK & IF statement in SAP ABAP?

CHECK :

If the condition fails, it simply ignores the remaining lines and exit out of the module where the CHECK command exists. It has only two options for processing true or false.

IF :

It is a kind of modularization technique, it means we can do different actions depending on the condition. Here only the condition is visible inside the IF..Endif structure.

Leave a Comment