使用SAP CRM AET工具创建类型为下拉列表的扩展字段

When you create extension field via Application Extension Tool, it seems the code list ( or drop down list ) is not supported by this tool. This type does not appear in supported data type list.

使用SAP CRM AET工具创建类型为下拉列表的扩展字段

In fact the requirement to create an extension field with type Code List is still feasible. The entries in code list in this approach are fed by check table so we have to create a check table first.
I have the following check table:

使用SAP CRM AET工具创建类型为下拉列表的扩展字段

It has a text table accordingly:

使用SAP CRM AET工具创建类型为下拉列表的扩展字段

And fill some value into this check table:

使用SAP CRM AET工具创建类型为下拉列表的扩展字段

Once the check table is ready, you can check extension field and assign this table to it.
The attribute “Render/Validate As” must be set as “Show checktable as DDLB”:

使用SAP CRM AET工具创建类型为下拉列表的扩展字段

In the runtime the extension field “JVM Type” works as below:

使用SAP CRM AET工具创建类型为下拉列表的扩展字段
使用SAP CRM AET工具创建类型为下拉列表的扩展字段

要获取更多Jerry的原创文章,请关注公众号"汪子熙":
使用SAP CRM AET工具创建类型为下拉列表的扩展字段