Explain Control Statements?

Answer

Following control statements can be used - - If ... EndIf Loop

1
2
3
4
5
6
7
if [not] exp [ and / or [not] exp ].
........
[elseif exp.
.......]
[else.
.......]
Endif.

- Case statement

1
2
3
4
5
6
7
8
9
Case variable.
when value1.
.........
when value2.
.........
[ when others.
.........]
Endcase.
Do.

-While loop

1
 
1
While <logical expression>.
.....
.....
Endwhile.

- Do loop

1
 
1
Do <n> times.
.....
.....
Enddo.

All SAP ABAP Questions

Ask your interview questions on sap-abap

Write Your comment or Questions if you want the answers on sap-abap from sap-abap Experts
Name* :
Email Id* :
Mob no* :
Question
Or
Comment* :
 





Disclimer: PCDS.CO.IN not responsible for any content, information, data or any feature of website. If you are using this website then its your own responsibility to understand the content of the website

--------- Tutorials ---