top of page
blank.png
Search

ABAP tricks #17/100: 😀 FOR - Iteration Expressions

Writer's picture: Smart Logic AcademySmart Logic Academy

The language element FOR introduces an iteration expression as a subexpression in constructor expressions 


Such expressions are possible in the following contexts:

•REDUCE: The reduction result is created in the iteration steps.

•NEW and VALUE: Used in the context of looping across internal tables. New table lines are created in the iteration steps and inserted into a target table.



With the language element FOR, you can carry out 

•conditional iterations have the semantics of ABAP statements DO and WHILE

•table iterations having the semantics of LOOP AT



Please share with your ABAP friends and follow us.

If you want to dive deeper, visit our course https://lnkd.in/d35uqwud



36 views0 comments

Comments


bottom of page