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
1,271

Hi Experts,

I want the procedure to create Authority-check 'Object' and assign field to it.

Pls give me the details.

Eg:

AUTHORITY-CHECK OBJECT ’S_CARRID’

ID ’CARRID’ DUMMY

ID ’ACTVT’ FIELD ’02’.

Regards,

Nani

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
488

goto SU21

to create an authorization object in any authorization class which fits your classification.

when you create it will ask you to specify the authorization fields do that by selecting a data element from search help aur if you know one. some data element have values so u can select the permitted activities which should be used while creating role. Meaning the values which can be used for authorization.

then in the program use AUTHORITY-CHECK to check authoriztion.

reward if it helps.

Hi Experts,

I want the procedure to create Authority-check 'Object' and assign field to it.

Pls give me the details.

Eg:

AUTHORITY-CHECK OBJECT ’S_CARRID’

ID ’CARRID’ DUMMY

ID ’ACTVT’ FIELD ’02’.

Regards,

Nani

2 REPLIES 2
Read only

Former Member
0 Likes
489

goto SU21

to create an authorization object in any authorization class which fits your classification.

when you create it will ask you to specify the authorization fields do that by selecting a data element from search help aur if you know one. some data element have values so u can select the permitted activities which should be used while creating role. Meaning the values which can be used for authorization.

then in the program use AUTHORITY-CHECK to check authoriztion.

reward if it helps.

Read only

Former Member
0 Likes
488

Hi,

Please check the following link

http://www.sts.tu-rburg.de/teaching/sap_r3/ABAP4/authorit.htm

It contains detailed description with example...

Regards

Byju