Raising 2 alerts for 1 exception
I am working on raising an alert using Alert framerwork
with exception reporting and reporting agent .
I have a query ( has projects ID & Approavl ate as free chars.) where we want to raise the alerts for the projects approved in last 30 days. I have defined a exception for this and it is working fine.
I also created a reporting agent on this query linking to alert categories. Rep. agent has Project ID and Approval date in the "Drilldown charecterstics"
Problem:
Query has only one exception , but when I run the reporting agent it is raising two alerts .
Appreciate your help.
Regards
MB
Hi ,
If I remove the exception in the query,it is not raising the alert .
Regards
MB
Similar Messages
-
SNMP, Alerts for OutOfMemory Exceptions
We are using WLS6.1 on Tru64. Using SNMP, can we generate alerts for OutOfMemory
Exceptions that occur on any Managed servers in a cluster?We are using WLS6.1 on Tru64. Using SNMP, can we generate alerts for OutOfMemory
Exceptions that occur on any Managed servers in a cluster?The SNMP MIB defines the following entries in the jvmRuntimeTable:
jvmRuntimeHeapFreeCurrent INTEGER,
jvmRuntimeHeapSizeCurrent INTEGER,
you can set CounterMonitor on these attributes through the Console and set thresholds
to send you alerts when the heap reaches a certain limit.
hope this helps,
Mihir -
Generate PI alerts for Runtime exceptions in other SAP ERP system
Hi All
We usually get alerts in PI Alert inbox.
For some specific interfaces, we will need to raise an alert to other SAP ERP system user.
Is there anyway generating this kind of exception?
Thanks
Sai
Edited by: Sai Krishna on Jun 30, 2008 3:08 PMHi Sai,
There are 3 ways you can do this.
1) Like VJ said "sending an Email using mail adapter from with in a BPM" Which will be a little complex and preformance wise may be slow but sounds neat .
2) Use the Work Flow WS71000002 ( AlertSendWf ) to capture and trigger a RFC or a Mail to the concern system
For this you will require the services of a Workflow guy; but this will be fast and recommended if the error are being caught in a SAP to SAP landscape
3) You can use this link to generate a group email this is what I have implemented in our landscape
http://sapdocs.info/wp-content/uploads/2009/01/alert-configuration-in-xi.pdf
Regards
Gagan
Edited by: GAGAN S. KASANA on Mar 2, 2010 5:17 PM
Edited by: GAGAN S. KASANA on Mar 2, 2010 5:17 PM -
Need to raise an Alert for huge Volume of messages struck in the queue
Dear All,
I have a query which is mentioned below.
The Partners send huge number of volume of messages at a time to PI Server and due to this reason,the messages are getting struck up in the inbound/outbound queue.Everytime the user manually check for the struck up messages and reprocess it.
Example: One Partner sends 50,000 number of ORDERS at a time.
Now an alert needs to be raised for those messages which got struck up ( i.e. messages on hold and "not failed") in the queue.
Please share your inputs /suggestion.
Warm Regards
B.DheepaHi,
Else you can implement the Logic in this blog
XI : How to Re-Process failed XI Messages Automatically
You can Schedule the Strandard Reports to release automatically the Strucked messages in Queues
Regards
Seshagiri -
Alert for componenet monitoring
Can we raise an alert for Componenet moniring...i mean if a communication channel goes red...we should get a mail..
Edited by: Harsha reddy on Jun 24, 2008 8:54 PMHi,
Yes you can do it in RWB -> Alert Configuration -> Adapter Engine. You can create Rule and attach a Category to that created in alrtcatdef. Fixed recepient attached to the category will get a mail if the mail configuration is setup in your xi server.
Thanks
Amit
Reward points if answer helps -
Hi Experts,
I have a BPM, from which need to raise Alerts for Mapping error.
is it possible to raise alerts using Alert rule and with out throwing alerts from BPM.
Thank you,
<b>MK</b>Hi MK
The SAP Computing Center Management System (CCMS) provides a special alert monitor for SAP Exchange Infrastructure.
You use this alert monitor to monitor the ABAP and Java components (including the Business Process Engine) of your Exchange Infrastructure centrally, and to identify different categories of system errors and application errors in the various interfaces and interface namespaces of the components involved.
You use the alert configuration to have the system inform you of errors during message processing. You can receive the alert by e-mail, fax, or SMS. In each case you will also find the alert in your alert inbox.
To configure your alerts, proceed as follows:
● Create the alert categories that you want to use in your alert rules.
● Create the alert rules in which you want to use your alert categories.
● You can configure a connection to CCMS and schedule the periodic transfer of alerts to CCMS.
Once you have configured the connection to CCMS, choose Show CCMS Connection, select a period, and start the periodic transfer.
A background job is scheduled that collects all unprocessed alerts and forwards the data to CCMS. You can also stop this job.
As soon as a particular threshold value is reached, or is exceeded alerts are triggered and The transferred data is displayed in a special CCMS monitor.
You can raise alerts through BPM also .you can design your BPM in such a way that if an exception occurs, the exception handler for it has a control step in which youu can throw alert specifying the alert category and the text.
For more information on alert configuration and CCMS you can refer to http://help.sap.com/saphelp_nw2004s/helpdata/en/90/4e313f8815d036e10000000a114084/frameset.htm
http://help.sap.com/saphelp_nw2004s/helpdata/en/90/4e313f8815d036e10000000a114084/frameset.htm
http://help.sap.com/saphelp_nw2004s/helpdata/en/56/d5b54020c6792ae10000000a155106/content.htm
hope it may help you
Thanks
Sandeep
PS: if helpful reward points -
PI 7.11 - Alert creation for RFC Exceptions does not work
Hi folks!
In our PI 7.11 SP04 system we have created an Alert Category as well as an Alert Rule to be informed about errorneous messages in the Integration Engine (ABAP).
The scenario is synchronous SOAP Axis to sRFC, where the RFC answers with an exception that is transferred to a SOAP Fault response message.
Now we see messages with Application Errors in the Integration Engine, but no alert is created. Having a look at the alert creation log using report SXMSALERT_LOGREADER shows us that the system even does not try to create an alert for these messages. Alerts are only created for errors in the Adapter Engine.
Question:
Why does the system not create alerts in this case and how can we achieve this?
Thanx for any hint!
Kind Regards,
VolkerHi!
Additional information for all:
When forcing an error like "receiver not found" both kinds of alerts are created: AE Alert and IE Alert. Thus in general the alert configuration and the alert rule for IE errors are correct and working - only not for RFC exceptions ....
Regards,
Volker -
How to raise Alerts for Sender File Channel
Hi All,
For Sender File Channels , we can find out the status of the adapter through RWB as to whether it is Content Conversion related exception or Folder path not found exception & etc .
I wanted to know as to whether there is any way where can rasie alerts for Sender File Channels (similar to what we do for Reciever File Channels) as well.
Regards
Vinay P.I found it myself .
In Alert Configuration while we are adding alerts for a particular aler category , the following parameters needs to be checked .
Connected to Message : Not Relevant
Sender Service/Party/Interface/Namespace needs to be mentioned.
Adapter Type should be selected as File -
Is there any way to raise alerts for stock outages in inventory
Is there any way to raise alerts for stock outages in inventory
You can use the Check Material Shortages attribute in the Org items under Inventory tab. Oracle will trigger shortage alert notifucations for the checked items. This works in the conjuntion with the Shortage Parameters defined at the Inv ORg level (these parameters are nothing but what business wants to consider as a shortage in WIP and OM). You can notify the cmp planner/buyer , assy planner/job creator..
-
Alert for every AR Invoice raised
Pls how can i set an Alert for every AR Invoice raised with the details of the new invoice.
Hi Adegoke,
It is very easy to create this alert. However, it may not be practical since the logic to exclude the invoice from alert will be too difficult.
You can check this thread to find out more:
Re: Alert Management
Thanks,
Gordon -
How to validate the incoming field value and raise an alert message
Dear all,
I have the following structure
If incoming value for the field externalid is empty then i have to raise a alert message to end user "externalid field is empty for the id : id number" and for all incoming values it should work. I used the following udf on field externalid with two arguments
if(externalid.equals(""))
throw new RuntimeException("externalid field empty for the following id : " +id);
else
return externalid;
This is working fine for single record. But for many records(multiple occurences), this logic is not working as if records 2 and 3 fails it is showing exception externalid field is empty for the id : record 2.
how to achieve the tranformation logic ?
Regards
Koti ReddyHi Amit,
I have tried the above udf, but still stuck-up.
For the above structure shown in image, i have tested giving the following payload
<?xml version="1.0" encoding="UTF-8"?>
<ns0:upsertRequest xmlns:ns0="http://sap.com/xi/SFIHCM01">
<sessionId/>
<upsert>
<type/>
<sfobject>
<id>1</id>
<businessKeys>1</businessKeys>
<type>1</type>
<status>1</status>
<externalId>1</externalId>
<username>1</username>
<firstName>1</firstName>
<lastName>1</lastName>
<mi>1</mi>
<gender>1</gender>
<email>1</email>
<managerExternalId>1</managerExternalId>
<hrExternalId>1</hrExternalId>
<department/>
<jobCode/>
<division/>
<location/>
<timeZone>1</timeZone>
<hireDate/>
<empId/>
<title/>
<businessPhone/>
<fax/>
<addressLine1/>
<addressLine2/>
<city/>
<state/>
<country/>
<zipCode/>
<reviewFreq/>
<lastReviewDate/>
<matrixManagerExternalIds/>
<defaultLocale/>
<customManagerExternalIds/>
<secondManagerExternalId/>
<loginMethod/>
<proxy/>
</sfobject>
<sfobject>
<id>2</id>
<businessKeys>2</businessKeys>
<type>2</type>
<status>2</status>
<externalId>2</externalId>
<username>2</username>
<firstName>2</firstName>
<lastName>2</lastName>
<mi>2</mi>
<gender>2</gender>
<email>2</email>
<managerExternalId>2</managerExternalId>
<hrExternalId/>
<department/>
<jobCode/>
<division/>
<location/>
<timeZone/>
<hireDate/>
<empId/>
<title/>
<businessPhone/>
<fax/>
<addressLine1/>
<addressLine2/>
<city/>
<state/>
<country/>
<zipCode/>
<reviewFreq/>
<lastReviewDate/>
<matrixManagerExternalIds/>
<defaultLocale/>
<customManagerExternalIds/>
<secondManagerExternalId/>
<loginMethod/>
<proxy/>
</sfobject>
<processingParam>
<name/>
<value/>
</processingParam>
</upsert>
</ns0:upsertRequest>
No node is creating for success records, instead it throws exception that "externalid field is missing for the id": id for empty externalid field value in second record.
But my requirement is..... when i process 50 records, records with missing value for field externalid should raise an alert message to end user intimating him to check the externalid field for particular id. If the value for externalid field is present in incoming record/payload, then it should be passed to target system.
How can i implement this logic ?
Regards
Koti Reddy -
Alert for BPM Transformation Step
Hi I am trying to think of a way to get the information from my alert transformation step into my Alert Message.
The scenario is a multiline container called XML_Collect mapping to XML_Output a single container with the XML messages merged.
If I encounter an error with mapping, currently I am raising an Alert with Process <Process ID> and Long Text Transformation Failure.
I have the Transform step in a Block and an exception branch for the Alert. I am going to instigate a Container Operation step to fill my Container variables with information about the error.
In the BPM Workflow Log I can see the Transformation1 Container Instance with variables such a MAPPING and MESSAGES_IN and _EXCEPTIONS in it.
Can I reference this container in my Container Operation.
Ideally I would like to know which XML message from the multiline container generated the mapping error. This would help in correcting.
I have read some information on a UDF calling Alerts but I am not sure if this is the method to use.
thanks,It is MESSAGES_IN
We have
MAPPING MAPPING http://<company>.com/msghdr IM_T_MSGHDR_V3_to_T_MSGHDR_V3_Multi-<...>-1-
TRACE <?xml version="1.0" encoding="utf-8" ?>
<MappingTrace><Trace level="1" type="T">Mapping-Namespace:http://company.com/msghdr </Trace>
<Trace level="1" type="T">Mapping-Name:IM_T_MSGHDR_V3_to_T_MSGHDR_V3_Multi </Trace>
<Trace level="1" type="T">Mapping- ...
This trace is what appears in the XML trace also
MESSAGES_IN MESSAGES_IN < 1 Entry >
MESSAGES_IN[1] MESSAGES_IN[1] 0000000001-<...>
NUMB Parameter ID 0000000001
MESSAGES MESSAGES < 3 Entries >
XC ZXI_PROXY_MI_MSGHDR_V3_0001 E0630F307D7B11DCA23700145E6916E5
XC ZXI_PROXY_MI_MSGHDR_V3_0001 E035BDA07D7B11DCB90500145E6916E5
XC ZXI_PROXY_MI_MSGHDR_V3_0001 BA2A92307D7511DCB09900145E6916E5
then the XML Header and Payload.
_EXCEPTIONS _EXCEPTIONS < 3 Entries >
_EXCEPTIONS[1] EXCEPTIONS[1] Component MAPPING has reported an error-The exception occurred (program: CLSW..
_EXCEPTIONS[2] EXCEPTIONS[2] com/sap/xi/tf/MM_T_MSGHDR_V3_to_T_MSGHDR_V3_Mult~com.sap.aii.utilxi.misc.api...
I have just tried the variable &_WORKITEM.WORKITEMID& and this gives the work item ID of the starting step for the Process.
My MESSAGE_ID variable that I am updating with the container variable straight after the Transformation step has the first message id from the multiline container but I know this isn't my incorrect message. -
Raising an Alert ,when the Legacy system is down
Hi,
I want to raise an Alert or some thing when my Source Legacy system is down.
My scenario is File -to - IDOC . I'm getting all the XML files from the FTP server. so, My source system is FTP srever . Due to network problem or some other problem my FTP server is getting down very frequently. Now i want to send this information to respected persons in a automated way.
Is there any option that know the Legacy server status , How can we know that FTP server is down .
Please suggest me some solution for this type of prblems.
Regards
JainHi
You can use BPM and check whether the system is up or nt (using the Connection FM STFC_CONNECTION )
In case of system errors and application errors you can use alerts.
System error: Runtime errors, mapping errors , application system is down, Adapter engine is down etc....
application error: If you are checking some validations , if they fails you can throw alerts.
For application errors you use BPM.
You can raise alerts if mapping, receiver determination etc.. fails in the integartion engine. You need to configure alert rules for this. You can go to RWB->Alert Configuration->Where did the error occur? choose integration engine and you can see different error categories and error codes which can be configured using alert rules. Refer this michal's weblog for configuring the same..
/people/michal.krawczyk2/blog/2005/09/09/xi-alerts--step-by-step
Currently alerts for Adapter framework errors are not supported.
You can also raise an alerts from BPM for any mapping failures, send step system errors/application errors using fault messages (through exception branch).
Refer this weblog for configuring an alert in the BPM
/people/michal.krawczyk2/blog/2005/03/13/alerts-with-variables-from-the-messages-payload-xi--updated
hope this helps..
Regards
Abhishek
Edited by: Abhishek Agrahari on Jan 30, 2009 7:54 AM -
Alerting for complete async scenario
I'm new to XI and I need advice from XI experts.
Could any one explain me how to setup the alert scenario for complete async scenario in case of any errors in XI like mapping error etc. I have gone through some alert config documents but what I'm looking for is, suggestions and recommondations for as how to implement alert scenario for async processes. how is it implemented in async and sync processes in real time. whats the good approach for alerting and error handling.
Thanks,
Sudha MadhuriHI,
You can use alerts for alert the msg/error msg to user with/without interpt the process or while processing the msg.
In Async process you can use alerts in UDF or through BPM.
In Sync , you can raise alerts through BPM.
Also reconcile the process with BPM.
Please see the below links..
Alerts with variables from the messages payload (XI) - UPDATED - /people/michal.krawczyk2/blog/2005/03/13/alerts-with-variables-from-the-messages-payload-xi--updated
/people/michal.krawczyk2/blog/2005/09/09/xi-alerts--step-by-step - Alert Configuration
/people/michal.krawczyk2/blog/2005/09/09/xi-alerts--troubleshooting-guide - Trouble shoot alert config
XI ALerts with container elements - /people/sukumar.natarajan/blog/2007/01/07/how-to-raise-alerts-from-abap-proxy
Reconciliation of Messages in BPM - /people/krishna.moorthyp/blog/2006/04/08/reconciliation-of-messages-in-bpm
/people/sap.india5/blog/2005/12/06/xi-ccms-alert-monitoring-overview-and-features - CCMS Alert Monitoring
Triggering XI Alerts from a User Defined Function - /people/bhavesh.kantilal/blog/2006/07/25/triggering-xi-alerts-from-a-user-defined-function
blogs for alerts
http://help.sap.com/saphelp_nw2004s/helpdata/en/2b/d925bf4b8a11d1894c0000e8323c4f/content.htm
http://help.sap.com/saphelp_nw2004s/helpdata/en/9c/34193cb4f5131de10000000a11405a/content.htm
http://help.sap.com/saphelp_nw2004s/helpdata/en/8a/3e2d4105f8d92be10000000a1550b0/content.htm
Regards
Chilla..
<i>Points rewarded if it is useful..</i> -
Alerts for Advanced adapter engine
Hi,
I have created a file to file scenario using integrated configuration, configured alerts for the same with "No restrictions" rule in RWB.
However when i test by dropping a file to the polling directory, there seems to be no alert triggered.
I have checked alert configuration and they are configured correcly.
I also noticed that the messages are going into scheduled state in message monitoring upon failing in mapping.
Can standard PI alerts be raised for Integrated configurations ?? if yes then what am i missing here?
Any thoughts ?
ThanksHi Amith,
Try creating the alerts under alert category in ESR.
Integrated Configurations run totally on the Java stack. I believe you have created the alert in ALRTCATDEF, which is in ABAP stack of PI. Create a alert category in ESR and use the same. I think it will work.
Regards,
Souvik
Maybe you are looking for
-
why does a red exclamation point keep showing up next to my outgoing text?
-
Java.lang.NoClassDefFoundError when trying to create my first EJB
Hi All, I am trying to learn EJB's on my own. I installed the WebLogic Server Trial version and then wrote the Home Interface, Component Interface and the Bean Class. Now I started the WebLogic server and tried and create the deployment descriptor..
-
I have a web application that only has four pages. A login brings a user to a welcome page and then from the welcome page, the user should be able to access either of the other two pages. However, jsf is trying to direct to the other pages relative t
-
I received the new iphone 5 and Im trying to transfer everything over from my old iphone by the icloud will not back up help!
-
Hi, I have a problem creating a RDF container, I create a blank node type seq and insert the members, but when I do querys it return the name of the blank node and it does't return the members. I dont know if I'm inserting the triples with errors or