Ansicht
Dokumentation
ABENTABLE_CMPRHNSNS_STEP_ABEXA - TABLE CMPRHNSNS STEP ABEXA
Vendor Master (General Section) Fill RESBD Structure from EBP Component StructureThis documentation is copyright by SAP AG.
- Table Comprehensions, Use of Step Size
This example demonstrates how the step size and the processing order are used in table comprehensions.
Source Code
Description
The content of an internal table itab is controlled by using the additions STEP and USING KEY.
- Every second table line is read in descending order based on the STEP statement, starting at the fourth last table line because of the FROM addition.
- Every second table line is read in ascending order based on the USING KEY and STEP statement, starting at the fourth first table line because of the FROM addition.
- Every second table line is read in descending order based on the USING KEY and STEP statement, starting at the fifth last table line because of the FROM addition.
- Every second table line is read in ascending order based on the STEP statement, starting at the fifth first table line because of the FROM addition.
See also the executable example for the LOOP statement using the addition STEP.
Fill RESBD Structure from EBP Component Structure General Material Data
This documentation is copyright by SAP AG.
Length: 1491 Date: 20240424 Time: 120157 sap01-206 ( 25 ms )