cancel
Showing results for 
Search instead for 
Did you mean: 

xsd boolean and ABAP Proxy

Former Member
0 Kudos

Hi,

I used in my Service Interface a field with the definitial xsd:boolean.

When I generate a proxy an ABAP datatype XSDBOOLEAN is used defining this field.

When I put a value X (= true) in this field and send it to PI the field is populated in SXMB_MONI with "false".

Does anybody know why this is happening? I expected the falue true!

Thanks for any help.

Ron

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Changed it to string.

There was also a interference with the extended xml handling in the proxy.

Former Member
0 Kudos

Hi,

I have usually created fields of type string, when an ABAP proxy is to be generated of it, because there have been issues in making it compatible with the ABAP data types in the code.

Regards,

Manjusha

sumesh_k2
Participant
0 Kudos

Hi,

I am not sure. But can you check by passing 'TRUE' or '1'.

Former Member
0 Kudos

Hi,

Value 1 is responding in the same erroneous way. Value True is too long for a char1 field.

Still looking for a solution.

Best regards

Ron

VijayKonam
Active Contributor
0 Kudos

Boolean only supports 1 (true) and 0 (false) values. X is as good as 0 for it.

VJ