Skip to Content
4
Sep 08, 2023 at 05:32 AM

How to redirect SM30 on table to its main maintenance view

83 Views

Hello,

For information, I'm posting this question along with my answer but you're free to add your own one, I'll accept the best one (according to me).

I have a ZMYTAB table for which I have defined a maintenance view ZMYVIEW (join of ZMYTAB with some text tables to show texts of ZMYTAB values), users should select this maintenance view to maintain the ZMYTAB table.

I'd like to be kind with users, if they do SM30 on the Z table, they should be redirected automatically to the maintenance view.

What is the best way to do this? (apart not doing code and telling the users to use SM30 with the maintenance view)

Thanks for reading me.

Sandra

NB: my system is ECC 6 EHP 7 / ABAP 7.40 SP 23 but you're free to post answers concerning other versions, provided that you indicate the version ;-)