Like the Data Browser (SE16) reviewed in the last article, Quickviewer (transaction SQVI) is very useful tool for quick and dirty reporting through Ad Hoc Queries. The advantage of using Quickviewer is it ability to perform table joins enables us to display data from multiple tables.
In the example below, we create a query to return the t codes executable by an individual user. We name the query “Z_USER_TCODE” using table join.
Inclined to build a profession as SAP Security Developer? Then here is the blog post on
SQVI - Initial Screen
SQVI - Query Definition
On clicking the check button, we get to the design window shown below. We insert the three tables which we will be using for our report and add graphically add the join conditions as shown below.
SQVI - Join Conditions
Once the data sources and join conditions are set up, we need to check the fields appearing in the selection and list output. We have the option or changing the field order of both the selection and list screens or even the sort order of the resulting data.
SQVI - Selection & List Fields
We now save our query and click the execute button. In the example, we filter the query to return the tcodes for user “test_user”.
Check out the top SAP Security Interview Questions now!
SQVI - Query Selection Screen
The output returns a list of tcodes that can be executed by the user and also the role which contains the t code.