cancel
Showing results for 
Search instead for 
Did you mean: 

How can I authorize users for ZXD01 but not for XD01?

Former Member
0 Kudos

I created a new transaction ZXD01 with a screen variant, a.o. to automatically fill certain values correctly and to protect some screen fields.

But I just found out that people are still using XD01, even though I removed that transaction from their user role.

A quick test:

I remove ZXD01 from the role.

The test user cannot access ZXD01 nor XD01. So far so good.

I add transaction ZXD01.

The first test: XD01 is not allowed. OK.

I now test ZXD01: this transaction is allowed. OK.

I now test XD01 again and this time I can use it. This is not what I want.

In transaction PFCG I can see there is a Transaction Code Check at Transaction Start (object S_TCODE).

ZXD01 is in that list of transactions and XD01 is not.

Any tips how I can authorize users for ZXD01 but not for XD01?

Our SAP version is ECC 6.0.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Got it. In the production environment in PFCG there was a manual entry in Transaction Code Check at Transaction Start for "All transactions". Once I inactivated that, everything was fine.

Answers (2)

Answers (2)

Former Member
0 Kudos

try to use transaction code: SHD0 to create a Tcode variants. It can be by transaction code and can be assigned to specify user ID. Hope this is helpful.

Former Member
0 Kudos

Thanks, but that is what I already did to create the new transaction ZXD01

Shiva_Ram
Active Contributor
0 Kudos

Check with the basis team on locking the transaction code XD01. I think they can lock this transaction code in SM01

Regards,

Former Member
0 Kudos

Thanks for this, I tested it but locking XD01 also locks ZXD01. Alas