Application Development 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: 

Authorisation Checks

Former Member
0 Kudos

Hi Friends,

How Many types of AUTHORISATION CHECKS are there?,

including LDB'S, what are they, exactly where we use that

authorisations.

Thanks.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

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 .

3 REPLIES 3

Former Member
0 Kudos

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 .

0 Kudos

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

Former Member
0 Kudos

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