on 2024 Dec 11 12:38 PM
Greetings!!!
Can anyone give a suggestion to get a solution.
as per selection screen parameter i fetch data which is in internal table. I need to select only one value which is the max (budat) based on matnr & werks.
only one data exist in a single plant. how can i solve it.
I try to use read statement as well as At new, but desired result not coming.
internal table value:
result:
Request clarification before answering.
SORT or ORDER by MATNR, WERKS, BUDAT DESCENDING.
Then just LOOP at GROUP BY MATNR + WERKS and separate first entries of each GROUP.
But I think this can be done even just by single SELECT MAX no?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
60 | |
9 | |
8 | |
6 | |
5 | |
4 | |
3 | |
3 | |
2 | |
2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.