Ads

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

Popular posts from this blog

BADI Interview Questions in SAP ABAP

Sample SAP ABAP Programming Examples for Practice

Module Pool Programming Interview Questions and Answers in SAP ABAP

Step by Step tutorial on BDC Session Method Program in SAP ABAP

SAP ABAP Interview Questions and Answers for 10 Years Experienced