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

xsdboolean

Former Member
0 Likes
880

Hello,

I have a problem with the data type xsdboolean. I want to invoke a consumer proxy where this data type is part of the interface.

When i set the value on 'X' for true everythings works fine, but i don't know how to set the value for false. the range tab says X for true and Space for false, but that doesnt work...

regards Thomas

3 REPLIES 3
Read only

Former Member
0 Likes
634

Hi Thomas,

try this:


TYPE-POOLS: abap.
DATA: var TYPE xsdboolean.
var = abap_false.

Regards

Markus

Read only

0 Likes
634

Thanks for your answer but it doesnt help.

I even tried to activate the extended_xml_handling. Therefore i inserted a line in the Controller Table,

When i set the value on:

'1' (=initial value) i get an answer, but the initial value is 'true'

'2' (=xsi:nil) i get error back, that the field has to be filled with an value (the same as when i set directly to abap_false).

has anybody an idea how to solve my problem?

Read only

0 Likes
634

For this case you have to change settings in data structures generated by client proxy!