Skip to main content
Version: 2024.04

SAP CriticalPermissions Monitor

Displays the number of users which have the defined roles, profiles or authorization objects or a combination of them assigned.

General

ExecutableSAP CriticalPermissions Monitor.exe
Connection methodRFC
Ports
  • 33$$
  • 48$$ (SNC)

($$ = Instance number)

Default parameters

Parameter namePossible valuesDefaultDescription
Host<ip> | <hostname>emptyHostname or IP of the target system. If you use a virtual hostname on your SAP servers, please use also the virtual host to connect.
SAPSIDstring (3) | XXXemptySID of the SAP system
SAPInstancenumber (2) | 00 - 99emptyInstance number of the SAP system
SAPClientnumber (3) | 000 - 999emptySAP Client (CLNT/MANDT)
SAPUsernamestringemptySAP user
SAPPasswordstringemptyPassword of the SAP user

Sensor-specific parameters

Parameter namePossible valuesDefaultDescription
ExcludedUsers<user1>[,<user2>[,<user3>[,...]]]NONEUsers to exclude from the check (comma separated)
ConditionsFILE:SAP_ALL.preset

Conditions for the permission checks.
The parameter can be maintained as follows:

  • Using custom set of conditions from file in SAP_CriticalPermissions_Monitor folder
    Syntax:
    FILE:<filename>

  • Use single line condition in Profiler GUI
    Syntax:
    [+]<channel name>#<condition1> [ <operator><condition2> [ <operator><condition3> [ … ] ] ]

Check section Preset syntax to see how to define presets.

Presets

File nameDescription
Developer.presetA few examples for developer permissions like S_DEVELOP authorization object or table maintenance.
SAP_ALL.presetCheck for users with profile SAP_ALL

Preset Syntax

A preset file can have one or more conditions per line. A PRTG channel will be generated for each line. The conditions in one line can be combined by $ (AND) or | (OR). A mixup of $ and | is not possible but will be supported in future releases. An expression of multiple conditions has the following form. Anything enclosed in square brackets is optional:

[+]<channel name>#<condition1>[<operator><condition2>[<operator><condition3>[…]]]
+If a line is prefixed by +, the sensor will print the usernames of the affected users to the sensor message. Please note that the PRTG sensor message is limited to 2000 characters.
<channel name>The channel name can be a word or short sentence which represents the meaning of the conditions.
<condition>

A condition has the following syntax:

<type>!<name>[<values>]
<type>

The following types are supported:

  • ROLE (ABAP Role)
  • PROFILE (ABAP Profile)
  • OBJ (ABAP Authorization Object)
<name>

Name of the role, profile or authorization object.
E.g.

  • Role: SAP_BC_BASIS_ADMIN
  • Profile: SAP_ALL
  • Authorization object: S_DEVELOP
<values>

Only required for authorization objects. One or more field-value pairs can be defined.

<field>=<value>[,<field>=<value>,[…]]

Examples:

  • ROLE!SAP_BC_BASIS_ADMIN
  • PROFILE!SAP_ALL
  • OBJ!S_DEVELOP:ACTVT=02,OBJTYPE=DEBUG
  • OBJ!S_TCODE:TCD=SE16N
<operator>
  • $ (AND)
  • | (OR)

The operators cannot be combined in a single line. More complex conditions will be supported in future releases.

Examples

  • Check if a user exists which has ROLEA and ROLEB assigned and print the usernames to the sensor message.

    +Check ROLEA – ROLEB#ROLE!ROLEA$ROLE!ROLEB
  • Check if there are users with profile SAP_ALL or authorization object S_DEVELOP with specific values assigned.

    SAP_ALL or S_DEVELOP#PROFILE!SAP_ALL|OBJ!S_DEVELOP:ACTVT=02,OBJTYPE=DEBUG

Channels

Channel nameDescriptionLookup file
<Defined name for the condition in the preset file>Number of users for which the condition mets.

Important notes

info

To make sure the sensor is acting as expected, please do some tests and check if the sensor is showing the correct values by assigning some users the permissions you defined for the check.

warning

The count and complexity of conditions can highly impact sensor and system performance. Therefore a check interval lower than 15 minutes is not recommended.

Changelog

VersionChanges
2024.04Improved performance by not loading unnessessary data
2022.12First stable release