cancel
Showing results for 
Search instead for 
Did you mean: 

Issues in Authorization Object

Former Member
0 Kudos

Hi,

I have created one authorization object which has one field referring to my custom table.

Then I have created the role and assigned the role to my user.

Now I tried the authorization object in my custom report and I have given values through selection screen for checking.

Now if I give any value for checking it is giving sy-subrc = 0 even if I didn't assign this values against field in PGCF.

My report code is as follows:

My authorization Object is ZTEST1 and field is ADRE_NUM .

The authorized value if from 100 to 200, but if I give 205 also sy-subrc gives 0.

Can anyone help me?

Accepted Solutions (0)

Answers (2)

Answers (2)

Jelena
Active Contributor
0 Kudos

You might want to post a screenshot of the object itself and of the authorization assignment in the role. Not really sure how would you give an authorization for a range of values...

Also if you're running this in a DEV system with your user ID then you might have some superior authorizations affecting the test. Run the authorization trace (I use ST01 for that) and see if it provides some answers. If not - post the trace as well.

saritha_26
Explorer
0 Kudos

Hi,

You need to mention the activity code 01, 02 or 03...

Former Member
0 Kudos

But I don't have any activity, I just want to check if the user has authorized for that field.

Former Member
0 Kudos

I have tried Activity also but still all values are authorized.