For SAP experts worldwide, data display tools like the Data Browser (SE16), Quick Viewer (SQVI), and Query Start (SQ00) are basic components of their everyday work. They have become accustomed to using selection screens, variants, and ALV functions in the output lists of the Data Browser. In this post, we’ll show you examples from the SAP authorization system that illustrate lesser known possibilities for finding what you need in large datasets through the skilled use of wildcard characters during selection.
Both the technical functions for accessing the SAP database in SAP NetWeaver AS ABAP and the SAP authorization system support the use of wildcard characters, such as the asterisk (*) or plus sign (+). The meanings of these characters can differ between the two application areas, however, and thus often return surprising results during the analysis of datasets in the Data Browser (SUIM). The following table compares and contrasts the meanings and effects of the different wildcard characters between SAP database access in general, using the Data Browser as an example, and the SAP authorization system:
We’ll show you how you can use a variety of selection options quickly and efficiently for the analysis of datasets.
Example 1: Selection of all PFCG roles with display function
The naming conventions of the PFCG roles have the following structure in an SAP application client:
Let’s take a look at the example role “YFI_C_XXXX:AA-POSTING: Postings in Asset Accounting”.
From the naming convention, you can see that the differentiation characteristic display/work role is encoded at position 5 of the technical role name.
To select all the display roles from the role catalog, proceed as follows:
You now see a filter selection of all roles with the D indicator (display role) in position 5 of the technical role name.
Example 2: Selection of all PFCG roles with active (valid) full authorization (field value *) in the ACTVT field
You then see an overview of all roles with valid full authorization in the ACTVT field.
Example 3: Selection of all PFCG roles with blank authorization values
People who work with the Data Browser on a daily basis are often unsure about how they can select by blank fields. Simply entering a blank character in the selection field always results in an empty hit list.
All roles with valid, yet blank authorization field values are now selected.
Pathlock can help you adapt and streamline your SAP roles effectively, for example, by creating suitable role templates that save you time and money. Get in touch with us for a demo.
Share