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: 

authority check

Former Member
0 Kudos

hi everybody

i have to create the authorization object 'zsample' with activity 02 for a checkbox 'change'.For changing the checkbox i have to allow the authorized users 121401 , 121601 and 121701.please explain me how to do this indetail.

thanx in advance

giri.

3 REPLIES 3

Former Member
0 Kudos

Use 'authority-check' command in abap code.

Former Member
0 Kudos

Please try creating by using transaction SU21.

Kind Regards

Eswar

Former Member
0 Kudos

Hi,

Pl find the eg below:

SELECT SINGLE bukrs

FROM t001

INTO t001-bukrs

WHERE bukrs = p_bukrs.

IF sy-subrc <> 0.

MESSAGE ........

ELSE.

AUTHORITY-CHECK OBJECT 'ZTEST'

ID 'BUKRS' FIELD t001-bukrs.

IF sy-subrc NE 0.

MESSAGE ......

ENDIF.

ENDIF.

If helps pl reward.

Cheers.