Skip to Content
Author's profile photo Abhijit Dangat

HR Master Data Distribution using ALE-IDOCS

Introduction :

This Document demonstrates a practical approach to distribute HR / HCM Master data for standard Infotypes and HRP master tables.

The data distribution is from one SAP system to another SAP system.

I have implemented and tested this Approach on ECC 6 SAP systems.

System Versions :

Sending System is on ECC 6  ( SP level 47 )

Receiving system is on ECC 6  ( SP level 97 )

Please note : It is not mandatory to have both systems on ECC6 with specified SP levels in order to distribute data.

Skills :

You need to have a sound background on working of ALE-IDOCS and IDOC extension and IDOC enhancements.

You need to have good understanding of HR processes and master data concepts.

In addition to implement this strategy, consulting team needs to have a HCM Functional consultant.

Requirement in Brief :

  • Create records for listed Infotypes in Partner system.

        Infotypes like PA0000, PA0001, PA0002, PA0006, PA0022, PA0027, PA0041, PA0105 and several tables like HRP1001, HRP1002 etc.

        This is for Cutover requirement.

  • Post Cutover, delta records / updates in records to be transported to Partner system.

Solution :

The following configuration needs to be done in SENDING system :

  • Configure Logical system for your Partner system ( TCODE : SALE ) .

        This configuration is usually done by Basis Consultants


  • Create Partner Profile for your Partner system ( TCODE : WE20 ).

        Maintain Message types HRMD_A and SYNCH.


        SYNCH message type is not explicity required but in case you will be distributing Distribution Model,

        system will ask you to maintain SYNCH message type.


  •      Create PORT ( TCODE : WE21 ) of type tRFC.

             You need to specify PORT while adding Message type in Partner Profile.

  •      Get RFC created from BASIS consultant connecting to the receiving system.


  • Create Distribution Model ( TCODE : BD64 ) and add Message type HRMD_A here


  • This is the most IMPORTANT part. Creating Filter Group in Distribution Model.

        I have created filter for Infotype 0001 which means only Infotype 0001 data will be distributed to receiving system.

        we can add required Infotypes in this Filter Group to extend scope of data distribution.

        If we do NOT create any filter group, then all Infotypes and HRP tables data ( specified in IDOC : HRMD_A07 ) will be distributed


The following configuration needs to be done in RECEIVING system :

  • Logical system settings ( TCODE : SALE ).
  • Partner Profile configuration for Incoming Message type HRMD_A ( TCODE : WE20 ).

Master Data Distribution Program :

  • Execute Program RHALEINI  ( TCODE : PFAL ) in Sending system . Specify required Object Type, ID etc. before executing.

        Choose INSERT Radiobutton for ‘Transfer Mode’ as the data is sent for first time to Receiving system.


  • As we see Outbound IDOCS have been generated from Sending system ( TCODE : WE02 / 05 ).


  • Check for Inbound IDOCS in Receiving system.


  • Some Inbound IDOCS may have errors . Reason will be some HR specific Data and config issues in Receiving system.

        Take help of HR Functional consultant for this configuration and data issues and send data again.

Inbound Error.png

Initial approach suggested for this requirement was download data from Sending system in excel file and upload it in Receiving system

using programs and BAPI call.

Advantages of this approach :

Development time is significantly reduced as ALE standard settings are required to transfer data

  • After Cutover activity, updates / changes to Master data can be handled automatically using Change pointers .
  • This does not require any manual intervention apart from scheduling RBDMIDOC program.

I will be covering Delta updates to Master Data using Change pointers and UPDATE Mode of program RHALEINI in next document.

Assigned Tags

      You must be Logged on to comment or reply to a post.
      Author's profile photo Former Member
      Former Member


      Nice document

      thank you


      Praneeth kumar

      Author's profile photo Abhijit Dangat
      Abhijit Dangat
      Blog Post Author

      Thank you Praneeth !!

      Author's profile photo Former Member
      Former Member

      Good Document..Keep it up

      Author's profile photo Former Member
      Former Member

      Good Work Mate.....Nice document.



      Author's profile photo chandu balu
      chandu balu

      very useful document Abhijit Dangat,

      thanks . can you please provide a STEP-BY-STEP process for NON-SAP TO SAP ALE-IDOC configuration and document flow  with screen shorts please.....i have tried but proper document i did't get can you please help me 

      Author's profile photo preeti mund
      preeti mund

      Hi Abhijit, very useful information indeed!

      I am also requesting you to explain the process for NON SAP TO SAP IDOC configuration with some screenshots.  Thanks Preeti

      Author's profile photo Gopi Srinivasan
      Gopi Srinivasan


      Good one. Thanks. Friend.

      Author's profile photo Shabbir Ahmed
      Shabbir Ahmed


      Good Information. Thanks.

      I have a query.

      After running Tcode : PFAL (HR:ALE Distribution of HR Master Data) , I am getting the message " No data selected for distribution Message no. 5-033 "

      Tcode: PFAL

      Plan version : 01

      Object type : P

      Object ID : 123565 ( Employee No )

      After executing, the IDOC is not generating through PFAL.

      How to resolve the issue ?


      Thanks & Regards,