Bapi or Function Module Required
Please tell me whether there is any bapi or FunctionModule to find The authorization Object name and the coresponding field names by giving the Role name only.
Any object can group up to 10 authorization fields that are checked
SU24 (Maintain Assignment of Authorization Objects to Transactions
(PFCG transaction) as with general authorization profiles. The
authorization profiles are specified in the T77PR table (Definition of Authorization Profiles).
Try the Tode SU21 also find out the authorization.
The follwowing are the steps for Authorisation procedure. this just go thro it means understand the How authorization made in SAP.
An authorizatioSteps to do Structural Authorisation:
Step1 : TC OOAC (table T77S0)
Activate the Structural Authorisation switch
Step 2 : TC OOSP
Create Structural Authorisation profiles
Step 3 : Assign Structural Authorisation profile to user Id
TC : SE38 and assign report RHRPROFL0 enter object id for example ( Org unit )
Assign regular Role authorisation
Table - T77UA (User Authorizations = Assignment of Profile to
User), not Role Maintenance (PFCG transaction)
Table T77Pr - authorization profiles are specified in the T77PR table.
You can protect (sub)structures by making relevant entries in this table.
Go thro the following link also: