09-08-2008 3:09 PM
Hi Friends,
How Many types of AUTHORISATION CHECKS are there?,
including LDB'S, what are they, exactly where we use that
authorisations.
Thanks.
09-08-2008 3:18 PM
There is only one that is AUTHORITY-CHECK for Authorisation check . LDB's has AUTHORITY-CHECK added to it defaultly , you cannot take it as a type .
09-08-2008 3:18 PM
There is only one that is AUTHORITY-CHECK for Authorisation check . LDB's has AUTHORITY-CHECK added to it defaultly , you cannot take it as a type .
09-08-2008 3:21 PM
Hi venkat,
These authorization check are mainly used for checking the user is authorised to access the or not.
there were two types wecan use the authority check
1) in the program by adding the code authority-check with object name.
2) we can restrict the by authosization object such as s_program or s_tcode authorization oblects.assigning the program or transcation to that auth object...
using these two methods we can resctrict the access to the Users.
LDB`s
these are logical databases.
we can assign the LDB`s in the program attributes LDB
using get , put , get late , put late we can read and write the Logical database.
Thanks,
Nelson
09-08-2008 3:23 PM
Hello Venkat,
One type of authority-check is there.
We can check the user is authorised to do an action.
It can be created in transaction code SU21
Example:
AUTHORITY-CHECK OBJECT 'Z_ALV_LAYO'
ID 'ACTVT' FIELD '23'.
if sy-subrc = 0.
lw_default = 'X'.
lw_save = 'A'.
else.
lw_default = ' '.
lw_save = 'U'.
endif.
Regards,
Subbu