cancel
Showing results for 
Search instead for 
Did you mean: 

Pre-requisite to add custom tcode in role

mythili_selvam13
Explorer
0 Kudos
1,528

Dear All,

How to add custom tcode in role and what are the Pre-requisite to add custom TCODE in role.

thank you in advance.

Accepted Solutions (1)

Accepted Solutions (1)

pau_torregrosa
Participant
0 Kudos

Hi Mythili,

There are no pre-requisites to add a custom tcode to a role. Best practices are to add it to the role menu.

Manually adding S_TCODE authorization object to the role is not recommended.

Adding tcodes to a role menu is something well documented, please check these links to get familiar with PFCG:

https://help.sap.com/doc/saphelp_nw75/7.5.5/en-US/4a/c2c19822db2475e10000000a42189c/frameset.htm

https://blogs.sap.com/2012/09/21/adding-t-code-in-menu-and-adding-t-code-in-stcode-manually/

You might also want to fill SU24 with the authorization objects needed for running the transaction, depending on the authority-checks the programmers placed in the program code.

Regards,

Pau

Answers (1)

Answers (1)

vinita_kasliwal
Active Contributor
0 Kudos

Hi

Use PFCG and enter role go to the Authorisation tab and then display authorisation

Add authorization object S_TCODE and your Tcode with that

The above should be the only Pre-requisite and you can ask any security person in your team to do that it is pretty common

Regards

Vinita