Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Transaction Variant (SHD0) - CA01 / ZCA01

Former Member
0 Kudos

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.

1 REPLY 1

Sandra_Rossi
Active Contributor
0 Kudos

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.