Skip to Content
author's profile photo Former Member
Former Member

Use of Boolean in Abap Object

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.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Apr 11, 2008 at 07: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,

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.