Skip to Content
Dec 17, 2020 at 12:06 PM

How to set string to xsdany


I'm calling external Web Service (based on WSDL) that is requiring parameters with type XSDANY. When I just set string in the code lie lv_parameter = '123', I receive error SOAP 1001. CX_XSDANY_PARSE_ERROR:XSLT exception.An error occurred during serialization in the simple transformation program /1SAI/SAS15F88B1CCB56CB3DB91A.The error 'unexpected end of string' ocurred when parsing an XML fragment.

How should I set the parameter and what type it should be - string, xstring ...