Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

boolean

Former Member
0 Likes
424

How to declare a boolean variable

data : var1 type boolean default true

When var1 = True

When var1 = False

1 REPLY 1
Read only

Former Member
0 Likes
304

Hi,

What you declared is correct only.

data: v1 type boolean value abap_true.

case abap_true.

when abap_true.

-


-


when abap_false.

-


-


endcase.

I think it is useful for you.