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

Query

Former Member
0 Likes
368

Hi all,

Can anyone please tell me to what object type does the Attribute Name 'ABAP_BOOLEAN' belong . Also , please tell me how to view 'ABAP_BOOLEAN'.

Kindly reply as fast as possible.

Regards,

Vijay

2 REPLIES 2
Read only

suresh_datti
Active Contributor
0 Likes
333

it is like a switch & the variable value will be 'X' for true & space for false.

~Suresh

Read only

Clemenss
Active Contributor
0 Likes
333

Hi Balasubramanian Vijay,

ABAP does not know boolean variables as other programming languages do.

The type ABAP_BOOLEAN is just a character of length 1. X should be interpreted as TRUE and space as false.

But this is not always the case. For screen attributes like 'active' they use 1 for TRUE and 0 for false. I remember the type ABAP_BOOLEAN is defined as '-' for unknown

Regards,

Clemens