on 08-31-2015 4:30 PM
Hi,
Good evening.
I have a requirement like, Developer or respective persons should get mail for long running events in process chain. We have options to get mail for success and error but here case is, if DTP load taking more time then last loads or estimated time then we should get mail(s) like who we will get mails for success and error.
Thanks,
Ashok Reddy K.
- if you want to avoid custom code and the maintenance to it, use Solution manager process chain monitoring which also not only gives you long running, it also gives you not started process chain and can send different types of alerts for the same process chain.
here is a thread on this topic
BWCCMS is the transaction code to monitor & http://scn.sap.com/docs/DOC-11505 gives you step by step and also ST13 is another good monitoring tool while it does not have email capabilities you can setup multiple variants to check daily status
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ashok,
Check this link.
Thanks,
Hemanth
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ashok,
You need to create an Alert Program which needs to run periodically during your loads. Please find attached sample code which you can refer-
To work with this program we created an custom table ZCRIT_CHAINS which will have estimated start time and Avergae run time of the process chains-
Regards,
Pavan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ashok,
As a first step create an custom table ZCRIT_CHAINS and manintain below prerequisites and process chain names which you want to monitor and send alerts in that table as shown below-
Now create an custom program and refer the given code for that Program. Also This code was an sample which you can refer and redevelop based on your requirements. The new program needs to run periodically to send email alerts for all process chains which you want to monitor, Please let me know if you need further details-
Regards,
Pavan
Thanks Pavan for your help.
Here i writing what i understand,
Step 1 : We need create a table and need to update with details. we will use it in code as lookup.
Step 2 : We need to create functional module and this functional module needs run periodically.
I have one doubt here, Where i need to include this FM. In process chain or any other process to run this periodically.
Thanks,
Ashok Kumar K.
+91-9008109966.
Hi Ashok
you need to include abap program in the chain to do this. you can use class cl_rsbk_dtp method to run DTP and you check the runtime of previous runs using RSBKREQUEST_V table.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.