cancel
Showing results for 
Search instead for 
Did you mean: 

SAP EM - Alert Creation

Former Member
0 Kudos

Can I create alert for Expiry Date? I mean if the expiry date is less than current (today's) date, i need a alert.

Accepted Solutions (1)

Accepted Solutions (1)

MarcoFreischlag
Advisor
Advisor
0 Kudos

Add Metadata:

Select parameter e.g. your event date:

Result:

if you get the error message "Fill in all required entry fields" just put anything in the field before calling the meta data dialogue.

Regards marco

Answers (2)

Answers (2)

MarcoFreischlag
Advisor
Advisor
0 Kudos

Hi Gauri,

you could use the "COMPARE" Activity and check if Date1 > Date2 based on the return code of this component you can add a new Task with the Activity "ALERT_CREATE" -> check for - previous task your compare task and then on RC = 0 or <> 0 trigger your Alert.

Regards Marco

Former Member
0 Kudos

Hi,

I tried to use "COMPARE" function but it may not worked

what i tried this

here i tries to compare the product expiration date (PTA10_EXPIRATION_DATE) and event date (EVT_DATE)....i tried to debug the code for compare but i havn't find the corresponding value for both.

event after changing the condition (wrong condition) it is sending the email.

one thing is no condition maintained for return code. then in that case i need to create multitask activity, correct? (suggest me abt this)

please tell me what is true rule and false rule in rules, as i tried interchanging them for above date check.

pls suggest!

former_member190756
Active Contributor
0 Kudos

Hello Gauri,

you must enter the parameter as metadata with button:

Then EM replaces it during runtime with the current value.

e.g.<EH_HDR_EXT-EXPIRATION_DATE>

Best regards,

Steffen

Former Member
0 Kudos

Do you mean when the planned Expected Event becomes overdue?

You can do that with the Expected Event Monitor.