Quantcast
Channel: SCN : All Content - About SCN
Viewing all articles
Browse latest Browse all 1117

Update attribute marketing with the answers of a survey

$
0
0

Hi,

I'm working in SAP CRM 730 and i should update the marketing attribute about a BP (person) with the answers about a survey used in an activity.

 

In details:

I created an activity survey (Z_TEST_SURVEY) with 4 questions and 4 possible answers (checkbox).

I gave them the following ID:

- for the questions: am_test_x with x = [1,2,3,4]

- for the aswers: answer_1, answer_2, answer_3, answer_4.

It will be possible to select multiple answers.

I activated the survey and set callback to PAI = "CRM_SVY_ACTIVITY_PAI"

 

After that, I created a new transaction and I associated it to the survey with "define determination for questionnaires: business activity"

With TX: crmm_rout_prof_char I created 4 attributes, one for every questions and I call them AM_TEST_x  with x = [1,2,3,4] like the questions, then I assigned to them 4 attribute values: ANSWER_1, ANSWER_2, ANSWER_3, ANSWER_4

 

With TX: crmd_prof_templ I created a set attribute (CRM_SURVEY_SET) for person and with these 4 attribute.

Then I added to a BP this set attribute in "Marketing attribute" tab folder and set the default value ANSWER_1 for every one.

 

When I create the activity in this BP and complete the survey, a new version of it is created but its marketing attributes are not updated with the values inserted.

 

Can someone help me?

 

Thanks

 


Viewing all articles
Browse latest Browse all 1117

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>