Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

For sender side alert rules.an

Hi,

My sceanrio is Asynchronous.

Sender & receiver datatype is like this

HEADR

HedgId

ItemNo

ITEMDDATA

Month

Vol

Hsfo

conditions are:

1). If above fields are come to blank, alert will tigger and send that alert to Alert box. ( Header details how can i make it mandatory in XI can i give occurances are 1:1). & if the field value is empty how can send the alert to alert in box.

2). At least one Itemdata is mandatory. if there is no item data in this messge xi hase to send the altert to aertbox.

please let me no how to do this.

Former Member
Former Member replied
<body><p>Hi,</p><p></p><p>>>1). If above fields are come to blank, alert will tigger and send that alert to Alert box. ( Header details how can i make it mandatory in XI can i give occurances are 1:1). &amp; if the field value is empty how can send the alert to alert in box.</p><p></p><p>yes. you can make it mandatory by changing occ to 1:1. You can create a alert for mapping exception. If you input file does not have the mandatory field it will fail in mapping and the alert will be triggered, however if your field occurs in source with an empty value it would pass the mapping. If this is the case you may check for the field value in the UDF and trigger alert as from UDF . Refer blog &#91;Triggering XI Alerts from a User Defined Function|https://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/4077&#93 <b>[original link is broken]</b> <b>[original link is broken]</b> <b>[original link is broken]</b>;</p><p></p><p>>>2). At least one Itemdata is mandatory. if there is no item data in this messge xi hase to send the altert to aertbox.</p><p>Make the occurance to 1:unbounded. With no item data message will fail in mapping and would trigger an alert.</p><p></p><p>Thanks,</p><p>SaNv...</p></body>
0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question