I have created one extension field on Business context “Product Master General” in tile “Custom Field and Logic” and publish it:

After that when I try to add it to Basic Data block of Product Master application, I could not find it in Available Fields list. As a result, I cannot add it to standard Fiori UI.

In order to resolve this issue, I need to first understand where do fields in “Available Fields” dialog come from and are rendered.
Through debugging, I find the field list are retrieved from property “customFieldAvailable” in SmartForm control.

The logic to fill this property is based on the attributes listed below:

  • BusinessContexts
  • EntityType
  • ServiceName
  • ServiceVersion

And the list in “Available Fields” dialog is bound to model data stored in variable mAvailableElements filled by method getAvailableElements in line 472 below.


Via the debugging below, I get to know that the prerequisite for an extension field to appear in “Available Field” list when “Add Field” button is clicked on Basic Data block is, it should be added as one of fields for data type “C_ProductType” in Product Master application’s OData metadata:

The solution is to add the field to Odata via button “Enable Usage”:

Once done, clear metadata cache in both gateway and backend system.

Relaunch the Fiori application, make sure you see the extension field in metadata:

After that the extension field is visible now in the list:

And it could be successfully added to Fiori UI now.

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

在S/4HANA扩展字段的Available Fields列表里,看不到自己创建的扩展字段该怎么办相关推荐

  1. Python中pandas检查dataframe中是否包含某个字段、或者数据列实战、检查dataframe中是否包含某个字段集合

    Python中pandas检查dataframe中是否包含某个字段.或者数据列(column)实战 目录 Python中pandas检查dataframe中是否包含某个字段.或者数据列(column) ...

  2. python wordpress自定义字段获取_WordPress 自定义字段(Custom Fields)详细介绍和使用...

    什么是 WordPress 自定义字段 Custom Fields 我们在使用 WordPress 撰写日志或者页面的时候,都会在编辑框下面看到自定义字段(Custom Fields),那么什么是自定 ...

  3. 对xxl-job进行simpleTrigger并动态创建任务扩展

    2019独角兽企业重金招聘Python工程师标准>>> 博文原址:对xxl-job进行simpleTrigger并动态创建任务扩展 业务场景 需求上要求能实现quartz的simpl ...

  4. mybatis plus 动态创建表和字段_mybatis-plus maven代码生成器

    前言 初次接触mybatis plus是17年末,当时的版本是2.0+,在那之前公司使用的mybatis框架是tk.mybatis,也是衍生于mybatis的一款扩展框架.当时拿mybatis plu ...

  5. 近年GDC服务器分享合集(一):在《黑道圣徒》的boss工厂中创建可扩展和吸引人的UGC

    为什么写作这个系列 GDC(Game Developers Conference)是游戏界最富盛名的开发者大会,每年有来自全球各地的顶级游戏开发者分享前沿的游戏设计.技术和运营经验. GDC上的技术分 ...

  6. Access sql语句创建表及字段类型

    创建一张空表: Sql="Create TABLE [表名]" 创建一张有字段的表: Sql="Create TABLE [表名]([字段名1] MEMO NOT NUL ...

  7. R语言dataframe获取每个字段(特征)的数据类型实战:使用sapply函数获取每个字段(特征)的数据类型、通过柱状图可视化特征的种类以及个数

    R语言dataframe获取每个字段(特征)的数据类型实战:使用sapply函数获取每个字段(特征)的数据类型.通过柱状图可视化特征的种类以及个数 目录

  8. sqlite3自增key设定(创建自增字段)

    在用sqlite设计表时,每个表都有一个自己的整形id值作为主键,其实可以不指定这么一个id值,sqlite内部本来就会为每个表加上一个 rowid,这个rowid可以当成一个隐含的字段使用,但是由s ...

  9. sql 拼接int类型的字段_SQL 基础教程—第一章:4. 表的创建

    第四节:表的创建 1.1 数据库的创建 创建表之前,需要先创建一个用来存储表的数据库,使用: create 比如我们要创建一个名称为 shop 的数据库,则 create database shop; ...

最新文章

  1. 华为自研编程语言「仓颉」火上热搜,已正式开启内测,成员辟谣:不是中文编程...
  2. LeetCode Unique Binary Search Trees(dp)
  3. 机器人演唱邓丽君是真的吗_体验官|炒菜机器人真的实用吗
  4. VS2010生成的文件在别的机器上运行提示“丢失MSVCR100D.dll”
  5. 低代码开发平台_如何挑选最适合你的低代码开发平台
  6. c语言 prototype_剖析JavaScript中的原型(Prototype)
  7. html_头部meta设置
  8. jquery + ashx + Json 操作数据
  9. 并查集路径压缩_并查集简单教学
  10. 【从线性回归到BP神经网络】第四部分:BP神经网络
  11. 记小米公司的一次「测试开发工程师」面试
  12. @submit.native.prevent作用
  13. Edge浏览器中使用IE浏览器网站
  14. 介绍5款非常棒的移动自动化测试工具
  15. 好的Python培训机构具备的条件
  16. openCV—converTo()用法
  17. 虫子满屏爬_三bug多线程示例程序浅析
  18. java.lang.IllegalStateException: Did you forget to call 'public void setup(LocalActivityManager acti
  19. Java中使用JCOM操作Word/Excel对象
  20. 第五章:3ds max UV展开和BP贴图绘制(上)

热门文章

  1. Spark入门实战系列--2.Spark编译与部署(下)--Spark编译安装
  2. Reference, List, and Completion of javascript
  3. 典型的简单权限分配系统方法介绍
  4. 从零写一个编译器(二):语法分析之前置知识
  5. 大型高性能网站的十项规则
  6. kotlin实现流读取
  7. python 之 XML的基本应用总结
  8. 《软件需求(第二版)》阅读笔记02
  9. ios7 uuid的获取方法
  10. Windows驱动开发技术详解笔记