‎2007 May 21 10:22 PM
Hi ABAP Guns,
Can any one know the function module for Authorizing a Table.
Thanks & Regards,
Sudhir
‎2007 May 21 10:27 PM
Can you please let us know what you meant by "Authorizing a table"? Are you trying to check if a user has authorization to maintain/display a particular table? If so, you have to do a AUTHORITY-CHECK in your code.
AUTHORITY-CHECK OBJECT 'S_DEVELOP'
ID 'DEVCLASS' FIELD '__________'
ID 'OBJTYPE' FIELD '__________'
ID 'OBJNAME' FIELD '__________'
ID 'P_GROUP' FIELD '__________'
ID 'ACTVT' FIELD '__________'.
‎2007 May 21 10:47 PM
Hi Srinivas,
I would like to check whether the particular person is authorised to add or delete or modify the table.
I don't want to do the authorisation at feild level, i would like to have at Table level.
Thanks and regards,
sudhir
‎2007 May 21 10:52 PM
Create auth object at SU21 with fields TABLE,ACTVT and create role and profile in PFCG Transaction. now just assign in Su01 Profile.
call your auth object in your program.
‎2007 May 21 11:33 PM
If you know the AUTHORITY-CHECK statement, the FIELD referred in there doesn't mean the table field. Please read the documentation on AUTHORITY-CHECK if you use authorization object S_DEVELOP or create your own, you have to use it.
‎2007 May 21 10:32 PM