SAP REDUCE FOR FOR ABEXA



Get Example source ABAP code based on a different SAP table
  



ABAP_ITAB - Multiple FOR Expressions
This example demonstrates a reduction of the columns of a nested internal table to a text string.

ABAP_SOURCE_CODE
DEMO CL_DEMO_REDUCE_FOR_FOR

ABAP_DESCRIPTION
The example uses the same nested source table as in the executable example for table comprehensions . Its VALUE operator is replaced here by the REDUCE operator with the data type string and the content of the nested loop is chained to the text string after the last FOR expression.