Skip to Content
0
Former Member
May 16, 2008 at 07:20 PM

How to override security for table access when using SAP Query?

933 Views

We have a number of infosets which use table join between PA0001 and CATSDB table. To execute a query based on such a query you would need access to table auth group PA through S_TABU_DIS. This was earlier not a problem as SAP query was earlier used by support staff and not end users. We do not want to give S_TABU_DIS with to end users as this amounts to givin them access to all PA tables.

The generated code for the query checks for the condition

"%rtmode-no_authchk = space"

before going for the authorization check.

Thus, ideally the authorization check for an InfoSet can be skipped if we can pass X for this variable from the InfoSet definition. Is there a way to do this?

Would appreciste any inputs to help suppress the authorization check at this point. Thanks.....