如何使用 SAP CRM Marketing Survey 创建一个市场问卷调查

使用事务码 CRM_SURVEY_SUITE 进行编辑。选中 Activities 这个应用类型,点击新建按钮:

双击 Survey 的根节点,点击编辑按钮维护 Suvey 的标题:

Survey 的正文布局类型(Layout)我选择了列表 List:

这个 List 包含了两个元素:
1. Are you able to program with ABAP?
2. Are you able to program with Java?

客户怎样回答这个问题呢?我选择的是通过 Checkbox 的方式回答。

提交按钮采用 SAP 系统默认实现。最终生成的 Survey 模板如下图所示:

下一步需要为这个新建的 Survey(调查问卷)创建一个外部可访问的 url。点击 Generate Url 按钮:

维护如下属性,点击 Generate URL 后,生成对应 URL。

将该 url 发送给用户,就可以填写调查问卷了。

看这个名为 Jerry's Programming Skill 的 survey,只有两个问题。

以第一个问题 Are you able to work with ABAP?为例,使用菜单 Goto->Switch Between HTML <-> XML Display 显示该 Survey 的 XML 源代码:

最核心的有三部分:
1. QuestionId: 问题编号 question1
对应如下区域:

2. AnswerId:问题回答的占位区域 - place holder, answer1_placeholder.
对应如下 name 属性的值:

3. Answer value:问题的具体回答,对应如下区域的 value 属性。

可以在 Goto->Expert Mode 里修改 XML 标签的属性:

默认生成的 id 都为 GUID,可读性很差,可以在此处修改成可读性更好的 ID。

版权声明: 本文为 InfoQ 作者【Jerry Wang】的原创文章。
原文链接:【http://xie.infoq.cn/article/40494040a670b5d61b00cc24e】。文章转载请联系作者。
评论