2008 Apr 11 8:24 PM
Gentlemans!!
I'm wondering if the boolean type data exists in Abap Object and if it used when we define methods.
I used to use it in C++ and Java and I still don't know if this it's used or even exists in Abap Objects.
Thanks for your help.
Regards,
Polak.
Gentlemans!!
I'm wondering if the boolean type data exists in Abap Object and if it used when we define methods.
I used to use it in C++ and Java and I still don't know if this it's used or even exists in Abap Objects.
Thanks for your help.
Regards,
Polak.
2008 Apr 11 8:50 PM
Hello,
The boolean type don't exist in ABAP.
In ABAP we used to refer to the type-pool ABAP where exists a type ABAP_BOOL (character length 1) where X = true and space = false. To refer to these values there are two constants: ABAP_TRUE and ABAP_FALSE.
To access the type-pool use the transaction SE11 select Type Group and enter ABAP.
Regards,
2008 Apr 13 10:29 AM
While there's various implementations of boolean, as indicated in the previous answer, sadly there's no
IF me->check_something( ).
ENDIF.
We have to use something like
IF me->check_something( ) IS INITIAL:.
ENDIF:
matt