Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Authorization to Tcode

Former Member
0 Likes
388

Hi Guys,

I have creted a Z T'code.I want to assign authorization only to specific users to this Tcode on Production system.Please do guide me step by step.

Regards

2 REPLIES 2
Read only

Former Member
0 Likes
368

Hi Alka

please refer to this document to cteate authorization object and attach it to ur program.

https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a92195a9-0b01-0010-909c-f330ea4a...

Thanks

Vishal

Read only

Former Member
0 Likes
368

Hi Alka,

You need to have a "Authorization Object" to restrict the users. The Authorization object is generally created by Basis team.

It contains the Activity that can be performed by the users belonging to the authorization group.

Once Basis team creates the object, then you can go to SE93 and open the ZTcode that you have created in Change mode. You will find an option for "Authorization Object". There you can enter the object name.

As it is a Z program, You can also write coding to check if the user logged in has authorization using the object name using "Authorization-Check" (Check F1 help), to give appropriate error message.

Best Regards,

Ram.