I was once confused about why I could see “Contact Support” button in error popup window in some system but in some other system it is gone. See the following two groups of screenshot for example:


Group one: no “Contact Support” button


Group two: “Contact Support” button available

This blogs contains my debugging detail to figure out what controls the availability of this button.

When Fiori launchpad is opened there is one http request below which asks for a series of configuration information from backend. Among them there is Contact Support enablement setting.

https://:/sap/bc/ui2/start_up?sap-language=EN&sap-client=001&shellType=FLP&depth=0
The visibility of this button is controlled in the backend. You can create your own BAdI implementation on enhancement spot /UI2/BADI_EMB_SUPP to use your own logic to determine the button display. More detail about this enhancement spot could be found in note 2111116 – Enable own support-message-system for Fiori Embedded Support. You can refer to below screenshot about how the BAdI implementation is called in the runtime.

Then you could observe the response in Chrome. The corresponding field is “isEmbReportingActive“.

Search the source code by specifying it as keyword, then I find the place of code where this flag is evaluated:

In line 2801, the json response is parsed by framework:

Here I find what I am looking for. The “Contact Support” button is enabled only both of the two prerequisites are fulfilled:

(1) the enabled field of sap-ushell-config.services.SupportTicket.config should NOT be false. It is ok to have it as undefined, as example below.

(2) The value of isEmbReportingActive returned by mentioned BAdI implementation must be true.

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

SAP Fiori里Contact Support的按钮渲染逻辑相关推荐

  1. SAP Fiori Launchpad Contact Support的按钮启用逻辑

    Created by Wang, Jerry, last modified on Oct 27, 2015 副标题:Contact support button enablement logic sa ...

  2. SAP Fiori里的Adapt UI按钮,神出鬼没的奥秘

    今天是2020年2月2日鼠年大年初九,这是Jerry鼠年的第9篇文章,也是汪子熙公众号总共第208篇原创文章. 这几天大家在家一日游的感觉如何? 工作中Jerry的同事曾经问过我一个问题,Fiori界 ...

  3. SAP Fiori Lead应用中Accept按钮显示隐藏的逻辑

    SAP Fiori应用里有的细节,有时候有点让人疑惑. 比如有的Lead明细页面打开之后, footerbar区域只有Edit和Followup两个按钮: 而有的Lead页面, 同样位置的区域,有Ac ...

  4. SAP Fiori Elements List Report 列表宽度决定逻辑的单步调试

    注:本文需要结合这篇文章 SAP Fiori Elements List Report Smart Table 列项目宽度计算的奥妙 来阅读. 执行上下文:SmartTable.prototype._ ...

  5. SAP Fiori里的List是如何做到懒加载Lazy load的

    今天一同事问我这个问题:S/4HANA Fiori应用里的列表,一旦Scroll到底部就会自动向后台发起新的请求把更多的数据读取到前台显示. 以Product Master这个应用为例,我点击搜索之后 ...

  6. SAP Fiori里两种锁机制(lock)的实现

    其实标题有点不够准确,ETAG 从严格意义上讲并不是用来锁住一个资源,而是用来避免同一个资源同时被更新造成的彼此覆盖的问题(mid-air collisions). 方法1: ETAG 机制 SAP ...

  7. SAP Fiori里的manifest.json

    Created by Wang, Jerry, last modified on Nov 13, 2015

  8. SAP Fiori Launchpad shell.handleGoHome() - home按钮的实现

    Created by Wang, Jerry, last modified on Oct 19, 2015

  9. CRM WebClient UI里product search上下文节点渲染逻辑

    How attribute list in product search context node rendered in Workbench 要获取更多Jerry的原创文章,请关注公众号" ...

最新文章

  1. 【Android NDK 开发】JNI 引用 ( 全局引用 | NewGlobalRef | DeleteGlobalRef )
  2. 神策数据桑文锋:让销售回归科学
  3. 科大星云诗社动态20201211
  4. 深入浅出 Java CMS 学习笔记
  5. centos6 yum快速安装mysql_centos6.10 yum安装mysql 5.6-Go语言中文社区
  6. V神已抵京,倒计时4天!6大理由告诉你为什么要参加“2019以太坊技术及应用大会”...
  7. 网站的安全登录认证设计
  8. MySQL 添加列 修改列 删除列
  9. HttpServletRequest小结
  10. Unicode字符需要几个字节来存储?
  11. Jmeter安装教程
  12. github:配置ssh密钥
  13. 浪潮之巅--摩托罗拉
  14. Java程序设计——随机点名器
  15. 屏幕录制编辑软件:Screenium 3 for Mac
  16. 50行代码教你打造一个公众号文章采集器
  17. Android手机基本教程
  18. C++ Qt获取windows任务栏的位置及高度
  19. 【深度好文】香港富豪卧底贫民窟:“你没出息,是因为不努力”害了多少程序员
  20. 鲸探发布点评:8月4日发售宁乡北峰滩兽面纹大铙、陶球数字藏品

热门文章

  1. Linux:环境变量
  2. servlet会话技术
  3. sharepoint简单说明
  4. 【转】QT中添加的资源文件qrc时的路径问题小结
  5. 129. Sum Root to Leaf Numbers
  6. 十三、Tomcat的WebSocket支持
  7. MongoDB的查询操作
  8. Atitit 插件机制原理与设计微内核 c# java 的实现attilax总结
  9. CheckedComboBoxEdit 重置初始化值的方法
  10. WriteFile写磁盘扇区是87错误的原因