let say we have s insurance xml data as a response of a web service and we want to expose this data as a complex structure data type to deal with it in SAP (the same like DOM parser in other programming languages) the xml data as below <?xml version="1.0" encoding="utf-8"?> <RequestResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Response> <TreatmentBasis>1</TreatmentBasis> <TreatmentClassification>1</TreatmentClassification> <MemberDetails> <Tag> <ID>1</ID> <Label>DOB</Label> <Value>05-Jun-2011</Value> <Type>Date</Type> </Tag> <Tag> <ID>2</ID> <Label>Gender</Label> <Value>Female</Value> <Type>Text</Type>