How to Link Child Segments or Extensions in SAP HR with Identity Manager

  • 7003379
  • 06-Apr-2012
  • 26-Apr-2012

Environment

Novell Identity Manager Driver - SAP HR

Situation

How to access SAP HR Child Segments with Identity Mangers SAP HR driver.

Resolution

Child segments are just extensions and this tells you how to link to them.

Setup of IDoc Extension.



  1. WE31 – create new Idoc Segments


Created new segment e.g. Z1Z0001 with the following fields :


Position Field name Data element

1 ENDDA ENDDA

2 BEGDA BEGDA

3 SEQNR SEQNR

4 BUKRS BUKRS

5 WERKS PERSA

6 BTRTL BTRTL


Naming of th extension is important. Characters 3 to 7 in the extension name must be unique. For example if you name the extension Z1P0001 it will be recognized by the driver as the same as segment E1P0001.

Field mapping in the SAP HR driver will be characters 3 to 7 followed by the field name and offset. e.g. Z0001:BEGDA:none:27:8


  1. WE30 - Create Customer Extension Idoc Type ZRMD_A


In WE30 enter Obj. name = ‘ZRMD_A’, choose ‘Extension’ and hit create.


Choose ‘Create new’ with linked Basic Type ‘HRMD_A05’.

Description ‘HRMD_A Idocs with extra segment’.


Insert the ‘Z1Z0001’ segment as a child segment of E1PLOGI.

Extra segments will also need to be added here for further infotypes.



  1. WE82 – Assign Extension to Logical Message Type


To be able to use the extension we have to say which Message Type it is associated with.


In WE82 add the new Idoc extension to message type HRMD_A:


Message type Basic type Extension Release

HRMD_A HRMD_A05 ZRMD_A 46C