Skip to Content

Read a C4C Survey in SAP CRM using Web Service Query Survey => Parsing the XML problem !

Dear experts,

My scenario is as follows:

C4C connected to SAP CRM OnPremise system.

1) I need to query a completed survey from SAP C4C system into SAP CRM system to retrieve the answers submitted.

2) These answers then to be used in a CRM process.

For this, I thought to use the QuerySurveys web service which I will be calling from SAP CRM Program.

When checking this service in SOAP UI , I am not happy with the response as it has Binary XML representation.

See the picture below ->

I know CRM ABAP classes and functions that can convert an XML into Internal table.

However, I don't know how to parse this XMLRepresentation Binary Object so that I can read the data in ABAP.

Can anyone hint me ?

Also can someone please confirm if XML Representation Binary Object data means XSTRING ?

Many thanks in advance.



response.jpg (152.6 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Mar 15, 2017 at 06:35 PM


    Can you please try reuse Library 'Binary'?


    Though I haven't used it but you can give it a try if it can resolve your issue?



    Add comment
    10|10000 characters needed characters exceeded

    • Thanks Saurabh.

      After consuming the service using SOAMANAGER, I am automatically getting this strange response converted into XSTRING :-) Now XTRING to ABAP itab is very easy.

      This is solved.

      Many thanks for your time.