on 2021 Jul 15 7:26 AM
ABAP OO: Is it possible to separate ABAP syntax LOOP GROUP BY and LOOP AT GROUP to different methods?
We want to develop a readable code(Clean code).
We use syntax LOOP GROUP BY with a lot of logic inside it and we want (inside the LOOP) to separate the different logic stories into different methods. Our problem begin when we need to use syntax LOOP AT GROUP and we want it inside sub-method in the LOOP GROUP BY.
We get error message "No group is bound to &Our grouping structure&" and cant compile it.
User | Count |
---|---|
94 | |
9 | |
9 | |
8 | |
6 | |
5 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.