cancel
Showing results for 
Search instead for 
Did you mean: 

Email Notification for long running session

Former Member
0 Kudos

Dear All,

I want to configure email notification for any long running session on my server which can be seen in SM66. Is there any possible way? Please suggest.

Regards,

Prem

Accepted Solutions (1)

Accepted Solutions (1)

divyanshu_srivastava3
Active Contributor
0 Kudos

Hi Prem,

I hope you doing good.

Now, for the above query, I am not sure that we have any such MTE in CCMS for user specific session, however, a small custom code can be used to achieve such functions

Here, you have to use some f Function Modules using CALL FUNCTION/FM in your abap code.

These function modules are from TH* family like TH_DISPLAY_USER_LIST and TH_USER_INFO. Now the coder can file out the results based on some 'Threshold', which are in spool generated - convert this into PDF(if you want). Now schedules this custom program in background for every 10 mins, and notification will come through it on email ID or any DL.

How to send email from job -

Regards,

Divyanshu

Former Member
0 Kudos

Thanks Divyanshu. I was trying to avoid this coding part. Seems there is no other possible way.

Answers (1)

Answers (1)

Sriram2009
Active Contributor
0 Kudos

Hi Prem

1. If you are define the profile parameters for maximum dialog work process timeout parameter "rdisp/max_wprun_time = 600 sec" if  Dialog process running more then 10 min it will terminated with Time out dump,

2 You can alert the Background job frailer in CCMS alert. check this link Defining an Automatic Alert Notification - Configuring the Monitoring Architecture - SAP Library

SAP Note - 553953 - RZ20: Monitoring background jobs

Regards

Sriram