Be a simple man
分类: 项目管理
2011-05-23 13:15:28
This page will explain how to code very efficiently for nested unrelated tables. The article describes how to improve the performance of processing huge data amounts.
Problem DescriptionThe most common performance problem that occurs in ABAP programs is because of huge number of records in the internal tables. It becomes a severe performance problem if a program has huge nested internal tables. How much ever efficient data select routines are, data processing routines would be contributing significantly for the bad performance. When analyzed it would be revealed that the where condition that is used in inner loops expend a significant amount of processing time. The idea is to avoid where conditions in the inner loops by maintaining the loop indexes manually.
Conventional Code for nested loops