conditional statements
if condition.
REPORT ZIF_PROGRAM.data var type i value 1.
if var = 1.
write:'hello this is if condition'.
endif.
if_else condition
REPORT ZIF_PROGRAM.
data var type i value 2.
if var = 1.
write:'hello this is if condition'.
else.
write:'hello this is else block'.
endif.
Comments
Post a Comment