Definition
The SAP Replication task extracts the entire SAP authorization model into a Memority technical staging repository; via built-in inbound import functionalities, this authorization model can then be imported into Memority as standard IM Roles and Resources, and presented within the user portal.
A SAP Replication Task goes thus hand-to-hand with:
-
a SAP Transaction Connector, aimed at importing replicated SAP transactions into Memority as IM
Resources, see SAP Transaction Connector -
a SAP Transaction Connector, aimed at importing replicated SAP roles into Memority as IM
Roles, see SAP Role Connector
To trigger an SAP Replication Task, an Orchestration Task must be configured, encompassing:
-
the SAP Replication task
-
the SAP Transaction import task
-
the SAP Role import task
This is represented in SAP Role Connector
It is also possible to trigger a SAP Replication Task via API.
Configuration
You can access the SAP Replication Task Definition configuration :
-
by clicking on "Synchronization" → "Replication Tasks"
-
by clicking on "System" → "Configurations"->”Synchronization Service” and perform an import/export.
Properties
General properties
|
Property Name |
Type |
Mandatory |
Description |
|---|---|---|---|
|
id |
|
YES |
The task identifier. |
|
name |
|
YES |
The task name. |
|
description |
|
NO |
The task description. |
Replication properties
|
Property Name |
Type |
Mandatory |
Description |
|---|---|---|---|
|
sapConnectorId |
|
YES |
SAP connector definition id |
|
sapInstanceId |
|
YES |
An arbitrary “SAP Destination name”, aimed at uniquely identifying the target SAP System instance. For example: This can be any value, but it must be consistent with one configured in the SAP Transaction and Role connectors participating in the same Orchestration Task. For more information see SAP Transaction Connector |
|
replicationTaskPostProcessingId |
|
NO |
The id of the Replication Task Post Processing Definition holding the post processing task settings (see Replication Task Post Processing Definition). |
Filtering properties
|
Property Name |
Type |
Mandatory |
Description |
|---|---|---|---|
|
transactionsFilterRule |
|
NO |
Filter rule for transactions replication, enabling to ignore some transactions. It is a boolean “Condition Rule”. If configured, then the SAP transaction must match the Condition Rule (by returning |
|
rolesFilterRule |
|
NO |
Filter rule for roles replication, enabling to ignore some roles. It is a boolean “Condition Rule”. If configured, then the SAP role must match the Condition Rule (by returning If role “A” is filtered out, and role “B” references role A, then B won’t be replicated either. |
Paging properties
|
Property Name |
Type |
Mandatory |
Description |
|---|---|---|---|
|
pageSize |
|
NO |
SAP page size for replication. Default value is 5000. |
Scheduling properties
|
Property Name |
Type |
Mandatory |
Description |
|---|---|---|---|
|
executionPlan |
- |
NO |
Configure the execution plan if the task is scheduled (see Execution Plan). |
REST API
Memority Syncronization service exposes the following replication REST API.
Example
Here is a simple XML representation of a SAP Replication Task Definition.
<dmn:SapReplicationTaskDefinition id="sapReplicationTask">
<name>sapReplicationTask</name>
<description>Description of SAP replication task</description>
<active>true</active>
<pageSize>5000</pageSize>
<sapConnectorId>sap-connector</sapConnectorId>
<sapInstanceId>S4HCLNT200</sapInstanceId>
<transactionsFilterRule>
<script>
<![CDATA[((String) ACCOUNT.value('TCODE'))?.startsWith('/AIF')]]>
</script>
</transactionsFilterRule>
<rolesFilterRule>
<script>
<![CDATA[((String) ACCOUNT.value('AGR_NAME'))?.startsWith('SAP_')]]>
</script>
</rolesFilterRule>
</dmn:SapReplicationTaskDefinition>