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: 

How to Configure Email- Notification to T-code WLF_IDOC(IDoc Monitoring) in S/4 for error records.

0 Kudos
2,598

Hi Experts,

we are planing to utilize the standard t-code - WLF_IDOC for Idoc monitoring in s/4 and we are facing some issue with email notification for error records, currently in standard transaction we have option but the issue is that we have to select the records on the screen and then send the email notification to the respective recipients.

I'm looking for automated option to trigger e-mail notification to set of recipients based on company code for error records and they can take action on priority, any option like by adding piece of code in BADI's related to this T-code WLF_IDOC(package - WLF_IDOC_PROCESSING ) to achive this functionality or any other feasible options.

Did anyone worked on this kind of solution, please help me by sharing your knowledge.

Thanks,

Aravind

7 REPLIES 7

0 Kudos
2,133

Hello Aravind,

We are facing the same issue - automated option to trigger e-mail notification from WLF_IDOC.

Could you please tell us how your issue was resolved ?

Many thanks.

bernd_speckmann
Contributor
0 Kudos
2,133

We are facing the same issue too on ERP 6.0 EHP8...

Any suggestions how to solve it?

slaurent53
Explorer
0 Kudos
2,133

Hello,

Same for us. Please thanks for the update or ideas.

Kind regards

0023985754
Explorer
0 Kudos
2,053

Hello, 

We also need this function and try to find the best way to do it as WLF_IDOC permits to select and use threshold to send emails.

Please update if anyone have the solution.

Kind regards

raymond_giuseppi
Active Contributor
0 Kudos
2,047

You could schedule, SM36, some background jobs for WLF_IDOC / program RWLFIDOC_NEW using variants with some criteria for data record (field value in a segment) and provide a distibution list for e-mail notification. (But you will require a number of background job steps as only two segment fields are provided)

0023985754
Explorer
0 Kudos
1,574

Hello, 

Finally we found out the solution. We have created a shared distribution list with SO23 transaction, then we used this list with SM36 and program of WLF_IDOC.

Kind regards

1,199

Hi,

Glad you got the solution you needed.

I'm also looking to replicate your logic but I only want SAP to trigger an email to the recipients if an IDOC has failed in Status 51 or 52.

Does anyone know if this is possible please?

I have an variant setup In WLF_IDOC TCODE to detect errors 51 or 52 that can be linked to an SM36 job.

Our requirement is:

Run WLF_IDOC

IF the report returns back any IDOC errors 

Then send email.

Else do nothing 

Run every 30 minutes throughout the day.