Skip to Content
0
Former Member
Feb 19, 2009 at 05:52 PM

Authority Check Problem

47 Views

Hi,

we have 3 clients 140 = Dev, 200 = QAS and 300 = PRD, in 140 i've created some authorization object for the BUKRS field for each company of the group, 7 authorization object, each one has a role assigned to an user and yesterday it worked OK, each user just can see the data of its own company.

The code.

PARAMETERS p_bukrs LIKE glpct-rbukrs OBLIGATORY.

CASE p_bukrs.

WHEN '1101'.

AUTHORITY-CHECK OBJECT 'Z_1101'

ID 'ACTVT' FIELD '03'

ID 'Z1101' FIELD p_bukrs.

WHEN '1202'.

AUTHORITY-CHECK OBJECT 'Z_1202'

ID 'ACTVT' FIELD '03'

ID 'Z1202' FIELD p_bukrs.

WHEN '1303'.

AUTHORITY-CHECK OBJECT 'Z_1303'

ID 'ACTVT' FIELD '03'

ID 'Z1303' FIELD p_bukrs.

WHEN '1402'.

AUTHORITY-CHECK OBJECT 'Z_1402'

ID 'ACTVT' FIELD '03'

ID 'Z1402' FIELD p_bukrs.

WHEN '1505'.

and so....................................

Now today, every user can see the data of all companies in 140, the same happens whe we transport to QAS the objects and create the roles, it doesn´t respect the roles.

What could be happen..?

Thanks on advance.