Following is the general form of a typical decision-making structure found in most of the programming languages
ABAP programming language provides the following types of decision-making statements.
S.No | Statement & Description |
1 | IF Statement An IF statement consists of a logical expression followed by one or more statements. |
2 | IF.. Else Statement An IF statement can be followed by an optional ELSE statement that executes when the expression is false. |
3 | Nested IF Statement You may use one IF or ELSEIF statement inside another IF or ELSEIF statement. |
4 | CASE Control Statement CASE statement is used when we need to compare two or more fields or variables. |
No comments:
Post a Comment