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

Problem with 'abap_true'

Former Member
0 Likes
5,640

Hi Friends,

I have developed 2 reports.In both the reports I am assigning <b>abap_true</b> to a varible.It's working in one program,but not in other. Can anybody answer me why is it so? .Type-Pools: ABAP is not used in both the programs.

Hi Friends,

I have developed 2 reports.In both the reports I am assigning <b>abap_true</b> to a varible.It's working in one program,but not in other. Can anybody answer me why is it so? .Type-Pools: ABAP is not used in both the programs.

2 REPLIES 2
Read only

Former Member
0 Likes
1,700

you need to use type pool

abap_true is defined in Type-Pools: ABAP so you need to

use it in both program

ABAP_TRUE is nothing bout value 'X'.

you can just give variable = 'X'.

ABAP_TRUE ='X'

ABAP_FALSE = ' '

Rewards if useful........

Minal Nampalliwar

Read only

rainer_hbenthal
Active Contributor
0 Likes
1,700

abap_true is definied in the tyepool abap. If you didnt include this in both programs, and one worked, this one defines this constant elsewhere. abap_true is not part of the abap language, it must be declared.