如何修改SAP UI5本地库文件
You meet with issues when you send odata request to backend:
You observe in the local version js file, line 1655, the sUrl population logic is wrong:
the check against length is missing.
In another version of the same file, the expected check logic is there.
You would like to make changes on the local js file.
Step1: find out the jar file name which contains the js file you want to change and also the local path of the jar file in Network tab:
jar file: com.sap.ui5.core_1.24.1.jar
Step2: extract the .jar file, make local changes there:
Step3: re-pack the whole extracted folder via jar command below:
Step4: replace the old jar file with the jar file generated in step3:
C:\myProgram\sapui5-ide-kepler-win32.win32.x86_64\plugins
Relaunch tomcat and the modified source code of .jar file will be loaded.
要获取更多Jerry的原创文章,请关注公众号"汪子熙":
相关文章
- SAP UI5 sap.ui.core.Element 的概要介绍
- 使用 SAP UI5 sap.ui.export.Spreadsheet API 进行 Excel 导出的一些限制
- SAP UI5 加载本地并不存在的 PDF 文件的错误处理
- SAP UI5 应用 manifest.json 文件里 Routes 数组元素的相对顺序,不可忽视的试读版
- SAP MM Output Procedure中条件类型里的Requirement是在哪里定义的?
- SAP UI5 sap.m.Table 实现响应式布局的两种配置模式
- SAP 标准Excel解析函数改进详解编程语言
- SAP-Dialog详解编程语言
- 更改SAP的字段翻译详解编程语言
- SAP播放本地视频及音频(仅限于window MediaPlayer可播放文件)详解编程语言
- SAP选择屏幕字段设为单值还是区间详解编程语言
- 用SAP浏览网页详解编程语言
- SAP 摘录数据集详解编程语言
- [SAP ABAP开发技术总结]搜索帮助Search Help (F4)详解编程语言
- Get IP address of the user in SAP ABAP详解编程语言
- ABAP写数据到SAP服务器文件并读取详解编程语言
- SAP PP常用表详解编程语言
- SAP 已经Release(释放)的传输请求(TR)重新传输-SE03详解编程语言
- 对比SAP VS Oracle: 哪个更适合你?(sap与oracle)
- 对比:Oracle 与 SAP的优势(oracle 与 sap)
- 数据库解决方案如何使用SAP创建Redis数据库(sap怎么创建redis)
- 缓存使用SAP创建Redis缓存,实现高效稳定加速(sap如何创建redis)
- 展望未来Oracle与SAP的合作结盟前景(oracle、sap)
- 使用Oracle与SAP进行数据接口开发(oracle sap接口)
- Oracle 与 SAP深度对比分析(oracle sap对比)