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 value 2.
if var 1.
 write:'hello this is if condition'.
else.
  write:'hello this is else block'.
endif.

Comments

Popular posts from this blog

bapi introduction

amdp

ABAP for all