Supported by
Supported by Inetum

Where is the boolean?

images/thumbnail.jpg - Thumbnail

It’s not.

But they - the people who make and remake the ABAP itself - are trying to mend this unfortunate situation.

Look at this new functionality:

You used to have to do this:

IF value = 3.
  flag = abap_true.
ELSE.
  flag = abap_false.
ENDIF.

Now you can do it like this:

flag = BOOLC( value = 3 ).

;-)

Greetings from Abapinho.