Problem solve Get help with specific problems with your technologies, process and projects.

Restricting access to a particular transaction

I'm at my wits end... I want to restrict access to a PARTICULAR transaction. I'm looking for a procedure that will enable me associate a transaction with a user ID. Only the associated users will be authorized to execute the transaction. Users not explicitly permitted access to the transaction will receive a "Not authorized" message.

Why do I need this? I've inherited a situation that makes this imperative. Any help will be greatly appreciated.

The easy way will be to ensure that the transaction (S_TCODE) is not included in any other profile or role, and then you create a role specifically for the transaction and assign it to the user. If that is not an option, I suggest a user exit in the ABAP the transaction executes that checks SY-UNAME for the intened user (but this should be a last straw alternative).

Dig Deeper on SAP Basis

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.