postman和SAP UI5应用发送同样的HTTP请求,为何前者成功,后者失败?
昨晚 Jerry 的技术交流群里,有一位 SAP 从业者提问: 哪位大神在NEO里建过FSM Data API的destination ?我在UI5里面call这个destination的时候 一直是400 bad request,错误信息是 missing [x-client-id, x-client-version],但是我在postman测试这个api的时候 一直是200 OK,哪位大
SAP UI渲染模式:客户端渲染 VS 服务器端渲染
今年由于疫情原因,SAP一年一度的DKOM(Developer Kick-Off Meeting)切换成了线上模式,刚刚于昨天圆满落幕。时间过得真快,去年的DKOM仿佛还历历在目:SAP成都研究院数字创新空间小伙伴们在2020 SAP上海DKOM.但是Jerry昨天没有太多时间去在线观看,只因为...... 我们团队昨天收到了一个优先级为VERY HIGH的客户incident:这个inciden
SAP UI5和Angular的函数防抖(Debounce)和函数节流(Throttle)实现原理介绍
这是Jerry 2021年的第 11 篇文章,也是汪子熙公众号总共第 282 篇原创文章。Jerry之前的文章 SAP UI5 OData谣言粉碎机:极短时间内发送两个Odata request, 前一个会自动被cancel掉吗,介绍过SAP成都研究院CRM Fiori开发团队开发过的一个Live Search的场景。用户创建Opportunity,维护Account字段,每输入一个字符
SAP UI5 谣言粉碎机:极短时间内发送两个Odata请求,前一个会自动被cancel掉吗
这是Jerry 2021年的第 9 篇文章,也是汪子熙公众号总共第 280 篇原创文章。本文Jerry原本写于2016年5月,当时发布于团队内部wiki.五年过后,Jerry使用的开发框架,从SAP UI5变成了Angular.最近Jerry在做SAP Spartacus开发时,遇到了和本文描述极为类似的场景。因为我学习新知识的时候,总喜欢把之前已经熟悉的知识拿来做横向类比,所以本文首先重温一个不
SAP UI5控件数据绑定的三种模式 - One Way, Two Way和OneTime实现原理比较
这是Jerry 2021年的第 8 篇文章,也是汪子熙公众号总共第 279 篇原创文章。系列目录(0) SAP UI5应用开发人员了解UI5框架代码的意义(1) SAP UI5 module懒加载机制(2) SAP UI5 控件渲染机制(3) HTML原生事件 VS SAP UI5 Semantic事件(4) SAP UI5控件元数据的元数据实现(
深入学习SAP UI5框架代码系列之五:SAP UI5控件的实例数据修改和读取逻辑
这是Jerry 2021年的第6篇文章,也是汪子熙公众号总共第277篇原创文章。系列目录(0) SAP UI5应用开发人员了解UI5框架代码的意义(1) SAP UI5 module懒加载机制(2) SAP UI5 控件渲染机制(3) HTML原生事件 VS SAP UI5 Semantic事件(4) SAP UI5控件元数据的元数据实现(5) S
深入学习SAP UI5框架代码系列之四:SAP UI5控件的元数据实现
这是Jerry 2021年的第5篇文章,也是汪子熙公众号总共第276篇原创文章。系列目录(0) SAP UI5应用开发人员了解UI5框架代码的意义(1) UI5 module懒加载机制(2) UI5 控件渲染机制(3) HTML原生事件 VS SAP UI5 Semantic事件(4) UI5控件元数据的元数据实现(本文)(5) UI5控件的实例数据实现细节(6) UI5控件数据绑定的实
漫谈SAP产品里页面上的Checkbox设计与实现系列之一
昨天是2020年的最后一天,我整天的时间,都在和两位欧洲同事一起处理一个SAP Spartacus UI里的Checkbox bug.处理完bug之后,很自然地回忆起了这么多年来,我经历过的不同SAP产品里的Checkbox的设计与实现。文章目录(1) SAP GUI里的Checkbox (2) SAP CRM里的Checkbox (3) SAP Cloud for Customer里的Check
SAP Fiori Launchpad tile里显示的数字的刷新间隔是在服务器端什么地方配置的
Created by Jerry Wang, last modified on Dec 16, 2014原标题:where is count server execution interval configured在Chrome network tab里能观察到周期性的Odata call:该时间间隔通过line 11480的参数n 传入,单位为秒:时间间隔来自OData model的servic
SAP UI5和Angular的事件处理机制比较
Recently I am studying Angular in my spare time. And I would like to write down here what I have learned about Angular, comparing its design with UI5. In this blog I will only focus on event handling
SAP Fiori Busy Dialog的设计原理
Recently in order to analyze one performance issue on my responsible CRM Fiori application, I was asked to research the behavior of the Flower-like animation as displayed below. Every time you click a
SAP Fiori应用发生超时错误的一个可能原因
Yesterday I spent almost the whole day to resolve a timeout issue in one CRM Fiori application “My Lead”. Finally the root cause makes me not know whether to launch or to cry. I share with you this st
SAP Fiori Elements应用里Back按钮的实现逻辑分析
One of my colleagues today asked me this question: Suppose this below is an application generated by Smart Template, and I would like to debug how the back button is implemented. Since the whole UI pa
SAP Fiori里的两种锁机制
Approach 1: ETAG mechanismThis approach is used in SAP CRM Fiori. Suppose user Jerry has opened a given opportunity with ID = 3456 and clicked the Edit button:A read operation is fired and sent to ABA
如何将自开发的SAP UI5应用以tile的方式配置到SAP Fiori Launchpad里
在SAP云平台WebIDE里新建一个UI5应用并本地运行通过后,在webapp文件夹下打开manifest.json文件,进入navigation区域,semantic object维护成data,action维护成display:Inbound tile的title维护成如下:为了将该应用部署到SAP Cloud Platform的Fiori Launchpad,还需要创建一个SAP Fiori
SAP UI5 Repository and MongoDB Repository
UI5 Repository从本地通过Eclipse team provider上传到ABAP gateway system的UI5应用,都会自动生成一个UI5RepositoryPathMapping.xml文件,里面记录的是debug version的脚本文件名称和路径的映射关系。manipulation utility:/UI5/CL_UI5_REP_PATH_MAPPERMongoDB r
Angular的scope. apply和CRM WebClient UI的modify方法
标题的两个方法作用相同。Angular在每一次Javascript代码执行序列执行结束后,Angular都去检查绑定的数据是否发生改变,通过调用scope.apply完成。scope. apply最后调用scope.digest()方法去更新bindings或者watchers。看个例子:关于scope.apply的工作细节,see my blog Compare Data Bindin
When should reread of cl_crm_bol_entity and $scope.$apply be called manually
CRMCRM interaction center call poll and Hybris backend office poolCRM Interaction center poll design and Hybris backofficeC4C打开C4C,即使什么都不干,也能观察到Chrome network里这些http请求:注意请求发起者是NotifierHelper。这些请求用来干什么
EventBus in SAP UI5 and Kyma
SAP UI5EventBus是一个小型的subscribe/publish模式实现,位于namespace sap.ui.core下面。subscribe:publish:消息订阅:消息发布:KymaKyma Event Bus receives Events from external solutions and triggers the business logic created with
SAP UI5应用访问OData metadata的url和Destination
在SAP WebIDE里随便创建一个新的Fiori应用,访问一个OData服务:直接在WebIDE里本地运行该Fiori应用,在Chrome开发者工具里把metadata请求的url抄下来:url如下:https://webidetesting3028490-i042416trial.dispatcher.hanatrial.ondemand.com/sap/opu/odata/iwbep/GWS