on 2022 Sep 23 7:03 AM
SELECT MAX( DATAB ) AS recent_date, knumh from a073
INTO TABLE @data(it_a073) GROUP BY knumh ORDER BY knumh ASCENDING.
I have tried the above code but it brings all the dates.
SELECT MAX( DATAB ) AS recent_date, matnr from a073
INTO TABLE @data(it_a073) GROUP BY matnr ORDER BY matnr ASCENDING.
when I tried the above code it brings the max date but not allowing me to get the condition record number(knumh).
pls help me.
Request clarification before answering.
User | Count |
---|---|
6 | |
6 | |
4 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.