Skip to main content

SAP ABAP Decisions

Decision making structures have one or more conditions to be evaluated or tested by the program, along with a statement or statements that are to be executed, if the condition is determined to be true, and optionally, other statements to be executed, if the condition is determined to be false.
Following is the general form of a typical decision-making structure found in most of the programming languages −
Decision Making
ABAP programming language provides the following types of decision-making statements.
S.No.Statement & Description
1IF Statement
An IF statement consists of a logical expression followed by one or more statements.
2IF.. Else Statement
An IF statement can be followed by an optional ELSE statement that executes when the expression is false.
3Nested IF Statement
You may use one IF or ELSEIF statement inside another IF or ELSEIF statement.
4CASE Control Statement
CASE statement is used when we need to compare two or more fields or variables.


Click Here to join our whatsapp group

Join our Telegram channel

Popular posts from this blog