03-07-2009 3:53 PM
Hi,
We are using HRMD_A idoc for integrating two SAP systems. We want a custom check to be included in the ALE outbound processing, where for example if a field of an infotype is some value then we want to stop the IDOC from being transferred to the target SAP system. IDOC should stop with a custom error message in the status record. Is this possible using any of the user exits?
Thanks in advance,
Shravan
03-09-2009 5:24 AM
Hi,
Filtering is possible at distribution model also, but you want to display custom error text then try with logic in enhancement RHALE001, it may be helpful.
Thanks,
Asit Purbey.
03-09-2009 7:54 PM
Requirement looks bit strange to me, if at all the IDoc is not needed to be sent for error message then why to Generate them, just filter out creation of IDocs by setting the Filters in Distribution model.
For your requirements you may want to take a look at Badi HRALE00OUTBOUND_IDOC.
Regards
Shital