2009 Jun 19 6:52 AM
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
2009 Jun 19 6:54 AM
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
2009 Jun 19 7:14 AM
2009 Jun 19 6:57 AM
Hi,
Check for the display activity value also.
Regards,
Ankur Parab
2009 Jun 19 7:23 AM