当前位置:网站首页>13. Implementation of paging loading datasets for SAP ABAP OData service (Paging)
13. Implementation of paging loading datasets for SAP ABAP OData service (Paging)
2022-08-06 15:32:00 【Wang Zixi】
The paging loading of datasets in SAP UI5 applications is an extremely important feature, which requires corresponding development work on both the SAP UI5 front-end and the OData service back-end to realize this scenario.
The so-called paging loading data set means that by default, the SAP UI5 application displays only the data sets of the specified data in the default page after startup. This number is 20 by default, and can also be configured in the system or code.Therefore, we can understand that when the SAP UI5 application is initialized, the first to the 20th data are loaded from the database by default.

When our scroll bar slides down to the bottom of the screen, it will trigger the loading of a new batch of data, and read the 21st to 40th, which is the second 20 pieces of data.

When SAP UI5 calls the background OData service, specify the paging scenario through the parameter $skip=X&$top=Y.
Where
$skip=X, it means to skip the Xth record in the database and start reading from X + 1 record (X is the index value, counting from 0)$top=Y, which means to read Y records in the database.
Assuming that the background SAP ABAP OData service has been correctly implemented for the $skip=X&$top=Y passed in by the consumer through the url, the SAP UI5 application,
边栏推荐
猜你喜欢
随机推荐
From technical panorama to scene combat, analyze the evolutionary breakthrough of "narrowband HD"
(零知识证明)关于gnark包不匹配导致链码安装失败的问题
Another proof of the strength of China's manufacturing, the number of Chinese companies in the top 500 is the largest
Kotlin 协程之取消与异常处理探索之旅(下)
[Message Queue] What do you think the message queue can do?
LeetCode:392. 判断子序列————简单
【组成原理 七 I/O系统】
机器视觉需要学什么?学习机器视觉需要掌握哪些知识?
00后写个暑假作业,被监控成这笔样
启牛帮开通的中信证券VIP账户是安全的吗?怎么开
OpenCV图像处理汇总(持续更新中)
看看你离世界一流大厂有多远?3道Google最新SQL面试题
1322_Information sorting of queue usage in FreeRTOS and use of preliminary queues
微信小程序平台能力——讲笑话情话服务
我的创作纪念日的温柔与七夕的浪漫交织了在一起
[源码分享] CI/CD 编译打包发布Qt桌面程序
nodejs(四)自定义模块加载机制,第三方模块的加载机制,目录作为模块
1322_FreeRTOS中的队列使用的信息梳理以及初步队列的使用
PysparkNote104---join表关联
口碑极佳的7个公众号!






![[2022CISCN]初赛 复现](/img/ed/3122e4e02d630959098edfc0e2488f.png)


