cancel
Showing results for 
Search instead for 
Did you mean: 

"The string ' ' is not a valid Boolean value".

Former Member
0 Kudos

All,

I am trying to consume a webservice from teh ES workplace. I used

Ingo Sauerzapf's document "How to consume ES webservices with Microsoft Visual Studio" and loved it. It was a great starting point. prior to this I had struggled through consuming an ES webservice with issues like deserialization etc. But after reviewing the article/blog/document - I was able to solve many of my problems instantly.

However, I have an unresolved issue dealing with "Boolean" values.

I am getting

" the string ' ' is not a valid Boolean value"

error in my code. When I try to consume this with ABAP editor I do not have a problem. Upon further investigation I see that within SAP we have the Data Domain for boolean as 'XSDBOOLEAN' with values "X-True and ' '-False". How do I resolve this with MS Visual Studio because we only have data type "BOOL" ?

Thanks for your help in advance.

Naresh.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Did you Solve this ? I have the same issue

Former Member
0 Kudos

Note 1260725 - Indicator, Boolean, value not mapped for DMS Read Service

0 Kudos

I also have this issue, but the OSS note includes classes that are not in our system.  I have the boolean set to CHAR(5), but it will not allow 'False'  as a boolean value.

Former Member
0 Kudos

SAP came back with a Note :

Note 1260725 - Indicator, Boolean, value not mapped for DMS Read Service