We are implementing SAP HR as HR master and need to distribute HR master data to connected systems. We will transfer the data to SAP XI which distribute to connected systems according to the respective requirements.
We have two interfaces from SAP HR, one for changed data using change pointers in a near real-time fashion and one for complete records in a batch transfer using PFAL.
We have a quite complex scenario where the changes should be sent to systems A and B, while the batch transfer should be sent to systems C and D. The scheduling of the data transfer has to be done in SAP R/3, since XI only forwards the messages. In order for XI to select the correct pipeline and determine the correct receivers we had to create two different interfaces from SAP HR to XI, based on two different extensions to the HRMD_A06 Idoc.
These two interfaces are defined in two separate partner profiles in SAP, P1 and P2, each with one of the extensions as the only difference.
The problem is that real-time idocs should only be sent to P1 and batch idocs should only be sent to P2. In the distribution model you can only define the sender and receiver partner, and the message type. This information is the same for both interfaces, so all idocs that are created, containing either changes using change pointers or batch data using PFAL, are sent to both interfaces.
Is there a way to filter this, so only the correct idocs are sent to the respective interfaces?
As it is now, we have the real-time data going to interface intA and intB every time there is a change, and the batch data scheduled every night will also be sent to both intA and intB.
Any quick help or input to this is highly appreciated.