SAP Certified Associate Back End Developer ABAP Cloud · Free Practice Question Medium
Question 9
Given this code,
- DATA(structure_variable) = REDUCE structure_type(
- INIT
- h_structure_variable TYPE structure_type
- FOR row IN source_itab
- NEXT
- h_structure_variable-f1 += row-f1
- h_structure_variable-f2 += row-f2 ).
Which of the following statements are correct? Note: There are 2 correct answers to this question.
-
A
The REDUCE expression creates a loop over source_itab.
-
B
This REDUCE expression may produce a result of multiple rows.
-
C
row is a predefined name and cannot be changed.
-
D
Components of h_structure_variable will be copied to same structure_variable.
Reveal correct answers
Correct answers: A, D
Discussion
Think the marked answer is wrong, or have a better explanation? Share it below — comments appear after review.
You must be logged in to post a comment.
