Ansicht
Dokumentation
ABENNEWS-740_SP08-ITAB - NEWS-740 SP08-ITAB
Addresses (Business Address Services) ROGBILLS - Synchronize billing plansThis documentation is copyright by SAP AG.
Internal Tables in Release 7.40, SP08
Groupings
A new variant LOOP AT itab ... GROUP BY of the statement LOOP AT itab enables the lines in an internal table to be grouped and then the groups evaluated in a group loop. The new statement LOOP AT GROUP for member groups is used to access the lines in a group.
The new variants FOR GROUPS ... OF and FOR ... IN GROUP in an iteration expression for table iterations using FOR can be used to perform the same groupings (and evaluate them) in table comprehensions and table reductions as well.
The new options for grouping internal tables exist alongside the existing
group level processing functions and can replace them in many cases.
Expressions for Internal Tables
The following new aspects of expressions apply in particular to the processing of internal tables:
- Custom iteration expressions in constructor expressions using NEW and VALUE for creating internal tables.
- Table reductions with the new reduction operator REDUCE.
- Table filtering with the new filter operator FILTER.
- Default value OPTIONAL or DEFAULT for table expressions.
BAL Application Log Documentation Fill RESBD Structure from EBP Component Structure
This documentation is copyright by SAP AG.
Length: 3998 Date: 20240328 Time: 214956 sap01-206 ( 41 ms )