SAP CDS view查询的fixed limit
When I use the fixed limit – I hard coded 100 – in the code, the performance in ABAP becomes equal in HANA studio – 2 seconds to finish the query.
[外链图片转存失败(img-QdnMafdc-1563690178506)(https://user-images.githubusercontent.com/5669954/32707987-8472f43c-c862-11e7-8060-dd4e9fdfa6b5.png)]
However in CRM WebUI, this limit is specified by end user, it seems we should not hard code it.
[外链图片转存失败(img-7rJG14CG-1563690178507)(https://user-images.githubusercontent.com/5669954/32707988-84a7444e-c862-11e7-917b-4447990d1e81.png)]
And in S4 Fiori Search, the limit is not used any more.
[外链图片转存失败(img-KxwEPvsc-1563690178507)(https://user-images.githubusercontent.com/5669954/32707989-84da3eee-c862-11e7-8ec1-9b425ee784b4.png)]
When end user clicks search in S4, the total number of found product is displayed and only the first 25 product is returned from backend.
[外链图片转存失败(img-ClZyork0-1563690178508)(https://user-images.githubusercontent.com/5669954/32707992-8541c960-c862-11e7-93ef-ffe7dd002321.png)]
This paging logic could be observed in Chrome:
When end user scrolls to the bottom of search list, another 25 products will be fetched.
[外链图片转存失败(img-GQyWKTuo-1563690178509)(https://user-images.githubusercontent.com/5669954/32707994-862d5254-c862-11e7-9fd9-d99741b64ca0.png)]
[外链图片转存失败(img-aYNagQnL-1563690178510)(https://user-images.githubusercontent.com/5669954/32707995-865feae8-c862-11e7-9ae0-9c40bee1630f.png)]
SAP CDS view查询的fixed limit相关推荐
- SAP CDS view性能调优的一些准则和例子
SAP CDS view优化的guideline: 一个很简单的SELECT CDS view的open sql: 它的execution plan都会非常复杂: 我们就只展开上面execution ...
- SAP CDS view(Core Data Service)自学的一些材料和方法
Self study和incident handling的不同之处 (1) incident handling有时间压力,遇到自己思路卡住求助同事无可厚非.而Self study没有太大的时间压力,要 ...
- 如何基于 SAP CDS view 生成 object page
通过之前的文章如何在 SAP BTP 上通过 CDS view 快速创建 Fiori Elements 应用,我们已经创建了一个 CDS view,并基于该 CDS view,创建了一个 Fiori ...
- 使用 SAP CDS view SQL Function 将视图某些字段进行合并
SAP 用于学习目的设计了很多 demo 开发包,里面包含了很多用于演示目的的 CDS view,类似经典的 Flight 模型,比如视图 /DMO/I_Travel_U. 这个视图和客户相关的信息只 ...
- SAP CDS view权限控制实现原理介绍
Part1 – how to test odata service generated by CDS view Part2 – what objects are automatically gener ...
- SAP CDS view源代码行数统计工具
Part1 – how to test odata service generated by CDS view Part2 – what objects are automatically gener ...
- SAP CDS view自学教程之九:cube view和query view的实现原理
In previous eight steps all we focus on is transactional stuff. This time let's touch some analytics ...
- SAP CDS view自学教程之十:SAP CDS view扩展性(Extensibility)实现原理
目录 Part1 – how to test odata service generated by CDS view Part2 – what objects are automatically ge ...
- SAP CDS view自学教程之八:SAP Fiori Elements里不同类型的annotation
Part1 – how to test odata service generated by CDS view Part2 – what objects are automatically gener ...
最新文章
- RDKit | 基于SMILES查找化合物的MACCS密钥
- 数字电路中的竞争与冒险
- 《程序开发心理学》读书笔记(二)
- Java的标签--弱化的goto
- 你的Redis为什么变慢了?
- [转]oracle查看数据文件, 控制文件, 及日志文件命令
- Python3之多线程学习
- 祝文欣讲座免费在线学习 免费下载
- arma模型_GARCH模型应用:以国泰君安为例
- Python爬虫_BeauifulSoup
- slot多作用域 vue_vue插槽(slot)详解
- 【动态规划 斐波那切数列】LeetCode 746. Min Cost Climbing Stairs
- Git教程_1 简介
- 对外暴露Id异或加密解密
- 孩子沉迷网游 呼唤亲子陪伴教育
- Vim中文本全部选中
- 回首过去展望未来——14年年终总结
- 黑客攻击第二次,开redis一瞬间
- Mac电脑用预览功能调整图像大小?Mac调整图片大小方法
- 初识二维码 第二十讲 二维码解码程序的组件之一 摄像头拍照功能
热门文章
- 【bzoj1708】[USACO2007 Oct]Money奶牛的硬币 背包dp
- [solr] - solr5.2.1环境搭建 - 使用solr自带的jetty服务器
- python 锁 多进程
- IE9:为什么 Acid3 无足轻重
- sonar 设置模板(Template)
- jdbc Template 介绍和 spring 链接数据源的四种方式
- CTR深度学习模型之 DeepFM 模型解读
- 走近分形与混沌(part1)--分形是趋于无穷的极限,是画不出来的
- 《统计学》学习笔记之时间序列分析和预测
- 网络编程(part6)--OSI七层模型及四层模型(TCP/IP)