Ident_SAPEPUM_Sync

Workflow for Export from Identity Store and Import to SAP NetWeaver UM and backwards

Ident_SAPEPUM_Sync synchronizes the Identity Store and SAP NetWeaver User Management in both directions. It first sends account and group changes from the Identity Store to SAP NetWeaver User Management and then reads account and group changes from that system back into the Identity Store.

Use this workflow for scheduled bidirectional synchronization when SAP NetWeaver User Management remains an active source as well as a target of changes.

The workflows in this reference are delivered as factory data and are loaded into the Connectivity configuration database during the initial configuration. They are samples: use the Identity Manager to copy a workflow into your own scenario and adapt the copy. Do not change the delivered objects, because a product update can replace them.

At a Glance

Name

Ident_SAPEPUM_Sync

Category

Target Scheduled / SAPEPUM

Technology

Tcl-based scheduled workflow

LDAP object class

dxmWorkflow

Workflow type

Sync

Connected system / controller type

-

Configuration wizard

LDAP-LDAP,SAPEPUM

Active in the factory data

not set

Factory data version

7.0

Factory data path

Workflows/Default/Target Scheduled/SAPEPUM/Ident_SAPEPUM_Sync

Prerequisites

  • Configure SAP-EP-UMAgent so that it can connect to SAP NetWeaver User Management.

  • Configure MetaCP for the corresponding target system subtree in the Identity Store.

Workflow and Activities

Step Activity Description Agent Runs after

1

Ident2SAPEPUM_SyncAccount_MetaCP

export of accounts

MetaCP

start activity

2

Ident2SAPEPUM_SyncAccount_UMAgent

import of accounts

SAP-EP-UMAgent

Ident2SAPEPUM_SyncAccount_MetaCP

3

Ident2SAPEPUM_SyncGroup_MetaCP

Export of groups

MetaCP

Ident2SAPEPUM_SyncAccount_UMAgent

4

Ident2SAPEPUM_SyncGroup_UMAgent

Import of groups

SAP-EP-UMAgent

Ident2SAPEPUM_SyncGroup_MetaCP

5

SAPEPUM2Ident_SyncAccount_UMAgent

export of accounts from sapep

SAP-EP-UMAgent

Ident2SAPEPUM_SyncGroup_UMAgent

6

SAPEPUM2Ident_SyncAccount_MetaCP

import of accounts to role

MetaCP

SAPEPUM2Ident_SyncAccount_UMAgent

7

SAPEPUM2Ident_SyncGroup_UMAgent

export of groups from sapep

SAP-EP-UMAgent

SAPEPUM2Ident_SyncAccount_MetaCP

8

SAPEPUM2Ident_SyncGroup_MetaCP

import of groups to role

MetaCP

SAPEPUM2Ident_SyncGroup_UMAgent

Jobs and Agents

Activity Job Agent Operation Input channel Output channel

Ident2SAPEPUM_SyncAccount_MetaCP

Ident2SAPEPUM_SyncAccount_MetaCP

MetaCP

Full Export

Ident2SAPEPUM_SyncAccount

OutData

Ident2SAPEPUM_SyncAccount_UMAgent

Ident2SAPEPUM_SyncAccount_UMAgent

SAP-EP-UMAgent

Full Export

InData

Ident2SAPEPUM_SyncAccount

Ident2SAPEPUM_SyncGroup_MetaCP

Ident2SAPEPUM_SyncGroup_MetaCP

MetaCP

Full Export

Ident2SAPEPUM_SyncGroup

OutData

Ident2SAPEPUM_SyncGroup_UMAgent

Ident2SAPEPUM_SyncGroup_UMAgent

SAP-EP-UMAgent

Full Export

InData

Ident2SAPEPUM_SyncGroup

SAPEPUM2Ident_SyncAccount_UMAgent

SAPEPUM2Ident_SyncAccount_UMAgent

SAP-EP-UMAgent

Full Export

SAPEPUM2Ident_SyncAccount

OutData

SAPEPUM2Ident_SyncAccount_MetaCP

SAPEPUM2Ident_SyncAccount_MetaCP

MetaCP

Delta Import

InData

SAPEPUM2Ident_SyncAccount

SAPEPUM2Ident_SyncGroup_UMAgent

SAPEPUM2Ident_SyncGroup_UMAgent

SAP-EP-UMAgent

Full Export

SAPEPUM2Ident_SyncGroup

OutData

SAPEPUM2Ident_SyncGroup_MetaCP

SAPEPUM2Ident_SyncGroup_MetaCP

MetaCP

Delta Import

InData

SAPEPUM2Ident_SyncGroup

Configuration Parameters

Table 1. Parameters of job Ident2SAPEPUM_SyncAccount_MetaCP
Parameter Default value

debug_trace

0

delta_mode

delta-or-full

delta_on

1

exact_action

FALSE

init_mode

REAL

max_trace_entries

10

min_source_entries

0

notify_not_ok

0

statistics

TRUE

test_mapping_only

FALSE

test_max_entries

0

trace_level

1

trace_recordcount

0

Table 2. Parameters of job Ident2SAPEPUM_SyncAccount_UMAgent
Parameter Default value

connector_tracelevel

1

connector_tracetail

20

controller_tracelevel

1

Table 3. Parameters of job Ident2SAPEPUM_SyncGroup_MetaCP
Parameter Default value

debug_trace

0

delta_mode

delta-or-full

delta_on

1

exact_action

FALSE

init_mode

REAL

max_trace_entries

10

min_source_entries

0

notify_not_ok

0

statistics

TRUE

test_mapping_only

FALSE

test_max_entries

0

trace_level

1

trace_recordcount

0

Table 4. Parameters of job Ident2SAPEPUM_SyncGroup_UMAgent
Parameter Default value

connector_tracelevel

1

connector_tracetail

20

controller_tracelevel

1

Table 5. Parameters of job SAPEPUM2Ident_SyncAccount_UMAgent
Parameter Default value

connector_tracelevel

1

connector_tracetail

20

controller_tracelevel

1

Table 6. Parameters of job SAPEPUM2Ident_SyncAccount_MetaCP
Parameter Default value

debug_trace

0

delta_mode

full

delta_on

0

exact_action

FALSE

init_mode

REAL

max_trace_entries

10

min_source_entries

0

notify_not_ok

0

statistics

TRUE

test_mapping_only

FALSE

trace_level

1

trace_recordcount

0

Table 7. Parameters of job SAPEPUM2Ident_SyncGroup_UMAgent
Parameter Default value

connector_tracelevel

1

connector_tracetail

20

controller_tracelevel

1

Table 8. Parameters of job SAPEPUM2Ident_SyncGroup_MetaCP
Parameter Default value

debug_trace

0

delta_mode

full

delta_on

0

exact_action

FALSE

init_mode

REAL

max_trace_entries

10

min_source_entries

0

notify_not_ok

0

statistics

TRUE

test_mapping_only

FALSE

trace_level

1

trace_recordcount

0

A Tcl-based workflow runs scheduled in the C++-based Server (IdS-C). Its activities run in the order defined by the dxmPredecessorActivity-DN chain, and each activity starts a job that runs one agent with one input and one output channel. Agents exchange their data through files or directly through the meta controller, so a typical workflow consists of an export activity that writes the data of the connected system and an import activity that maps and loads that data into the Identity Store.

You start these workflows manually from the Identity Manager or attach them to a schedule.

In this workflow, the C++-based Server runs these activities in sequence:

  1. Ident2SAPEPUM_SyncAccount_MetaCP exports account changes from the Identity Store.

  2. Ident2SAPEPUM_SyncAccount_UMAgent imports those account changes into SAP NetWeaver User Management.

  3. Ident2SAPEPUM_SyncGroup_MetaCP exports group changes from the Identity Store.

  4. Ident2SAPEPUM_SyncGroup_UMAgent imports those group changes into SAP NetWeaver User Management.

  5. SAPEPUM2Ident_SyncAccount_UMAgent exports account changes from SAP NetWeaver User Management.

  6. SAPEPUM2Ident_SyncAccount_MetaCP imports those account changes into the Identity Store.

  7. SAPEPUM2Ident_SyncGroup_UMAgent exports group changes from SAP NetWeaver User Management.

  8. SAPEPUM2Ident_SyncGroup_MetaCP imports those group changes into the Identity Store.

If one activity fails, the workflow stops at that point and the remaining activities do not run.

Operation

  1. Start Ident_SAPEPUM_Sync manually or on a schedule.

  2. The workflow begins with the Identity Store to SAP direction by exporting accounts with MetaCP and importing them with SAP-EP-UMAgent, then repeating the same pattern for groups.

  3. After the outbound pass finishes, the workflow changes direction and exports accounts from SAP NetWeaver User Management with SAP-EP-UMAgent before importing them into the Identity Store with MetaCP.

  4. It then repeats the return pass for groups so that both object types are processed in both directions during the same run.

  5. When the workflow completes successfully, the scheduled run has applied outbound changes to SAP NetWeaver User Management and has imported the latest returned account and group data into the Identity Store.