DevOps and System Administration Forum
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Making a transaction visible in a menu

Former Member
0 Likes
4,687

Hello,

I added a T-CODE to a specific role through PFCG and now I want to add that T-CODE to already existing menu in that role. I added the transaction but it is not appearing in the Users's Menu even though I generated the profiles again, saved the changes and the user logged off and logged on again.

Am I missing a step? Does anyone have any advice?

Thanks in advance.

Dunja

14 REPLIES 14
Read only

S_Sriram
Active Contributor
0 Likes
4,527

Hi Dunja.

1. Have you added the role to specific user id?

2. You can use the transaction code SU53 to find the missing authorization.

Regards

SS

Read only

Former Member
0 Likes
4,527

HI.

1. The role has already been added, 8 years ago, and it has been in use ever since then. I am just updating it now, adding a new transaction to it.

2. SU53 returns nothing, because user has all the authorizations needed.

I only need the transaction to be visible in the menu I added it to, because users need to be able to select the t-code and not type it in every time the need to use it.

Read only

VeselinaPeykova
Active Contributor
4,527

Check whether this indicator is set or not for the role:

In addition - if you added the transaction from here:

instead of adding it to the menu from here:

of course, the transacton will not appear in the user menu.

Read only

0 Likes
4,527

Hi Veselina.

I don't have the Menu option you showed in the picture above.

As for everything else you advised me to look into, I did it. I added the transaction to the user menu (t-code ZHBAGIP2 shown in the above photo) and not through Authorization Data.

My problem is that even though I added it the right way, when users log on, they have the authorizations they need and they can use the transaction, but it is not shown in their user menu, and they have to type it in every time they need to use it. I don't know if there is anything else I need to do, besides adding the transaction to menu and saving the changes.

Read only

0 Likes
4,527

dunja.kazic does this problem occur in a system where the role was transported or also in the system where the role was created?

If the menu is displayed as expected in the system where the role was created but not in the productive environment it may be a good idea to check and compare AGR_HIER for this role between systems.

Another idea - check if for some reason Invisible is not set for the transaction.

I have no access to an older system at the moment, so I cannot tell which button from your screen corresponds to Other Node Details from my screenshot and whether there is such option at all.

One more thing - I hope that you verified that ZHBAGIP2 is not shown not just for business users, but also for a test user which is not created with reference to another user and which has authorization only for this role.

Read only

0 Likes
4,527

veselina.peykova ZHBAGIP2 is shown for all users.

I am making the change directly in the productive environment and users are in that same environment. It didn't cross my mind to try and do it in D12. I will try that and let you know if it works.

Thank you.

Read only

0 Likes
4,527

dunja.kazic Now I am confused, my understanding was that ZHBAGIP2 does not appear in the user menu despite that it is in the role menu and that this is the problem that you are trying to solve.

Would you please try to explain again with an example and screenshots? It may turn out that what I proposed so far is not related to the issue that you are facing...

Read only

0 Likes
4,527

veselina.peykova I appologise for confusion, I didn't understand fully what you wrote previously. I didn't create a test user with just this one role. I will do this also and let you know what happened.

Read only

0 Likes
4,527

Hi veselina.peykova, I tried creating a test user that has authorization for this role only, as you suggested, and that user can see the entire menu, with new transactions added. Already existing users with this role are still not seeing the entire menu.

Read only

0 Likes
4,527

dunja.kazic now can you try adding a few more roles so that the test user has the same roles as one of the existing business users?

If after adding the additional roles the new transactions are visible - it makes sense to compare the user parameters.

If after adding the roles the new transactions are not visible maybe it is a good idea to check whether the transactions appear elsewhere in the user menu.

Read only

0 Likes
4,527

veselina.peykova I compared user parameters and they are the same for both users. Since the role I am changing is a single role and it is a part of a composite role, I authorized the test user for the entire composite role, and when I did that, the user was unable to see the entire menu. Only when I add the single role, test user can see the menu the way I need it to be.

Read only

4,527

dunja.kazic I suggest that you read SAP note 1246860 - Display of entries in user menu.

In it here is a section dedicated to composite roles and user menu.

Read only

S_Sriram
Active Contributor
0 Likes
4,527

Hi

Thanks for your information.

Have you tried advised by Veselina?

Regards

SS

Read only

Former Member
0 Likes
4,527

I am working on it right now.