• SAP CRM Application Extension Tool类型为Code List的扩展字段实现原理


    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.

    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:

    It has a text table accordingly:

    And fill some value into this check table:

    Please notice that there are some prerequisites which a given check table must fulfill if it is expected to work as the datasource of a Code List extension field.
    You can find the prerequisite below:

    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”:

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

    When the extension field is saved, the code description is displayed in the WebUI,

    while in the backend table CRM_EXT_MAT, the code value is saved.

    We can use tcode AXTSHOW to inspect the metadata for this extension field. Specify extension field name and execute:

    Our assigned check table could be found here:

    This assignment relationship is maintained in table AXT_EXT_PART_DTL:


    要获取更多Jerry的原创文章,请关注公众号"汪子熙":

  • 相关阅读:
    js:数据结构笔记13--检索算法
    ember.js:使用笔记9 开始单元测试
    js:数据结构笔记12--排序算法(2)
    js:数据结构笔记11--排序算法(1)
    js:数据结构笔记10--图和图算法
    js:数据结构笔记9--二叉树
    js:数据结构笔记8--集合
    js:数据结构笔记7--哈希表
    js:数据结构笔记6--字典
    js:数据结构笔记5--链表
  • 原文地址:https://www.cnblogs.com/sap-jerry/p/13607493.html
Copyright © 2020-2023  润新知