Restriction the number of lines to be processed:
FROM <n1> - the index of the first line to be read.
TO <n2> - the index of the last line to be read.
WHERE <condition> - the first operand of the logical expression must be a component of <itab>. Cannot be used together with the control keyword AT inside the loop.
Note. The FROM and TO options restrict the number of lines which the system has to read. The WHERE option only prevents unnecessary filling of the work area. With the WHERE option, the system must read all lines. To improve performance, you should use the FROM and TO options as much as possible. It can be also beneficial to leave the loop with the EXIT statement instead of using the WHERE option.
Serkan AKKAVAK
Computer Engineer BSc
SAP Department Manager
Contact : serkurumsal@yandex.com
0 Comments