on 08-26-2015 8:10 PM
Hi All,
We have configured to raise an error event in CPS production system in
case of any job failure. This will send email to user ID's maintained
in raise comment fields.
Now there is a change in email domain of the mail server. So we need to
edit all the email ID's maintained. There are around 1800 jobs in
production and more that 1800 jobs in quality system.
Manually changing them is very tedious.
Kindly let us know if there is any standard predefined job in CPS to
perform this activity or there is any predefined script.
There is no "predefined" job or script for this.
You can get the API documentation from SAP and use the examples to build your own script.
In my opinion this is the not the solution, you should opt for a centralized solution since your new domain may change again and you will have to edit 1800 jobs again one way or other.
thanks
Nanda
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
As Gerben suggested, store the values in a table and reference them using the below query. So you can change it at one place instead of changing in all the jobs in future.
=Table.getColumnString('System_Variables', 'Emailid', 'Columnname')
System_Variables is the table name,
Email id is the user email id
Column name: The column name where you are storing the value.
Thanks,
Tinku
User | Count |
---|---|
85 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.