Sub topic 13
When a Transaction Is Not Authorised
This chapter assumes you can start a transaction from the command field, use /n and /o, and move around the SAP Easy Access menu. It covers what happens when SAP refuses to start a transaction, how to read the message, and how to ask for help in a way that gets the problem fixed quickly.
What an authorisation error is
SAP checks two things when you start a transaction. First, the transaction code must exist. Second, your user must be allowed to run it. The second check uses authorisations, which are permissions assigned to your user through roles. A role is a bundle of permissions that an administrator creates and assigns to you.
If you lack the permission, SAP does not start the transaction. It shows a message in the status bar at the bottom of the window, or in a dialog box. The message usually reads like this:
You are not authorized to use transaction SE16The exact wording depends on the release and the language of your logon. The meaning is the same: your user has no permission to start that transaction.
An authorisation error is a rule working as designed. It does not mean your system is broken, and it does not mean you typed something wrong. You cannot fix it from your side. Only an administrator can change the permissions.
Where the check happens
The check can happen at two points, and the difference helps you describe the problem.
- At start. SAP checks the right to start the transaction. This check uses an authorisation object named
S_TCODE. If it fails, the screen never opens. - Inside the transaction. The transaction opens, but a later action fails. For example, you can display a record but not change it, or you can open a list but not a particular company code. Here the transaction code itself is allowed, but another check fails.
The diagram shows both points.
Telling the messages apart
Several messages look alike, and they have different causes. Read the text before you decide what to do.
| What you see | Likely cause | What to do |
|---|---|---|
| Transaction `XYZ1` does not exist | You mistyped the code, or the code is not in this system | Check the spelling. Use the methods in the chapter on finding transaction codes. |
| You are not authorized to use transaction `SE16` | Your user lacks the start permission | Ask for access (see below). |
| No authorization for a specific action or object | The transaction starts, but a deeper check fails | Report the object or action named in the message. |
| The menu entry is missing from your Easy Access menu | The role does not include it, or the menu shows only some entries | Check by typing the code in the command field. |
Notice the last row. A missing menu entry does not prove you lack access. A menu is built from your roles, but you may still be allowed to start a transaction that does not appear in it. The reverse also happens. An entry can appear in your menu or Favourites, and the transaction can still fail because the permission was removed later.
Common mistakes that look like authorisation problems
Before you contact anyone, rule out these causes.
- A typo in the code.
SE61andSE16are different transactions. If the code exists but is not the one you meant, you may get an authorisation message for the wrong transaction. - A wrong prefix. Typing
/nSE16inside a transaction ends that transaction and starts SE16. TypingSE16without the prefix inside another transaction can produce a different message, because many screens do not accept a new code without a prefix. This is a navigation issue, not a permission issue. - The wrong system or client. You may have permission in the test system and not in the production system. The same code can behave differently in each. Look at the system name in the window title or the status bar.
- An old Favourite. A Favourite stores the code. If the code was changed or your role was reduced, the link remains and fails when you click it.
- Your logon language. A message in a language you do not read is still the same message. You can use the translated text to search, but the transaction code in the message is what matters.
How to see which permission is missing
If you are allowed to use it, the transaction SU53 displays the result of the last failed authorisation check for your user. Run it right after the error, in the same logon, and before you do anything else. Another check in between replaces the result.
/nSU53SU53 shows the authorisation object, its fields, and the values that SAP expected. Administrators use this information to decide which role to change. If you can open it, take a screenshot or copy the text.
Two limits apply:
- SU53 itself needs permission. If it also fails, ask your administrator how to capture the information.
- It shows your own last failure only. It does not show a colleague's.
What to include in a request for access
Most companies run a formal process for access: a ticket, a form, or an approval workflow. The details differ by organisation. A good request contains the following.
- Your user ID.
- The system and client, for example "production, client 100".
- The transaction code you could not start.
- The exact text of the message, or a screenshot of the status bar.
- The SU53 result, if you could run it.
- The business reason, in one sentence, and the name of the person who can approve it.
Compare two requests.
Weak: SAP is broken, I cannot open the report.
Better: User JSMITH, system PRD client 100. Transaction SE16 returns
"You are not authorized to use transaction SE16" at 09:45.
I need to check the table contents for the month-end
reconciliation. My manager A. Jones approves. SU53 attached.The second request lets an administrator act without a round of questions.
What not to do
- Do not share your password or log on as a colleague to get around the message. This breaks company policy in almost every organisation, and the system records actions under the user who logged on.
- Do not hunt for another transaction that does the same job through a side route. If one is blocked, another may be blocked for a reason. Ask first.
- Do not assume the permission is permanent. Access given for a task may be time limited. Roles are reviewed, and entries disappear.
A short walkthrough
You want to open the Data Browser to look at a table, and your colleague told you to use SE16.
- Type
/nSE16in the command field and press Enter. - The status bar shows: "You are not authorized to use transaction SE16".
- Check the spelling. The code is right.
- Check the title bar for the system and client. You are in the right one.
- Type
/nSU53and press Enter. Write down or copy the object that failed. - Send the request using the format above, with the business reason and your approver.
- When access is granted, log off and log on again if you are told to. Then retry
/nSE16.
Step 7 matters. A role change can take effect at your next logon rather than at once, depending on how your administrator applies it.
Exercise
You click a Favourite for transaction FB03 and see "You are not authorized to use transaction FB03". A colleague sits next to you and can open it. List three things to check or collect before you send an access request.
Show answer
First, confirm the code and the system and client, since the same user can have access in one system and not in another. Second, run /nSU53 straight away to capture the failed authorisation object. Third, note the exact message text and the business reason, and name the approver. The fact that your colleague can open it only shows the system works. It does not mean you should have the same access, so do not ask to borrow their logon.
Exercise
A transaction opens, but when you press Save, a message says you have no authorisation for that action. Is this the same problem as "not authorized to use transaction"? Explain.
Show answer
No. The start check passed, so you hold the permission to run the transaction. A second check failed on the action or on the data involved, for example a change right or a specific organisational unit. Report the transaction, the action you tried, and the SU53 result, because the fix is a different permission from the one that allows starting the transaction.
Exercise
A transaction is missing from your Easy Access menu. Does that prove you lack authorisation? How can you find out?
Show answer
No. The menu is built from your roles and may not list everything you can run. Type the code in the command field with /n and press Enter. If the transaction opens, you have the permission. If you get the not-authorised message, you do not.