Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Authority Check Problem

Former Member
0 Likes
647

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.

1 ACCEPTED SOLUTION
Read only

Sm1tje
Active Contributor
0 Likes
600

I would think that something more in the line of the authorization object has changed. So, might be good to check these first.

4 REPLIES 4
Read only

Sm1tje
Active Contributor
0 Likes
601

I would think that something more in the line of the authorization object has changed. So, might be good to check these first.

Read only

Former Member
0 Likes
600

i haven´t touched the code since yesterday, it worked ok, today it ignores the authority checks.

Read only

Sm1tje
Active Contributor
0 Likes
600

That's why I was thinking that someone has changed the authorization objects and NOT the coding. Try to check via PFCG, SU20 or SU21

Read only

Former Member
0 Likes
600

i checked them and are ok... no changes