How to access SAP HR Child Segments with Identity Mangers SAP HR driver.
Setup of IDoc Extension.
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
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.
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