Application Development 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: 

Custom status message in ALE HRMD_A IDOC

Former Member
0 Kudos

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

2 REPLIES 2

Former Member
0 Kudos

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.

Former Member
0 Kudos

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