Control Statements and Logical Operators in SAP ABAP
Control Statements and Logical Operators in SAP ABAP
Control Statements
Following control statements can be used - - If ... EndIf Loop
if [not] exp [ and / or [not] exp ].
........
[elseif exp.
.......]
[else.
.......]
Endif.
Case statement
Case variable.
when value1.
.........
when value2.
.........
[ when others.
.........]
Endcase.
Do.
While loop
While <logical expression>.
.....
.....
Endwhile.
- Do loop
Do <n> times.
.....
.....
Enddo.
Logical Operator
A list of logical operators
GE or >=
GT or >
LE or <=
LT or <
EQ or =
NE or <>
Comments
Post a Comment