2007 Nov 02 6:36 AM
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.
2007 Nov 02 6:40 AM
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
2007 Nov 02 6:45 AM
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.
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |