Application Development 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: 

Field based authorization in Query SQ01

Former Member
0 Kudos

Hi SAP Gurus

I have made a query via SQ01 . Now i have assigned two users to execute the query but both these users are from different companies and able to execute the query for another company also which is not correct .

What i want to do is to restrict company code in accordance to user id of the respective person .

We do not have an abapper currently ? Can anyone help me with this ?

Regards

Hitesh

1 REPLY 1

Former Member
0 Kudos

Hi,

You can restrict the users from accessing the query from infoset with standard/custom authorization authorization for company code.

if company code selection field is defined inside the infoset,then authorization check can be implemented in at selection screen event inside the infoset.

if the company code selection field is defined in query level,then we can implement authorization check at start-of-selection event in infoset.

Regards

Shibino