Application Development and Automation 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: 
Read only

BAPI or Enhancements needed.

Former Member
0 Likes
1,320

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,271

I suggest you run a batch job..may be every hour to check the no of dumps and proceed accordingly..

regards,

Jinson.

9 REPLIES 9
Read only

Former Member
0 Likes
1,272

I suggest you run a batch job..may be every hour to check the no of dumps and proceed accordingly..

regards,

Jinson.

Read only

0 Likes
1,271

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

Read only

Former Member
0 Likes
1,271

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

Read only

Former Member
0 Likes
1,271

Hi Suresh,

Make use of Explicit Enhancement-Kernel BADI Enhancement.

Check the below link:

https://wiki.sdn.sap.com/wiki/x/bwOmB

Read only

kesavadas_thekkillath
Active Contributor
0 Likes
1,271

run a batch job and check for no of entries in table SNAP_BEG for a date.

Read only

Former Member
0 Likes
1,271

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

.

Read only

0 Likes
1,271

Hi All,

How to find the enhancements in the program - RSSHOWRABAX_FORMS ...

Please guide.

Thanks and Best Regards,

Suresh

Read only

Sm1tje
Active Contributor
0 Likes
1,271

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.

Read only

Former Member
0 Likes
1,271

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