Skip to Content
0

Issues in Authorization Object

Oct 19, 2016 at 10:52 AM

44

avatar image

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?

capture.png (8.9 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

saritha N Oct 19, 2016 at 11:00 AM
0

Hi,

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

Show 2 Share
10 |10000 characters needed characters left characters exceeded

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

0

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

0
Jelena Perfiljeva
Oct 19, 2016 at 06:42 PM
0

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.

Share
10 |10000 characters needed characters left characters exceeded