on 11-17-2012 6:27 AM
We have a requirement where we have to give tab and field wise authorization to particular users. that means we have to give authorization to particular user for particular tab or field to make changes in that particular tab or field.
Hi Rohan ,
Check with the Basis Team regarding it. They can guide you.
Regards
Vinu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
If you have necessary authorizations please follow these steps.
Create authorization field with SU20
Create authorization object with SU21
Use following code, change it as per your object and field names and assign this in appropriate program. If you don't know in which program then please mention your requirement in detail.
IF KOMK-KALSM NE OLD_KOMK-KALSM OR KOMV-STUNR NE OLD_KOMV-STUNR.
AUTHORITY-CHECK OBJECT 'Z_KONH_KLS'
ID 'ZKALSM' FIELD KOMK-KALSM
ID 'ZSTUNR' FIELD KOMV-STUNR
ID 'ACTVT' DUMMY.
AUTH_SUBRC = SY-SUBRC.
OLD_KOMK = KOMK.
OLD_KOMV = KOMV.
ENDIF.
Give authorization with SU01 and check.
Better to take BASIS guy's help if you feel this difficult to do at your own.
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.