‎2020 Sep 13 11:20 AM
Dear everyone,
I have a table in the system and inputted some value in SM30 (table which was TMG)
But My table doesn't sort by order ascending/descending at SM30
I want to sort it, and tried some code, but It conflicts with some event (change/save/display/delete).
Could anyone please help me with this issue.
Thanks so much
‎2020 Sep 13 12:34 PM
HI,
Go to TMG in the menu Environment -> modification -> events, add an event name that comes from the F4 help of the field... this could help to sort in TMG screen
‎2020 Sep 14 2:31 AM
‎2020 Sep 13 1:39 PM
It's been already answered:
How to sort database table in View SM30 site:sap.com
‎2020 Sep 14 12:57 PM
‎2020 Sep 15 3:07 AM
This code is conflicted with some events (ex: delete). So i think it is not good to resolve this issue
‎2020 Sep 14 2:59 PM
Hi Chau,
please check the below link..hope it helps to your requirement.
https://blogs.sap.com/2016/12/27/sorting-with-anymultiple-fields-in-table-maintenance/
Best Regards,
Santhosh
‎2025 Apr 08 8:14 AM - edited ‎2025 Apr 08 8:15 AM