Ansicht
Dokumentation

( RELNCRM_31_SURVEY_DYNAMI )

( RELNCRM_31_SURVEY_DYNAMI )

TXBHW - Original Tax Base Amount in Local Currency   General Material Data  
This documentation is copyright by SAP AG.
SAP E-Book

Short text

Dynamic Components in Surveys (changed)

Use

As of Release 3.1, you can personalize and modify surveys with more flexibility. For example, you can add a personal greeting text for individual customers, such as "Hello Mr. Smith", or you can check that mandatory entires are made. The following dynamic components are now available:

  • Term replacement

You can personalize surveys by adding a greeting text and the name of the recipient, for example, "Hello Mr. Smith".

  • Add hidden fields

You can add hidden fields to identify surveys in stateless scenarios (that is, when there is no connection to an application server while the survey is being processed), for example Internet scenarios and mailing actions. Specific information, such as the name of the survey or the recipient (for example, business partner) is not visible in the browser during processing, but only in the HTML source. This enables the sender to quickly identify which survey was sent to whom on receiving the results.

  • Set fields without display

If more than one person processes the same survey, you can hide certain question fields. For example, the customer may fill out the first section of the survey, and a sales representative may fill out the second section, with reference to the customer's answers. The customer is not allowed to see what happens with his survey in post-processing, and so the fields for the sales representative are hidden to the customer.

  • Set fields read only

As in the previous example, if more than one person processes different sections of the same survey, such as a customer and later a sales representative, the sales representative can only read the customer's answers, and cannot change them.

  • Set fields mandatory

This can be used to check that the minimum requirements have been fulfilled, for example, when filling out a form in which personal data such as name, address, telephone number is required.

  • Set values

You can set default values for specific answer fields depending on the target group. For example, you have created a survey to evaluate a certain product and your main target group works in Information Technology. One of the questions in the survey refers to their jobs, in which case you may wish to set Information Technology as the default answer.

  • Set answer options

You can insert answer options which can change according to the target group or other variables, such as top n products.

  • Merge Javascript

Scripting can be used to check that appropriate data has been entered, for example, currency, postal code, e-mail address or telephone number. For example, if the user is asked to enter his postal code and he enters "ABCDEFG", a dialog box appears, prompting him to enter both figures and letters. This avoids inappropriate data being stored on Web sites, databases and tables.

Note
If you write your own Scripting, you are responsible for checking for errors, for example, you should check that the syntax is correct.

Effects on Existing Data

Effects on Data Transfer

An example of dynamic components is available in the example survey EXAMPLE_DYNAMIC_SURVEY under application CRM_SURVEY_CORE.

You can view the example for dynamic components in survey EXAMPLE_DYNAMIC_SURVEY in function module CRM_SVY_EXAMPLE_DYNAMIC_PBO.

You can specify the customer exit from the Survey Suite or Survey Builder. To do so, select the required survey and choose the Maintain Survey Attributes icon. A dialog box for survey attribute maintenance appears. Choose the required customer exit under the Technical Settings tab page in the Interface to Applicationfield.

If you wish to implement dynamic components for other surveys, you can refer to class CL_CRM_SVY_VALUE in package CRM_SVY_RUNTIME under Basis Tools → ABAP Workbench → Overview → Object Navigatorfrom the SAP Easy Access menu (transaction se80).

Effects on System Administration

Effects on Customizing

Further Information






PERFORM Short Reference   Vendor Master (General Section)  
This documentation is copyright by SAP AG.

Length: 4799 Date: 20240603 Time: 102421     sap01-206 ( 98 ms )