
This post explains how to customize survey (example taken for service request object) using the SAP standard functionality through CRM SURVEY SUITE.
More precisely, it indicates the customizing steps to send a mail form that includes a link to the survey.
Once completed the result of the survey will get back to the crm object.
Technical pre-requisite
1. Business fonction
Business function (SFW5) CRM_SHSVC must be activated
2. SICF
The following standard SICF must be active :
3. Connector ID
The survey functionality using http connection requires a connector ID that needs to be maintained for each environment desired. This is explained in OSS note 1734718 - Setup of Connector ID parameter in CRM survey suite .
Technical settings
Note the RFC destination that will be used later in the customizing.
CUSTOMIZING
1. Creating the survey in Crm_survey_suite
Go to transaction CRM_SURVEY_SUITE. (If a dump occurs, follow the instructions of note OSS 857535)
Create the survey needed in the folder desired (SERVICE for example):
Once the survey page is displayed, click SAVE. The following page appears :
Give a description of the survey:
Click on save: The survey is saved and can be customized as needed.
The survey can also be customized in the web_ui under the marketing business role.
2. Link the survey with the transaction type needed
Once the survey is created, you need to indicate to which transaction type it has to be linked. Follow the path:
Transaction SPRO >>Customer Relationship Management> Transactions > Settings for Service Requests > Questionnaires > Define Determination for Surveys in Service Requests
Click on ‘New entries’ and enter the following :
Déterm : 0
Description : Name of the survey given
Valide du : as required
Fin valid : as required
Type opér : Transaction type you want the survey to be linked to
Type pos : empty
ID : Id of the survey customized
3. Action profile
If you want to send the survey depending on conditions, you can create an action profile.
The method of the action needs to be set up to ESSC_SRV_SVY:
Click on edit and then on the 'glass' icon.
3 element need to be customized in the container:
In the Initial value tab, enter the ID of the mail form template used.
Save and enter the next element:
In the Initial value tab, enter the ID of the survey form created.
Save and enter the next element:
In the Initial value tab, enter the mail address that will be used to send the mailform.
Once all 3 elements are completed, the container looks like this:
Then, set up the conditions to execute the actions in dedicated customizing.
4. Create Mail Form
In order to send the URL link that will display the satisfaction survey, create a mail form in the marketing business role.
This mail form should have the ID that has been mentioned in the container previously.
Be aware that this mail form must contain the following words: Customer Satisfaction Survey
Indeed, it is those words that will be recognized by the method call mentioned in the action profile and will create the survey link composed by: the link of the survey + the GUID of the CRM object.
Thanks to the GUID of the CRM object, the result will automatically gets back to the object mentioned and will be visible in the object!!
5. Customizing of the inbound and outbound survey link
Go to transaction CRM_SURVEY_SUITE and click on the customized survey.
Click on Other functions/Options:
The following window appears and check the following boxes in the part ‘Data storage and Evaluation’:
In the part ‘Interface to Application’, complete the following:
In the part ‘Authorization’, tick the box: Publicly Available
In the Scenarios tab, tick the following:
6. HTTP customizing
Go to transaction CRM_SURVEY_SUITE and go to Survey Repository
Following page appears and in the Paramters XMLs folder, click on http.
This file will be used to create the survey link and publish it to the CRM server. Thus, it needs to be adapted to the server URL
Select this file and click on export in the navigation bar. Save it on a personal folder and then open it with an XML editor.
The following attributs need to be modify:
The following part needs to be complete: */sap/bc/bsp/sap/crm_svy_public/survey.htm ?cmd=svyResult »
The following part needs to be complete: */sap/bc/bsp/sap/crm_svy_public/survey.htm ?cmd=svyPresGet »
Save this document with a new name, like CRM_SVY_PARAM_HTTP_OK
Import the new file :
On the http folder, click on F7, the following page appears:
Fill in with the name of the new file created :
Click on the green tick and look up for the file in your personal folder.
When finished, the system will indicates that the file has been imported correctly:
7. HTTP customizing needs to be indicated in SPRO
Go to SPRO >Customer Relationship Management> Transactions > Settings for Service Requests > Questionnaires > Define URL for surveys
To set up the link that will be published in the server, enter the following:
Et :
==> Survey is now customized and is ready to be used!
In the transaction type, Questionnaires assignment block will display the survey.
When the mail form is sent, it will have the URL survey link. When the user clicks on 'Send' , the result will get back to this survey.
This will be indicated by a star (*) next to the survey ID => It means that the survey has been completed by a user.
More information
You can find more information about survey thanks to those nice and well documented wiki page:
- Survey Rendering in CRM WEB UI
- Survey processing without opening a connection to the CRM Backend from the Internet - CRM - SCN Wiki
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
2 | |
2 | |
2 | |
1 | |
1 | |
1 |