i wants to provide authorization in VA01 to restrict user based on userid and plant. And for this i have created fieldname,
data element, object and object class in transaction SU21 and SU20, but i am not getting how could i write my program
so that it will provide restrictions based on user id, although i know that i have to use the ABAP authority check syntax.
AUTHORITY-CHECK OBJECT '<object>
If anyone has written his own authorization object based on userid, please tell me what code should i write.
My data which i have created in SU21 and SU20 are
Fieldname : ZPLANT. Data element : WERKS_D, Object class : ZSCP, Object : Z_PLANT.