07-31-2009 3:56 PM
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?
Awaiting response.
07-31-2009 5:19 PM
It's probably because the program checks again authorization using AUTHORITY-CHECK OBJECT 'S_TCODE' ID 'TCD' FIELD SY-TCODE (which is unfortunately the transaction called by the variant transaction, CA01 in your case). You may ask SAP support to help you identify the cause, or find it yourself and make a modification of the standard. There are a few SAP notes concerning this topic.