Skip to Content
0
Sep 09, 2013 at 05:10 AM

Authorization object creation problem for VA01

94 Views

Hi All,

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.