‎2009 May 29 8:01 AM
Hello Experts,
My requirement is in ST22, when ever the number of dumps for current day reaches 10 or 20 or 30 (multiples of 10), i need to trigger sending a mail.
Is there a way to do this?
I have checked for Exits or enhancements, but unable to find it.
Please suggest the possible solutions to solve this issue.
Thanks and best Regards,
Suresh
‎2009 May 29 8:07 AM
I suggest you run a batch job..may be every hour to check the no of dumps and proceed accordingly..
regards,
Jinson.
‎2009 May 29 8:07 AM
I suggest you run a batch job..may be every hour to check the no of dumps and proceed accordingly..
regards,
Jinson.
‎2009 May 29 8:11 AM
Hello Jinson,
Thanks for your reply. I dont want to run a background job and check for every hour.
I need to run in such a way that, if no. of dumps reaches a certain threshold point, then it should trigger the mail.
Thanks and best Regards,
Suresh
‎2009 May 29 8:09 AM
Hi,
THe underlying program for ST22 is :RSSHOWRABAX
check in the include: RSSHOWRABAX_FORMS
there are implicit enhancement points avaibale in ALL the subroutines:
sel_initialization
select_snap_beg
snap_reorg
build_node_table
etc...
Check it once if the requiremt can be achived at these enhancement points..
Hope this helps you
Regards
Shiva
‎2009 May 29 8:14 AM
Hi Suresh,
Make use of Explicit Enhancement-Kernel BADI Enhancement.
Check the below link:
‎2009 May 29 8:16 AM
run a batch job and check for no of entries in table SNAP_BEG for a date.
‎2009 May 29 8:22 AM
Hi
Check the program RSSHOWRABAX
*forms of St22 to displa the dump text
include rsshowrabax_forms.
Above include is the last include that display the dump list.
there is emplicit enhancment pint available .
here you can check the number of line going to the display in listand accourding to that by using function module SO_NEW_DOCUMENT_SEND_API1 you can send mail .
Thanks
Deepanker Dwivedi
.
‎2009 May 29 9:19 AM
Hi All,
How to find the enhancements in the program - RSSHOWRABAX_FORMS ...
Please guide.
Thanks and Best Regards,
Suresh
‎2009 May 29 9:38 AM
Just a thought (not the solution you are looking for though):
In stead of sending an email after x-dumps, wouldn't it be better to make sure that this number of dumps is not reached at all. Of course, I don't know your system at all, but I myself wouldn't be happy if this 'problem' occurs on a daily basis. This would suggest that something is just not OK. So have you already investigated the actual problem which causes these dumps? Be it custom programs of standard SAP...it doesn't matter actually but you should try avoid it.
‎2009 May 29 10:51 AM
Hi Micky,
This development is just to make sure that if a dump occurs repeatedly, or if some unusual thing is happening in the Production system, then, some action is to be taken immediately to keep the system healthy.
Thanks and Best Regards,
Suresh