Application Development and Automation 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: 
Read only

authority check

Former Member
0 Likes
695

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.

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
Read only

Former Member
0 Likes
656

Use 'authority-check' command in abap code.

Read only

Former Member
0 Likes
656

Please try creating by using transaction SU21.

Kind Regards

Eswar

Read only

Former Member
0 Likes
656

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.