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

Table to check Plant Maintenace Module Tcode Authorization

Dhivya
Active Participant
0 Likes
888

Hi,

  I am doing Internet Scenario for Plant Maintenance(PM) module. In that I have to check whether the user is having authorization for the Tcode or not. Authorization for PM module's Tcode is I_TCODE . But i could not find the exact table which relates Auhorization to user. Did anyone know abt this?


Thanks in Advance,

Dhivya.

1 ACCEPTED SOLUTION
Read only

SuhaSaha
Product and Topic Expert
Product and Topic Expert
0 Likes
783

Hello Dhivya,

Dhivya Baskaran wrote:

I have to check whether the user is having authorization for the Tcode or not. 

You can use the authority-object S_TCODE to check if the "current" user has an authority to execute the transaction.

Dhivya Baskaran wrote:


Authorization for PM module's Tcode is I_TCODE . But i could not find the exact table which relates Auhorization to user.

Not sure if i follow your requirement, but you can use a join on the table AGR_USERS & AGR_1251.

BR,

Suhas

PS: Most of the authorization data are stored in the AGR* tables.

Hello Dhivya,

Dhivya Baskaran wrote:

I have to check whether the user is having authorization for the Tcode or not. 

You can use the authority-object S_TCODE to check if the "current" user has an authority to execute the transaction.

Dhivya Baskaran wrote:


Authorization for PM module's Tcode is I_TCODE . But i could not find the exact table which relates Auhorization to user.

Not sure if i follow your requirement, but you can use a join on the table AGR_USERS & AGR_1251.

BR,

Suhas

PS: Most of the authorization data are stored in the AGR* tables.

4 REPLIES 4
Read only

GauthamV
Active Contributor
0 Likes
783

Hi,

Genrally authorization objects will be assigned to roles with profiles generated.

You can check the below tables for combination of roles , users and profiles.

Tables: AGR_DEFINE,AGR_1016 and UST10S.

You can also use transaction SUIM to check various kinds of authorizations.

Regards,

Gautham.

Read only

Dhivya
Active Participant
0 Likes
783

Hi Gautham,

  When i click the Tcode link in webdynpro means, it has to check whether the Tcode is authorized for user or not. I dont need roles, profiles and all. Anyhow thanks for your information. But it wont help me in this.

Thanks,

Dhivya.

Read only

SuhaSaha
Product and Topic Expert
Product and Topic Expert
0 Likes
784

Hello Dhivya,

Dhivya Baskaran wrote:

I have to check whether the user is having authorization for the Tcode or not. 

You can use the authority-object S_TCODE to check if the "current" user has an authority to execute the transaction.

Dhivya Baskaran wrote:


Authorization for PM module's Tcode is I_TCODE . But i could not find the exact table which relates Auhorization to user.

Not sure if i follow your requirement, but you can use a join on the table AGR_USERS & AGR_1251.

BR,

Suhas

PS: Most of the authorization data are stored in the AGR* tables.

Read only

Former Member
0 Likes
783

Hi Dhivya,

You could call on of the FM's in the below link to check for authority.

http://scn.sap.com/thread/3184149

Thanks,

Shambu