We have created a new tcode ZCA01 using a transaction variant for CA01. The user has not been given access to tcode CA01 and only access provided is ZCA01. When ZCA01 is executed, the transaction works fine, all screens display as expected. However, when we exit out of the tcode, the main screen of ZCA01 (which is same as CA01) does not appear. Instead it gives me a message "You are not authorized for tcode CA01"
My query is:
1) Can we use ZCA01 (using transaction variant) if access to CA01 is denied?
2) Can the control come back to Main screen when we exit out of ZCA01?