How to deny users to call standard transaction variant
We have created a variant transaction (ZME52N) for ME52N, and do not
want give authorization to the transaction ME52N for end users.
We unchecked the authorization check in the SE97 for ZME52N-ME52N pair so the authorization check for ME52N does not take place in the function module AUTHORITY_CHECK_TCODE.
However, we noticed that both calling and called transaction is ME52N in the the function module AUTHORITY_CHECK_TCODE, when we executed the variant transaction ZME52N, and obviously the auth check failed.
Is there a way to lock / disable the ME52N instead of uncheck the authorization ?
Thanks in advance!