2012 Jun 15 8:00 AM
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.
2012 Jun 15 9:21 AM
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.
2012 Jun 15 8:14 AM
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.
2012 Jun 15 9:22 AM
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.
2012 Jun 15 9:21 AM
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.
2012 Jun 15 9:38 AM
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
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |