当前位置:网站首页>对ABAP程序调优的学习(四)LOOP WHERE KEY
对ABAP程序调优的学习(四)LOOP WHERE KEY
2022-06-22 15:14:00 【james-lx】
上接之前的场景,通过RFC并行计算,我们在订单下发程序中读取100个订单耗费的时间缩短为31秒:

在ST12中,我们可以看到,31秒钟里,有一个LOOP循环占了19秒,其实它还被嵌套在了上面的GT_INPUTS内表循环中。如果读一个订单的数据,它们要计算 2797*4236次:

但对内表的查询,Read table又不能作有大于小于条件的查询:

问到HANA群里的ABAP高手,非常清楚的给出了优化代码如下:


结果,100订单读取从31秒缩短为9秒:

博主联想到原来在ERPHOME论坛上,博主也总是提问题,但只要问题描述清晰,总有一帮牛人来热心的帮助。
边栏推荐
- 【山大会议】项目初始化
- 让pycharm项目里面的文本模板支持jinjia2语法
- Bridging the gap between open source databases and database services
- SAP web service cannot log in to SOA management page with soamanager
- 知识管理在业务中的价值如何体现
- [Huawei cloud to Jian Zhiyuan] the winning list of essay solicitation is released!
- Mr. Du built a domestic non garlic Statistics Platform
- SAP ABAP table control and example-07
- 4. string (reverse order and case conversion)
- 买网红雪糕的我,成了大冤种
猜你喜欢

Research on ICT: domestic databases focus on the ICT market, and Huawei Gauss is expected to become the strongest

odoo本地文档功能开发记录

SAP abap 数据类型,操作符和编辑器-02

Conversion between numeric types and strings

全球首款AR隐形眼镜,元宇宙入口这次真的打开了?

Make the text template in pycharm project support jinjia2 syntax

知识管理在业务中的价值如何体现

数值类型和字符串之间的转换

webDriver以及Selenium使用总结

过气剧本杀,被露营“复活”
随机推荐
4.字符串(倒序且大小写转换)
畅享高性能计算!天翼云HPC解决方案来了
Dear students, don't read the textbooks any more. Just read this one for the complexity of time
Ironsource Luna offers a limited time discount for Apple search ads and enjoys 3 months of free service upon registration
着力打造网红产品,新捷途X70S焕新上市,8.79万起售
谷歌浏览器的小细节
[Shanda conference] project introduces Redux
The difference between nvarchar and varchar
机器学习笔记 - HaGRID—手势识别图像数据集简介
Deploy odoo to the server and configure it as a service
find命令使用
C语言贪吃蛇
Runtime——探索类,对象,分类本质
使用stream api替代sql
odoo部署到服务器并配置为服务
SAP ABAP 中的 Smart Forms-014
过气剧本杀,被露营“复活”
SAP价值流程&帮助请求流程-011
Simulation Implementation of string
SAP ABAP 对话框编程教程:中的模块池-09