Ansicht
Dokumentation

ABENLOOP_GROUP_BY_RANDOM_ABEXA - LOOP GROUP BY RANDOM ABEXA

ABENLOOP_GROUP_BY_RANDOM_ABEXA - LOOP GROUP BY RANDOM ABEXA

PERFORM Short Reference   ROGBILLS - Synchronize billing plans  
This documentation is copyright by SAP AG.
SAP E-Book

- Random Grouping with LOOP

This example demonstrates a construction of the group key that does not depend on the table lines.

Source Code

Execute

Description

Grouping of an internal table numbers with group key binding. The group key of the group loop is constructed as a value of the type i, which is determined as a random number completely independent of the internal table. This casts the table lines into groups of approximately the same size.

In the group loop, the lines of each group are placed in an internal table members using a table comprehension. This table is then output.






General Data in Customer Master   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.

Length: 1275 Date: 20240426 Time: 152552     sap01-206 ( 22 ms )