Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

HR data transfer idoc program

Former Member
0 Likes
1,160

Hi All,

Can anyone plesase give me a sample Idoc program for transferring HR master data - e.g. to move data of infotype 0001 and 0002 or any other infotype - from one sap system to another through ALE???

Thanks for your support

1 ACCEPTED SOLUTION
Read only

Sougata
Active Contributor
0 Likes
908

Hello Ronnie,

You haven't mentioned if this will be ongoing process or an "one-off" transfer of data from one SAP system to other?

In any case, if you want to do it through IDocs, an ALE Distribution Model has to be set up in both the Sending system and the Receiving system - which can be done via transaction SALE. Please be aware that this is not a one-step process (or a quick process) i.e. a number of steps needs to be configured, implemented and tested in both the systems.

If this is an one-off process, once the ALE customization is complete, you can use transaction PFAL to create the IDocs for distribution then finally use BD87 to distribute the IDocs to the receiving system.

If this is not an ongoing process, i.e. if you want to distribute the infotype data as soon as they are created in the sending system, then Change Pointers have to be activated for message type HRMD_A (HR Master Data Distribution) as a part of the ALE configuration mentioned above. Then you can schedule a transaction BD21 to run in background every 5-10 minutes to create IDocs from the change pointers that were created by the system at the time of the infotype creation/change/deletion etc. and finally use BD87 or program RSEOUT00 to fire the IDocs to the receving system.

Let me know your requirements in more details - I'm happy to help you in this process.

Hope this helps.

Cheers,

Sougata.

4 REPLIES 4
Read only

Former Member
0 Likes
908

For transporting Infotypes from one to another System you can use the standard Report RHALEINI (TAc bd87), check also your moving-model (TAC SALE).

Read only

0 Likes
908

Hey Martin,

My two syatems - ORP and HRP are two separate boxes. Will this report hold good in my case as well.

Thanks

Read only

Sougata
Active Contributor
0 Likes
909

Hello Ronnie,

You haven't mentioned if this will be ongoing process or an "one-off" transfer of data from one SAP system to other?

In any case, if you want to do it through IDocs, an ALE Distribution Model has to be set up in both the Sending system and the Receiving system - which can be done via transaction SALE. Please be aware that this is not a one-step process (or a quick process) i.e. a number of steps needs to be configured, implemented and tested in both the systems.

If this is an one-off process, once the ALE customization is complete, you can use transaction PFAL to create the IDocs for distribution then finally use BD87 to distribute the IDocs to the receiving system.

If this is not an ongoing process, i.e. if you want to distribute the infotype data as soon as they are created in the sending system, then Change Pointers have to be activated for message type HRMD_A (HR Master Data Distribution) as a part of the ALE configuration mentioned above. Then you can schedule a transaction BD21 to run in background every 5-10 minutes to create IDocs from the change pointers that were created by the system at the time of the infotype creation/change/deletion etc. and finally use BD87 or program RSEOUT00 to fire the IDocs to the receving system.

Let me know your requirements in more details - I'm happy to help you in this process.

Hope this helps.

Cheers,

Sougata.

Read only

Former Member
0 Likes
908

Thats an awsome answere sougata...... great.