Setup Guide

SAP Provisioning plugin

Memority can provision an SAP R/3, SAP ECC, SAP S/4HANA system and import the SAP role model. As an option, SAP GRC Access Control can add Segregation of Duties (SoD) controls. Some prerequisites must be met on the SAP side before you install the plugin.

This page explains:

  • how SAP provisioning works in Memority,

  • the three SAP access governance models of the plugin,

  • the prerequisites on the SAP side,

  • how to install and use the plugin.

SAP is not provisioned through the generic REST connector. Memority connects to the SAP application server over RFC and calls the standard user management BAPIs.

Definitions

What is provisioning?

Provisioning creates, updates and deactivates accounts in the target application automatically. It keeps data consistent between Memority (the authoritative source) and the application (the target).

Once Memority provisions your application, do not create, modify or lock accounts directly in SAP. Memority does it for you.

With the SAP GRC Delegation model, SAP GRC creates the SAP user and writes its roles. Memority does not create, update, lock or delete the SAP user.

Which SAP objects can Memority manage?

With the Memority Native and GRC Risk Analysis models, the connector manages:

  • SAP user accounts (SU01 users): creation, update, lock, unlock and deletion,

  • the SAP roles (activity groups) assigned to each user.

With every model, Memority imports SAP roles and transactions (read only). You can then request and assign them from Memority. Who approves them depends on the governance model (see below).

What is SAP GRC used for?

SAP GRC Access Control can check SoD risks before an SAP role is granted. It can also handle the whole access request itself. The plugin supports three governance models. You choose one at installation.

Governance model

SoD control

Who approves the SAP role

Who writes the role into SAP

Memority Native Governance

Native Memority rules only. No call to SAP GRC.

Automatic approval (the SAP administrator who assigns the role is the control)

Memority

Memority Governance with SAP GRC Risk Analysis

SAP GRC risk analysis, called by Memority

Memority: automatic if no risk is found, human review otherwise

Memority

SAP GRC Delegation Governance

SAP GRC, inside its own access request

SAP GRC, with its own approval workflow

SAP GRC

Is SAP CUA supported by this plugin?

No. This version does not support Central User Administration. Memority connects directly to each SAP system (preprod and prod).

SAP CUA system can still be configured manually without plugin. Refer to: https://doc.memority.eu/configuration-guide/latest/sap-connector#Additional-SAP-CUA-Notes

SAP prerequisites

Network prerequisites

ID

Prerequisite

NET1

The SAP gateway port must be open from Memority to the SAP application server, for preprod and for prod. The port is 33<system number>. For example, it is 3300 for system number 00. You enter the system number in the plugin form.

NET2

With the GRC Risk Analysis and SAP GRC Delegation models, Memority must reach the SAP GRC web services over HTTP(S), at the URLs entered in the plugin form. These URLs use the ICM port, for example 50000.

NET3

SAP runs on premises. An IPsec tunnel must link the Memority network and the customer network that hosts SAP and SAP GRC. The tunnel carries the ports of NET1 and NET2. Request the tunnel from Memority support, see IPSec Tunnels Configuration. Memority support also enables the connection of the tenant to SAP and, with the GRC models, to the SAP GRC host. The plugin does not configure the network.

Technical user prerequisites

The Memority connector signs in to SAP with a dedicated technical user and its password.

ID

Prerequisite

AUTH1

Create a dedicated technical user on each SAP system connected to Memority (preprod and prod), in the client that Memority uses.

AUTH2

The technical user must be a non-dialog user (type System or Communication), so that it works only over RFC. Confirm the user type with your SAP BASIS team.

AUTH3

The technical user must be allowed to call these function modules over RFC: BAPI_USER_GETLIST, BAPI_USER_GET_DETAIL, BAPI_USER_CREATE1, BAPI_USER_CHANGE, BAPI_USER_DELETE, BAPI_USER_LOCK, BAPI_USER_UNLOCK, BAPI_USER_ACTGROUPS_ASSIGN, BAPI_USER_PROFILES_ASSIGN, BAPI_USER_SYSTEM_ASSIGN, BAPI_USER_LOCACTGROUPS_ASSIGN, BAPI_USER_LOCACTGROUPS_READ, BAPI_HELPVALUES_GET, BAPI_TRANSACTION_COMMIT, BAPI_TRANSACTION_ROLLBACK, RFC_GET_TABLE_ENTRIES, RFC_READ_TABLE, SUSR_USER_CHANGE_PASSWORD_RFC, SUSR_GENERATE_PASSWORD, SUSR_LOGIN_CHECK_RFC, SUSR_GET_ADMIN_USER_LOGIN_INFO, PASSWORD_FORMAL_CHECK. At the connection test, the connector checks that it can access each function module of this list. If one is missing, the test fails.

AUTH4

The technical user must be allowed to read these SAP tables over RFC: AGR_DEFINE, AGR_TEXTS, AGR_AGRS, AGR_TCODES, TSTC, TSTCT. The replication task reads the SAP roles and transactions from these tables with RFC_READ_TABLE.

The table below is a starting point for the role of the technical user. Your SAP BASIS team adapts it to your system and validates it. After a failed operation, transaction SU53 or the authorization trace (STAUTHTRACE) shows the missing authorization.

Authorization object

Values

Used for

S_RFC

RFC_TYPE = FUNC, RFC_NAME = the function modules of AUTH3, ACTVT = 16

Call the function modules over RFC. If your system does not support FUNC, use RFC_TYPE = FUGR with the function groups of these modules.

S_USER_GRP

CLASS = the user groups of the users that Memority manages, including the empty group, ACTVT = 01, 02, 03, 05, 06, 22

Create, change, read, lock, unlock and delete users. Assign roles.

S_USER_AGR

ACT_GROUP = the SAP roles that Memority assigns, ACTVT = 03, 22

Read and assign roles.

S_USER_PRO

PROFILE = the generated profiles of these roles, ACTVT = 22

Assign the profiles of the roles.

S_TABU_NAM

TABLE = the tables of AUTH4, ACTVT = 03

Read the tables of AUTH4. You can use S_TABU_DIS with the authorization groups of these tables instead.

To create the technical user on each SAP system:

Step

Screenshot

  1. In SAP GUI, log on to the client that Memority uses. Open transaction SU01.


  1. Enter the user name of the technical user (for example MEMORITY_TECH), then click Create.


  1. On the Address tab, enter a last name.


  1. On the Logon Data tab, select the user type System or Communication. Set the password.


  1. On the Roles tab, assign a role that gives the authorizations of AUTH3 and AUTH4.


  1. Save the user. Keep the user name and the password: you need them to install the plugin.


Data prerequisites

ID

Prerequisite

DATA1

The SAP user name is the Memority identity identifier (id). Memority sends it as is: it does not truncate it or convert it to upper case. The identifier must have 12 characters or less: for a longer identifier, the account creation fails. SAP user names are in upper case: use identifiers in upper case. No other SAP user in the client may already use the identifier. With the SAP GRC Delegation model, the GRC access request uses the same identifier: apply the same rules.

DATA2

Every identity to provision must have a last name. SAP requires it.

SAP GRC prerequisites

These prerequisites apply only to the GRC Risk Analysis and SAP GRC Delegation models. The customer's SAP BASIS and GRC teams configure them.

ID

Model

Prerequisite

GRC1

Both

A GRC connector points to the provisioned SAP system (for example BGRFC_SUPERVISOR2). The plugin form asks for its ID.

GRC2

Both

The GRC repository (users, roles, profiles, authorizations) is synchronized for this connector (transactions GRAC_USER_SYNC, GRAC_ROLE_SYNC, GRAC_PROFILE_SYNC, GRAC_AUTH_SYNC). A scheduled job runs this synchronization (program GRAC_REPOSITORY_OBJECT_SYNC, for example hourly). This synchronization is independent from the Memority role import.

GRC3

Both

Every SAP role that users can request has a generated authorization profile (PFCG).

GRC4

Both

A GRC service account is available for Memority, with Basic Authentication on the GRC web services. Memority uses this account for all GRC calls. With the SAP GRC Delegation model, it is also the requestor of the access requests created in GRC.

GRC5

GRC Risk Analysis

The risk analysis web service (GRAC_RISK_ANALYSIS_WOUT_NO_WS) is activated in SOAMANAGER.

GRC6

SAP GRC Delegation

The access request web services (GRAC_USER_ACCES_WS and GRAC_REQUEST_STATUS_WS) are activated in SOAMANAGER. The GRC access request approval workflow (MSMP) is configured.

GRC7

SAP GRC Delegation

Every SAP role that users can request from Memority exists in the GRC role repository for the connector, as a single role.

GRC8

SAP GRC Delegation

The business process BP_IT, request type 002 and priority 004 exist in the GRC configuration. These values are fixed in the generated workflow. If the customer's GRC uses other values, adapt the workflow after installation.

To activate a GRC web service (GRC5, GRC6) on the SAP GRC system:

Step

Screenshot

  1. In SAP GUI, open transaction SOAMANAGER.


  1. Open Web Service Configuration. Search for the service (for example GRAC_RISK_ANALYSIS_WOUT_NO_WS).


  1. Create a service endpoint with Basic Authentication over HTTPS.


  1. Save. Copy the URL of the endpoint: you enter it in the plugin form.


  1. Repeat for each web service of your model.


SAP Provisioning plugin

Memority provides a plugin in the MIT Plugin Store that configures SAP provisioning. The plugin generates all the configuration files that your tenant needs.

Prerequisites

In addition to the common plugin prerequisites, this plugin requires:

Prerequisite

Description

1

Tenant initialized with presets 3.3.0 or later

The plugin updates configuration files that are delivered with the presets. Its installation fails on older presets.

2

SAP systems configured

SAP, and SAP GRC if used, are configured as described above.

3

SAP administrators

The administrators who assign SAP roles must have the right adm.administrator-features with the target APP_CCC00040. With the GRC Risk Analysis model, the review task also goes to them. The plugin does not grant this right: give it to the SAP administrators, for example with a role that carries it. Without it, nobody can assign an SAP role.

Installation

The plugin is installed with the standard procedure described on the Memority Plugins page. This section only gives the information that is specific to the SAP Provisioning plugin.

Installation mode: single. You can install the plugin only once per project.

Choosing the SAP access governance model

You choose the governance model once, at installation. The model decides which form fields are displayed and which files are generated. The plugin removes the workflow variants and the settings of the models you did not select.

You cannot change the model afterwards. The model is stored in the sapGRC.mode setting, in the Business Service and in the Identity Service. Changing this setting in the administrator portal does not switch the configuration:

  • the active workflow rejects SAP role requests with a SAP_GRC_MODE_MISMATCH error,

  • existing SAP roles are not migrated.

A model change requires a controlled redeployment of the configuration.

Plugin form parameters

The form asks for each value for preprod and for prod.

The fields displayed depend on the selected model. The SAP connection fields are always displayed and required. The SAP GRC fields are displayed only with the model that uses them (see the "Displayed with" column). They are optional and pre-filled with placeholders (CHANGE_ME_... or example.com URLs), so the form accepts them as they are. Replace these placeholders with the customer's values. At the end of the installation, the plugin warns you if a GRC value still holds its placeholder.

Parameter

Displayed with

Description

Example

1

SAP access governance model

All models

Memority Native Governance, Memority Governance with SAP GRC Risk Analysis, or SAP GRC Delegation Governance. See above.

Memority Governance with SAP GRC Risk Analysis

2

SAP S/4HANA host - Preprod / Prod

All models

Host name or IP address of the SAP ABAP application server. Host only, without protocol or port.

sap-s4h-preprod.mycompany.com

3

SAP client - Preprod / Prod

All models

SAP client (mandant), 3 digits. The form does not check the format: enter the 3 digits (001, not 1).

100

4

SAP system number - Preprod / Prod

All models

Two-digit instance number of the SAP application server. It sets the gateway port 33<system number>. Default: 00.

00

5

SAP system id - Preprod / Prod

All models

System ID (SID) of the SAP system, 3 characters, in upper case. The form does not check the format.

S4Q / S4H

6

SAP technical RFC user - Preprod / Prod

All models

User name of the technical user (AUTH1).

MEMORITY_TECH

7

SAP GRC connector id - Preprod / Prod

GRC Risk Analysis, SAP GRC Delegation

ID of the GRC connector (GRC1).

BGRFC_SUPERVISOR2

8

SAP GRC risk analysis SOAP URL - Preprod / Prod

GRC Risk Analysis

Full URL of the risk analysis web service.

https://sap-grc.mycompany.com:50000/sap/bc/srt/rfc/sap/grac_risk_analysis_wout_no_ws/100/risk_analysis/risk_analysis

9

SAP GRC technical requestor email - Preprod / Prod

SAP GRC Delegation

Email of the requestor sent in GRC access requests.

sap-grc-tech@mycompany.com

10

SAP GRC access request submit SOAP URL - Preprod / Prod

SAP GRC Delegation

Full URL of the access request submission web service.

https://sap-grc.mycompany.com:50000/sap/bc/srt/rfc/sap/grac_user_acces_ws/100/grac_user_access/grac_user_access

11

SAP GRC access request status SOAP URL - Preprod / Prod

SAP GRC Delegation

Full URL of the request status web service.

https://sap-grc.mycompany.com:50000/sap/bc/srt/rfc/sap/grac_request_status_ws/100/grac_request_status/grac_request_status

With the SAP GRC Delegation model, the plugin reuses the SAP system ID and client for the GRC access requests. It does not ask for them again.

Secrets

The plugin never asks for passwords. In step 7 of the standard procedure, create these settings in the Memority administrator portal, in the preprod and prod environments:

  • SAP technical user password. Go to System → Settings → Synchronization Service. Create the setting sync.connectors.prov-sap-connector.secret of type SECRET, with the password of the technical user (AUTH1).

  • SAP GRC service account (GRC Risk Analysis and SAP GRC Delegation models only). Go to System → Settings → Business Service. Create the setting api.vault.sapGRC.credentials of type Credential, with the user name and password of the GRC service account (GRC4). All GRC calls use this credential.

Data import

The plugin generates one data file per environment. In step 10 of the standard procedure, import the application resource of the target environment: resources_pprod_ProvisioningSAP.json or resources_prod_ProvisioningSAP.json.

What does it do?

The generated configuration works out of the box, but it may need adjustments for specific client needs.

The plugin supports:

  • Account lifecycle (Memority Native and GRC Risk Analysis models).

    • Memority creates the SAP account when the identity receives its first SAP role. The account gets a random 16-character initial password, with letters (upper and lower case), digits and punctuation. The SAP password policy must accept it. Memority sets this password only at creation and never resets it later. Memority does not send this password to the user or to anyone else. The password is expired: SAP asks for a new one at the first logon. Give SAP access to the user another way, for example with SSO or with a password reset by your SAP help desk.

    • Memority updates the account when the identity attributes change.

    • Deactivating the identity locks the SAP account. Reactivating the identity unlocks it. Memority sets and removes the SAP local lock. Memority reads the account as active only when it has no local lock and no global lock.

    • Memority deletes the SAP account when the identity loses its last SAP role or is deleted.

      With the SAP GRC Delegation model, SAP GRC creates the SAP user. Memority does not create, update, lock or delete it.

  • Role and transaction import. SAP roles become sapRole roles (name, descriptions, parent and child roles, transactions). SAP transactions become sapTransaction resources.

  • Role assignment. Memority writes the SAP roles granted to an identity to its SAP activity groups. With the SAP GRC Delegation model, SAP GRC writes them instead.

  • Account discovery to find orphan accounts. The task reads the SAP users. It runs manually by default. You can schedule it with a CRON expression.

  • Dedicated screens. The plugin adds an SAP category to the portal menu, with the SAP roles and SAP transactions searches.

Importing the SAP roles and transactions

The orchestration task sync-sap-orchestrationTask imports SAP roles and transactions. It runs three tasks in sequence:

  1. the SAP replication,

  2. the transaction import,

  3. the role import.

If the replication fails, the two imports are skipped, so that Memority never imports from an outdated buffer.

Run the orchestration task once after installation, from the administrator portal. Then schedule it with a CRON expression, for example nightly. By default, it runs manually. Do not run the replication task on its own: always run the orchestration task, so that the imports follow the replication.

The replication reads the whole SAP authorization model into a Memority buffer: all SAP roles and transactions are imported, with no filter. It can take about 45 minutes. At the end of each replication, Memority sends a report by email to the user who launched the orchestration task. The error report is attached, if any. When you schedule the task, set the recipients of the report if needed: change the report actors in sync-sap-replicationTaskPostProcessing.xml.

Each import sets the role attributes of the plugin again (workflow, allowed identity types, requester, self-service). If you change them in the portal, the next import overwrites your change: change them in sync-sap-roles-application.xml instead.

Who can request and receive SAP roles

SAP roles are not available in self-service. Administrators of the SAP application assign them, from the SAP roles section of the identity screen.

By default, SAP roles can be assigned only to the myAdministrator and mySupport identity types. Memority refuses the assignment to other types. To allow other identity types, for example your employees:

  1. Add them to roleAllowedIdentityTypes in sync-sap-roles-application.xml.

  2. Deploy the configuration.

  3. Run the orchestration task sync-sap-orchestrationTask again, so that all existing SAP roles are updated.

How SAP role requests are handled

Memority Native Governance. The SAP role request workflow checks the configured governance model, then approves the request immediately. There is no approval task: only administrators of the SAP application can assign SAP roles, so their assignment is the control. Memority writes the role to the SAP account. Only the native Memority rules, if any, control SoD. If you need an approval step, add a user task to the generated file _sap-grc-role-request-approval-bpmn.xml. A new installation of the plugin replaces this file.

Memority Governance with SAP GRC Risk Analysis. Each SAP role request starts the workflow sap-grc-role-request-approval. Memority sends the requested role and the SAP roles that the identity already holds to the SAP GRC risk analysis.

  • If GRC reports no risk on the requested role, the role is granted automatically. Memority provisions it.

  • If GRC reports a risk on the requested role, Memority creates a review task for the administrators of the SAP application. The reviewer approves or rejects the request. A comment is mandatory. The task is due within 5 days. It is rejected automatically after 30 days without a decision. The task does not show the risks: they are in the audit log of the Business Service.

  • If Memority cannot run the risk analysis, the request also goes to human review. It is never granted without a check. Cases: the requested role has no SAP role name, the risk analysis URL or the GRC connector ID is empty or still holds its placeholder, GRC returns an HTTP error, or GRC returns an error message or an answer that is not a risk analysis. The reason is in the audit log of the Business Service. For an HTTP error, the HTTP status is in the logs of the Business Service.

SAP GRC Delegation Governance. Each SAP role request creates an access request in SAP GRC. The request contains the user's identifier, first name, last name and email, so that GRC can create the SAP user if needed. The role is requested for 10 years. Memority then checks the request status every 10 minutes.

GRC result

Result in Memority

GRC approves the request (OK)

SAP GRC has already provisioned the role in SAP. Memority grants the role and does not provision it again.

GRC rejects or cancels the request (FAILED or ABORTED)

Memority does not grant the role.

The request is still pending after 6 months

Memority rejects the request.

The submission fails, or GRC returns an unknown status

Memority rejects the request.

A GRC setting is empty or still holds its placeholder (submit URL, status URL, GRC connector ID, requestor email), or the requested role has no SAP role name

Memority rejects the request before any call to SAP GRC. The reason is in the audit log of the Business Service.

A status check gets an HTTP error from GRC

Memority retries at the next check. It rejects the request after 144 failed checks in a row (about 24 hours). It rejects at once on a redirect or a client error (for example wrong credentials or wrong URL).

The submission is never retried, to avoid duplicate requests in GRC.

While the GRC request is pending, the workflow shows a system task "SAP GRC Access Request - Pending" between two status checks. Do not complete it by hand.

Limitations

  • Workflow emails only for the risk review. Only the review task of the GRC Risk Analysis model sends emails. The SAP role request workflow sends no email when a request is approved or rejected automatically, or by SAP GRC.

  • The SAP account is always shown as out of sync. In the account status of the identity, the SAP account shows OUT_OF_SYNC even when it is correct. The account is provisioned, locked and unlocked correctly.

  • Removing the last SAP role deletes the SAP account (Memority Native and GRC Risk Analysis models). The account is not kept locked. This is the default of the plugin: to keep a locked account instead, change the delete and unassign reactions of prov-sap-application.xml after installation.

  • The initial password is not communicated. Memority does not send the SAP password to the user.

  • No account lifecycle with the SAP GRC Delegation model. Memority does not lock or delete the SAP user when the identity is deactivated or deleted.

  • The SAP account is not linked to the identity (SAP GRC Delegation model). SAP GRC creates the SAP user, so Memority shows it as not linked. Account discovery reports it.

  • Removing an SAP role in Memority does not remove it in SAP (SAP GRC Delegation model). Remove the role in SAP GRC.

  • SoD is evaluated role by role (GRC Risk Analysis model). When a request contains several SAP roles, Memority evaluates each role separately, against the roles already assigned. For two conflicting roles, Memority grants the first role evaluated and detects the conflict on the second one.

  • SoD is evaluated once, when the request is created (GRC Risk Analysis model). Memority does not detect a conflict created later, when another request is approved in parallel.

  • GRC outages are not handled. When SAP GRC is unreachable or does not answer in time, the workflow step fails. The same applies when the api.vault.sapGRC.credentials credential does not exist.

  • A request rejected or cancelled in Memority can stay open in GRC (SAP GRC Delegation model). The requester can cancel the request in Memority, but Memority does not cancel the GRC request. Close it in GRC if needed.

  • Roles are requested as single roles (SAP GRC Delegation model). If the role is missing from the GRC role repository, GRC returns an HTTP 500 error without detail. Composite and derived roles are not validated.

  • The rights of SAP roles are not updated retroactively. The rights carried by an SAP role are set when the role is created or modified, not on existing roles.

  • No SAP license management. The plugin does not map or create SAP licenses.

Technical details

Attribute mapping

Memority attribute

SAP field

Notes

id

User name

Correlation key. 12 characters maximum.

firstName

ADDRESS.FIRSTNAME


lastName

ADDRESS.LASTNAME

Mandatory in SAP

email

ADDRESS.E_MAIL


enabled

Lock status

Lock and unlock set the local lock.

*(generated)*

Password

Random 16-character initial password, at creation only. Expired at the first logon. Not sent to the user.

SAP roles

ACTIVITYGROUPS.AGR_NAME

Not written by Memority with the SAP GRC Delegation model.

Job title and mobile number are not provisioned.

Generated files

File

Path

Description

prov-sap-connector.xml

im/sync/src/main/resources/ConnectorDefinition/Plugins/ProvisioningSAP/

Native SAP connector (BAPI over RFC)

prov-sap-application.xml

im/sync/src/main/resources/Application/Plugins/ProvisioningSAP/

Attribute mapping, correlation, account lifecycle

prov-sap-applicationProfile.xml

im/sync/src/main/resources/ApplicationProfile/Plugins/ProvisioningSAP/

Links the application to the provisioning right

sync-sap-role-connector.xml, sync-sap-transaction-connector.xml

im/sync/src/main/resources/ConnectorDefinition/Plugins/ProvisioningSAP/

Read roles and transactions from the replication buffer

sync-sap-roles-application.xml, sync-sap-transactions-application.xml

im/sync/src/main/resources/Application/Plugins/ProvisioningSAP/

Map imported roles and transactions

sync-sap-replicationTask.xml

im/sync/src/main/resources/ReplicationTaskDefinition/Plugins/ProvisioningSAP/

Replication of the SAP authorization model

sync-sap-replicationTaskPostProcessing.xml

im/sync/src/main/resources/ReplicationTaskPostProcessingDefinition/Plugins/ProvisioningSAP/

Replication report

sync-sap-roles-syncTask.xml, sync-sap-transactions-syncTask.xml

im/sync/src/main/resources/SynchronizationTaskDefinition/Plugins/ProvisioningSAP/

Import of roles and transactions

sync-sap-orchestrationTask.xml

im/sync/src/main/resources/OrchestrationTaskDefinition/Plugins/ProvisioningSAP/

Replication, transaction import, role import, in sequence

accountDiscovery-sap-TaskDefinition.xml

im/sync/src/main/resources/AccountDiscoveryTaskDefinition/Plugins/ProvisioningSAP/

Account discovery

sync.connectors.prov-sap-connector.*.xml

im/sync/src/main/resources/Setting/Plugins/ProvisioningSAP/

SAP connection settings

api.settings.sapGRC.*.xml

im/bum/src/main/resources/Setting/Plugins/ProvisioningSAP/

Governance model, and SAP GRC settings of the selected model

api.settings.sapGRC.mode.xml

im/idm/src/main/resources/Setting/Plugins/ProvisioningSAP/

Governance model, for the Identity Service

_sync.connectors.prov-sap-connector.secret.xml, _api.vault.sapGRC.credentials.xml

Setting/Plugins/ProvisioningSAP/ of im/sync and im/bum

Reminders for the secrets. Not deployed.

sap-grc-role-request-approval.xml, _sap-grc-role-request-approval-bpmn.xml

im/bum/src/main/resources/Workflow/Role/Plugins/ProvisioningSAP/

SAP role request workflow of the selected model

role-sap-*.xml, resource-sapTransaction-*.xml

im/bum/src/main/resources/FeatureConfiguration/Roles/Plugins/ProvisioningSAP/, .../Resources/Plugins/ProvisioningSAP/

SAP role and SAP transaction screens

role-sapRole-rightBindings-lifeCyclePolicy.xml

im/idm/src/main/resources/ObjectLifecyclePolicy/Role/Plugins/ProvisioningSAP/

Rights carried by SAP roles, by model

sapRole.xml, sapTransaction.xml

im/idm/src/main/resources/RoleType/Plugins/ProvisioningSAP/, im/idm/src/main/resources/ResourceType/Plugins/ProvisioningSAP/

SAP role type and SAP transaction type

app.prov.APP_CCC00040.xml, app.access.APP_CCC00040.xml

im/idm/src/main/resources/Right/Application/Plugins/ProvisioningSAP/

Provisioning right and access right

SYN2-sync-sap-replicationTask-emailDefinition.xml

shared/ntf/src/main/resources/EmailNotificationDefinition/Plugins/ProvisioningSAP/

Replication report email

resources_pprod_ProvisioningSAP.json, resources_prod_ProvisioningSAP.json

im/idm/src/main/data/Plugins/ProvisioningSAP/

SAP application resource, one per environment

Updated files

File

Path

Description

_citadel-i18n_export.xml

shared/i18n/src/main/resources/

SAP labels, in French and English

report-prov-applications.xml

im/idm/src/main/resources/ReferenceTable/

Adds the SAP application to the provisioning monitoring

roleWorkflow.xml

im/idm/src/main/resources/ReferenceTable/

Adds the SAP role request workflow

commonPublication.xml

im/idm/src/main/resources/RolePublicationType/

Allows the publication of SAP roles

identity-common-role.xml

im/bum/src/main/resources/FeatureConfiguration/Identity/Common/

SAP roles view on the identity screen

role-common-audit.xml

im/bum/src/main/resources/FeatureConfiguration/Roles/

Adds SAP roles to the role audit screen

ui.usr.menu.entries.xml

im/bum/src/main/resources/Setting/

SAP menu category

administrator-featureAccessPolicy.xml

im/bum/src/main/resources/FeatureAccessPolicy/

Grants the SAP screens to administrators

vars_preprod.properties, vars_prod.properties

im/sync/, im/idm/, im/bum/

SAP connection, governance model and SAP GRC variables

Troubleshooting

For issues with the Plugin Store itself (plugin not found, installation error), see the troubleshooting section of the Memority Plugins page.

The installation of the plugin fails

  • Cause: The installation stopped before the end. The plugin removes the files of the failed installation. The changes already applied to existing files stay. The next installation skips them.

  • Fix: Fix the cause given in the error message, then install the plugin again. Start each installation from a project with no uncommitted change.

The installation fails with "Don't override file"

  • Cause: A file of an older failed installation is still in the tenant project.

  • Fix: Restore the last commit of the tenant project, or delete the *-structure.xml and *-tmpCheckOngoing* files. Then install the plugin again.

RFC connection error or timeout

  • Cause: Wrong connection values, or the gateway port is closed.

  • Fix: Check the host, system ID, client and system number entered in the form. Check that the IPsec tunnel is up and that port 33<system number> is reachable from Memority (NET1, NET3). For more detail, turn on the logs of the Synchronization Service in the administrator portal.

The connection test fails with these BAPI functions are not accessible

  • Cause: The technical user cannot access one or more function modules of AUTH3. The message lists them.

  • Fix: Give the technical user the missing RFC authorizations, then run the connection test again.

The account creation fails with is longer then maximal length in SAP 12

  • Cause: The identity identifier has more than 12 characters (DATA1).

  • Fix: Use identifiers of 12 characters or less for the identities to provision.

Authorization error on account creation or update

  • Cause: The technical user is missing an authorization on one of the function modules of AUTH3.

  • Fix: Check the authorization error in SAP (transaction SU53 for the technical user).

No SAP roles in Memority

  • Cause: The orchestration task did not run, or the replication failed.

  • Fix: Run the orchestration task sync-sap-orchestrationTask from the administrator portal. The replication can take about 45 minutes. If the replication fails, the imports do not run: check the replication report.

No replication report received

  • Cause: The user who launched the orchestration task has no email address, or the task runs on a schedule.

  • Fix: Check that this user has an email address in Memority. For a scheduled task, set the recipients of the report in sync-sap-replicationTaskPostProcessing.xml.

SAP account deleted after a role removal

  • Cause: The identity lost its last SAP role. This is the expected behavior. See Limitations.

SAP role requests fail with SAP_GRC_MODE_MISMATCH

  • Cause: Someone changed the sapGRC.mode setting after installation. It no longer matches the generated workflow.

  • Fix: Restore the original value in the Business Service and in the Identity Service. See Choosing the SAP access governance model.

GRC Risk Analysis model: a risk is detected on only one of two conflicting roles

  • Cause: SoD is evaluated role by role. This is the expected behavior. See Limitations.

GRC Risk Analysis model: no risk detected while one is expected

  • Cause: The GRC repository is not up to date, or a role has no generated profile.

  • Fix: Check that the GRC repository is synchronized for the connector (GRC2) and that the roles have a generated profile (GRC3).

GRC Risk Analysis model: every request goes to human review

  • Cause: Memority cannot run the risk analysis.

  • Fix: Read the reason in the audit log of the Business Service (sap-grc-role-request-approval ... sent to human review). Check that the risk analysis URL and the GRC connector ID hold the customer's values, not the placeholders. Check the user name and the password of the api.vault.sapGRC.credentials credential: wrong values give an HTTP error. Check the network access to SAP GRC (NET2). If GRC returns an error message (a message type that starts with E or A, for example ERROR), check in GRC that the connector, the user and the role exist.

SAP GRC Delegation model: every role request is rejected at once

  • Cause: A GRC setting is empty or still holds its placeholder, or the GRC service account credential has no user name. Memority rejects the request before any call to SAP GRC.

  • Fix: Look for missing in the audit log of the Business Service: the message names the missing value. Check the settings sapGRC.accessRequestSubmitUrl, sapGRC.accessRequestStatusUrl, sapGRC.connectorId, sapGRC.technicalRequestorEmail, sapGRC.systemId, sapGRC.client, and the api.vault.sapGRC.credentials credential.

A GRC call fails with a network error (NETWORK_ACCESS_DENIED)

  • Cause: A GRC URL is malformed or not allowed.

  • Fix: Check the GRC URL settings in the administrator portal: each one must be a complete URL, entered once. Check with Memority support that the connection of the tenant to the SAP GRC host is enabled (NET3).

SAP GRC Delegation model: HTTP 500 error when a role is requested

  • Cause: GRC could not find the requested role.

  • Fix: Check that the role exists in the GRC role repository for the connector, as a single role (GRC7). The error detail (RABAX / ASSERTION_FAILED) is visible in SAP transaction ST22.

SAP GRC Delegation model: the request stays pending

  • Cause: The request is waiting for approval in SAP GRC.

  • Fix: Check its status and current stage in GRC. Memority checks the status every 10 minutes. Without a decision after 6 months, Memority rejects the request automatically.

SAP GRC Delegation model: a request is rejected in Memority but still open in GRC

  • Cause: The requester cancelled the request in Memority, or Memority rejected it after a status check error: wrong credentials, wrong URL, or an HTTP error from SAP GRC at each check for about 24 hours.

  • Fix: Look for access request poll in the logs of the Business Service. Check the sapGRC.accessRequestStatusUrl setting and the api.vault.sapGRC.credentials credential. Close the request in GRC if needed, then submit it again from Memority.