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

Reg : Authority-Check

Former Member
0 Likes
748

Hi Experts,

This is my code for Authority check,

I want only DISPLAY to be activated,

***INCLUDE ZZAUTH02. -


> Commented Line

AUTHORITY-CHECK OBJECT 'Z_KONH_KLS'

ID 'ZKALSM' FIELD KOMK-KALSM

ID 'ZSTUNR' FIELD KOMV-STUNR

ID 'ACTVT' DUMMY.

IF SY-SUBRC NE 0.

MESSAGE E609(VH).

ENDIF.

Plz help me

4 REPLIES 4
Read only

Former Member
0 Likes
687

Hi,

You have to add this check also ..

FIELD '03'. <------- stands for 'Display'

AUTHORITY-CHECK OBJECT 'Z_KONH_KLS'

ID 'ZKALSM' FIELD KOMK-KALSM

ID 'ZSTUNR' FIELD KOMV-STUNR

ID 'ACTVT' field '03'.

IF SY-SUBRC NE 0.

MESSAGE E609(VH).

ENDIF.

Check table 'TACT' and 'TACTZ' for details on activities and the authorizxation object...

Edited by: sneha singhania on Jun 19, 2009 11:29 AM

Read only

0 Likes
687

This message was moderated.

Read only

Former Member
0 Likes
687

Hi,

Check for the display activity value also.

Regards,

Ankur Parab

Read only

Former Member
0 Likes
687

Hi,

It will be great if you appreciate your contributors...