*&---------------------------------------------------------------------*
*& Report Z8
*&
*&---------------------------------------------------------------------*
*&
*&
*&---------------------------------------------------------------------*
REPORT Z8.
DATA result TYPE i.
result = 10.
IF result = 0.
WRITE 'false'.
ELSE.
WRITE 'true'.
ENDIF.
CASE result.
WHEN 0.
WRITE '000'.
WHEN 1.
WRITE '111'.
WHEN OTHERS.
WRITE '222'.
ENDCASE.