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

Authorization debug

Former Member
0 Likes
323

Hi all,

I have an authorization object 'YTEST_VOL1',and would like to know why it is not getting accessed even though I am an authorized user.

Can any one let me know how to debug the code inside the following code..?

authority-check object 'YTEST_VOL1'

id 'Y_APPL' field lv_application_id

id 'Y_ENDPOINT' field lv_endpoint_name

id 'Y_BYTE_CNT' field lv_byte_count.

if sy-subrc eq 0.

rvv_flag = 'X'.

endif.

Thanks,

Ram

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
296

Hi,

That's ABAP statement, you can do a debugging on it.

Just check the return value of the authority-check statement.

eg. if return value '4' means user has no authorization for such an action, etc.

And need to check with Basis people, if this authorization check doesn't work.

Hope this help.

Cheers,

1 REPLY 1
Read only

Former Member
0 Likes
297

Hi,

That's ABAP statement, you can do a debugging on it.

Just check the return value of the authority-check statement.

eg. if return value '4' means user has no authorization for such an action, etc.

And need to check with Basis people, if this authorization check doesn't work.

Hope this help.

Cheers,