cancel
Showing results for 
Search instead for 
Did you mean: 

Missing variables in alerts

Former Member
0 Kudos

Hi Experts,

When I get Alerts in Runtime workbench I send an email. The email arrives but without any variables. Only the text alert ID is shown. Now here is the problem: I got a second Alert Category in another Classification which has exactly the same configuration and sending alerts works without any problems using this Category. The first configuration is even able to handle other alerts and send a correct message with variables. But both texts (short/long) are shown in the Alert Inbox.

I only use variables like SXMS_MSG_GUID.

No answer concerning this found in library and in the Blogs of Michal Krawczyk.

The working one was not implemented by me, so i do not know exactly where the error is.

So why does one category work and the other not?

Best regards

Tobias

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Tobias,

I guess you've already compared the non-working and work alert definitions ? Are SALRTCATDEF and RWB alert definitions exactly the same ?

If they're the same (same containers etc) maybe they're not raised from the same context (one is BPM, yours is not) ?

Rgds

Chris

Former Member
0 Kudos

Hi Chris,

thanks for your fast reply. I've checked again the definition and the context and did not found any differences. Another interesting is that the variables used in the working one are defined without container. But it works...

I've added the result of the report SXMSALERT_LOGREADER (names of componentes are changed). The first one sends an email with variables, the second sends an empty mail. In my opinion they are the same.

Working

20080424095949,4498670 0 24.04.2008 11:59:49

*No msgID. Create hash for applguid: D7EA93D6470E512DE7919BC9268D8530

20080424095949,4505400 0 24.04.2008 11:59:49

*Call ALRT_CREATE_API(From:...To::::)D7EA93D6470E512DE7919BC9268

20080424095950,5968880 0 24.04.2008 11:59:50

Alert created:<AlertId:00556><RuleName:ABC><AlertCategory:CDE>

Non working:

20080424095950,5987070 0 24.04.2008 11:59:50

*No msgID. Create hash for applguid: D7EA93D6470E512DE7919BC9268D8530

20080424095950,5991200 0 24.04.2008 11:59:50

*Call SALRT_CREATE_API(From:...To::::)D7EA93D6470E512DE7919BC9268

20080424095950,6876920 0 24.04.2008 11:59:50

Alert created:<AlertId:00557><RuleName:All Errors><AlertCategory:ALL_ERRORS>

I've even tried to refresh the ABAP, Java and XI Data cache. But I still reviece empty mails.

Thanks in advance

Tobi

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi everyone,

I've desolved the problem by myself: I normally use the language 'DE' and definied the categories and classification. But when I execute the alertInbox with different languages it shows me different results. So I logged on with language 'EN' and saw that the classifications und categories are definied but not the variables. So I definied it again and it works.

Lessons learned: Always use the language 'EN'

Does anybody know why there is a difference in configuration between the different languages??

Best regards

Tobi

Former Member
0 Kudos

Tobi,

Alert definition may be considered as language-dependent customizing, so one must make sure all settings / definitions exist for the used language

Thanks for the tip anyway

Chris