Skip to Content
0
Jun 18, 2010 at 05:11 PM

BAdI HRALE00OUTBOUND_IDOC with multiple ALE partners

354 Views

I'm not sure if this question should be here or in HR as it's ALE-HR related.

Anyways, we have already two logical systems to which we send IDOCs from our ECC. Both are of message type HRMD_ABA, one goes to the e-Recruiting machine, the other to a non SAP.

One of this two interfaces uses the BAdI HRALE00OUTBOUND_IDOC to do some manipulation of the data. A Z implementation of the BAdI was created for this.

Now we are adding the SAP-SRM to the landscape and will be sending also the HRMD_ABA but need to do also a manipulation so that critical HR info is not sent over to SRM. In which case we'll need to add our coding to an implementation of HRALE00OUTBOUND_IDOC as well.

What is the best practice to do this. Should each partner use a different Z message type based on HRMD_ABA or it's ok to use the HRMD_ABA for the three interfaces? If we create a different ZHRMD_ABA for each, will there still be a unique HRALE00OUTBOUND_IDOC for the three interfaces and therefore, provided this is not a multiple use badi, all coding should be in the same implementation, or each Z message will have it's own HRALE00OUTBOUND_IDOC that can be implemented separately?

thanks