Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Questionnaire in Leads Exporting and Modifying Answers


Would like to ask where all the survey answers for leads using CRM_SURVEY_SUITE are stored in CRM? I need to export the survey as a XML file with all the question IDs, answer IDs and the answers inside it.

Thanks ,


Former Member
Former Member replied


You wont see the answer selected ( i mean in TEXT).

Only the answers in free text are visible in free text.

Refer to an XML file pasted at the bottom. It also has a free text "I said NO" and other answers with select options

Every Answer is stored as an answer id. (refer XML string at the bottom)

The XML file consists of few tags like:

1. <ratingfactor> - this has all the Question Ids like <q1>, <id_cc2e550fd45cef4bb4fa023756979201>,

2. <rating> This has rating of all teh answers to a question. Here you can get Answer ids like

id_f64758d42e58064aa78cc7f5196c11c7 and id_6edd97df4c25bf4faf4675ec9ef4b0c5 for Question id q1

3. <result> - Thsi says the Answer id that is selected for a particular question







the above means, for Question with id 'q1', teh answer selected is answer with id = id_6edd97df4c25bf4faf4675ec9ef4b0c5

These ids can be found in DB tables:

CRM_SVY_RE_QUEST – Stores Questions and Q Texts and Question Ids

CRM_SVY_RE_ANSW – Stores Answer options to the questions above

CRM_SVY_RE_ALV – Actual values

===============XML STRING====================

<?xml version="1.0" ?>

- <survey>

- <ratingfactor>





- <rating>

- <q1>

<a1 rating="1">id_f64758d42e58064aa78cc7f5196c11c7</a1>

<a1 rating="0">id_6edd97df4c25bf4faf4675ec9ef4b0c5</a1>


- <id_cc2e550fd45cef4bb4fa023756979201>

<id_9acd6738d10c1948b66a4e43182cb0e1 rating="0" />


- <id_1bdcc619fcf08e44928d1a03e13be296>

<id_a64d7e90c40e1c48a8b0753c895b9458 rating="0">id_cc70518e930f294c8607f91b6b752e7b</id_a64d7e90c40e1c48a8b0753c895b9458>

<id_a64d7e90c40e1c48a8b0753c895b9458 rating="0">id_7713978a8c41724084f1515400f71e61</id_a64d7e90c40e1c48a8b0753c895b9458>



- <result>

- <q1>



- <id_cc2e550fd45cef4bb4fa023756979201>

<id_9acd6738d10c1948b66a4e43182cb0e1>I said NO</id_9acd6738d10c1948b66a4e43182cb0e1>


- <id_1bdcc619fcf08e44928d1a03e13be296>




<replaceables />

<hidden />

<readOnly />

<mandatory />

<noDisplay />

<addItems />

<script />

<onEvent />


===============END OF XML STRING====================

Kindly reward with points in case helpful


0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question