cancel
Showing results for 
Search instead for 
Did you mean: 

How to send XML Messages in XI

Former Member
0 Kudos

Using XI 3.0, XDV

Tcode XSMB_MONI

Display all errors, how to sent automatically in email

please tell me step by step procedure....

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Configuring alert:

Here is the step by step blog for you:

/people/michal.krawczyk2/blog/2005/09/09/xi-alerts--step-by-step

Regards

Liang

Former Member
0 Kudos

Thanks you very much but, I still having some confousing step 1

How may I create alert

step 2.

how to ceate variables to our container elements

step 4

how to In order to receive alerts we have to add ourselfs to the receivers list, its does't show there?

Thanks a lot buddy

Answers (4)

Answers (4)

former_member238007
Contributor
0 Kudos

Hi,

So, when ever an error occured in the SXMB_MONI we can raise an alert for the error for that we need to configure the ALERT.

Alert Categories are containers for some kinds of alerts. Additional information, such as alert texts and subsequent activities, as well as recipient lists, are maintained for each Alert Category.

In the Runtime Workbench in section Alert Configuration, press the button Create Alert Category.

Container Elements for various Message Header information are available for PI Alerts. These Container Elements are filled at runtime with message-specific information and are used within the Alert’s short and long text.

For example:

�� Container Element SXMS_MSG_GUID returns the Message ID

�� Container Element SXMS_FROM_INTERFACE returns the Sender Interface

Subsequent Activities for PI Alerts by default contain links for the respective message to:

Message Monitoring

End-to-End Monitoring

Recipients can be identified

�� As Fixed Users

�� Via User Roles

�� Via Self-Subscription based on User Roles

regards

Kishore

Former Member
0 Kudos

Very good infromation thanks, but still having same problem

ok, my RFC connection is working fine, with nude and STMS, SAPconnect works fine... when I send any email through sapconnect t-code SO01 its show in lotus notes.... last time we fixed it

Now When I goto SXMB_MONI its show some red-flags alerts which is automatilly comesup

We wants that alerts goto lotus notes automatically

I need please step by step with Tcode or if screenshot will be winderful....

Thanks a lot again for attition

Former Member
0 Kudos

Hi,

Please Follow the links which i have provide in my previous reply.

Please start your work on that and paralelly post the errors what ever you got at that time

Regards

Seshagiri

Former Member
0 Kudos

Hi,

Check this

How to send email to my mail box automatically when alert occurs in XI

Can you check whether the below authorization is given to that user.

For the sending of alerts via external communication methods (e-mail, sms, fax) and for inbound processing, an RFC user has to be created on the central alert server with the role SAP_BC_ALM_ALERT_USER. The authorization objects contained in this role are S_OC_SEND and S_RFC.

refer the help:

http://help.sap.com/saphelp_nw04/helpdata/en/b2/de0741375cf16fe10000000a1550b0/frameset.htm

also

check in ALRTCATDEF transaction what is the user maintained under the fixed receipent tab for that user check the email address in SU01 transaction.

Please check in transaction SCOT (you can give address of your SMTP server in order to send mails),

If it is configured then probably you need to personalized alert delivery. In alert inbox you can select personalized alert delivery and check for "Mail" option.

In SCOT you can see how many mails have beed sent via your XI system.

most of the time email problem is solved by correcting configuration in SCOT. For testing mail system click on System->short message and then send one message to yourself

Check these Usefull BLOGs also

/people/bhavesh.kantilal/blog/2006/07/25/triggering-xi-alerts-from-a-user-defined-function

/people/michal.krawczyk2/blog/2007/04/26/xipi-throwing-generic-exceptions-from-any-type-of-mapping

/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

/people/aravindh.prasanna/blog/2005/12/23/configuring-scenario-specific-e-mail-alerts-in-xi-ccms-part--1 -- ccms alerts – 1

/people/aravindh.prasanna/blog/2005/12/24/configuring-scenario-specific-e-mail-alerts-in-xi-ccms-part-2 -- ccms alerts – 2

/people/aravindh.prasanna/blog/2006/02/20/configuring-scenario-specific-e-mail-alerts-in-xi-ccms-part-3 -- ccms alerts --- 3

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

http://help.sap.com/saphelp_nw04/helpdata/en/49/cbfb40f17af66fe10000000a1550b0/frameset.htm

From HelpFile

Regards

Seshagiri

Former Member
0 Kudos

Very good infromation thanks, but still having same problem

ok, my RFC connection is working fine, with nude and STMS, SAPconnect works fine... when I send any email through sapconnect t-code SO01 its show in lotus notes.... last time we fixed it

Now When I goto SXMB_MONI its show some red-flags alerts which is automatilly comesup

We wants that alerts goto lotus notes automatically

I need please step by step with Tcode or if screenshot will be winderful....

Thanks a lot again for attition

Former Member
0 Kudos

YES, I read everying and still i didn't know where should I put my email address to sent this alerts

I didn't know the first step

When I goto ALRTCATDEF its show only Alrt Category

1. MOL alrts

2. RNIF alrts

left side windows show all clasification

then other windows said properties, container, long and shot text, optinal subseq

When I click container tab

SXMS_MSG_GUID

SXMS_ERROR_CODE

SXMS_FROM_SERVICE

SXMS_FROM_INTERFACE

SXMS_ERROR_CAT

SXMS_FROM_PARTY

I know these variable we can custimuz for alerts, but we never been setup alerts...

I would like to know first step.... should I create user, if yes what is user name and whats is roles

now this point SAPconnect works fine.... thats it

when we setup for RZ21

when we setup alerts catagory

for example

Same windows when I click fixed recipiens

its show only 3 users

and alert cagetory show mol alerts

when I double click on mol alerts its shows:

ALRTFRMWRKTEST ALRTFRMWRKTEST

CCMS TEMPLATE CCMS TEMPLATE

MOL ALERTS Alerts for MOL

PROCESS ALERT Alerts that are Triggered by the Process

RNIF ALERTS Alerts for RNIF

SECSSFCERTEXPIRE Expiry of Certificates (SNC, SSF, SSL...)

US_TEST_CAM BW Alerts in Central SAP Alert Management

whats does it mein that.... very very confousing.... sorry for that, but I really need your help thanks a lot again

Former Member
0 Kudos

Hi Awan,

i didn't know where should I put my email address to sent this alerts when you define an alert category in ALRTCATDEF transaction, there is a button for fixed receipients.......just click it.........here add the username of the user who wants to recieve alert..........then open transaction SU01 and give the email address of that user whose username you specified in fixed recipents..

then if your SCOT transaction config is correct and your alert category properly created and alert configuration done for this alert category, your that user will get an alert email in his alert inbox in RWB.

Regards,

Rajeev Gupta

Former Member
0 Kudos

Hi,

First start by creating the alerts with this BLOG

/people/michal.krawczyk2/blog/2005/09/09/xi-alerts--step-by-step

Have a look at this SAP help file while creating the Container variables

http://help.sap.com/saphelp_nw04/helpdata/en/80/942f3ffed33d67e10000000a114084/frameset.htm

To send email tomail box automatically when alert occurs in XI

Can you check whether the below authorization is given to that user.

For the sending of alerts via external communication methods (e-mail, sms, fax) and for inbound processing, an RFC user has to be created on the central alert server with the role SAP_BC_ALM_ALERT_USER. The authorization objects contained in this role are S_OC_SEND and S_RFC.

refer the help:

http://help.sap.com/saphelp_nw04/helpdata/en/b2/de0741375cf16fe10000000a1550b0/frameset.htm

also

check in ALRTCATDEF transaction what is the user maintained under the fixed receipent tab for that user check the email address in SU01 transaction.

Please check in transaction SCOT (you can give address of your SMTP server in order to send mails),

If it is configured then probably you need to personalized alert delivery. In alert inbox you can select personalized alert delivery and check for "Mail" option.

In SCOT you can see how many mails have beed sent via your XI system.

most of the time email problem is solved by correcting configuration in SCOT. For testing mail system click on System->short message and then send one message to yourself

Regards

Seshagiri

Edited by: N V Seshagiri on Mar 18, 2008 2:26 PM

Former Member
0 Kudos

Will i do everying is client 000 or my local client 700, basically I done everying in client 700 not 000

whats are the difference between client 000 and others clients

when I run client 700 and Tcode SCOT its just show SMTP and INT which is I created and email works fine through SAPconnect

but when I login client 000 its just show only SMTP and email does't goes through

will i setting eveyring back to client 000 agin ?

Former Member
0 Kudos

Quick Question

sould I do everying in client 000 ?

Thanks

Former Member
0 Kudos

hi,

To display all the errors thru t.code SXMB_MONI,

select the status as:error only messages and provide the date ,and all the details......

TO send the messages to the mail we need to do the alert configuration thru t.code:ALRTCATDEF

reward points if answers found helpfull......

Former Member
0 Kudos

Very good infromation thanks, but still having same problem

ok, my RFC connection is working fine, with nude and STMS, SAPconnect works fine... when I send any email through sapconnect t-code SO01 its show in lotus notes.... last time we fixed it

Now When I goto SXMB_MONI its show some red-flags alerts which is automatilly comesup

We wants that alerts goto lotus notes automatically

I need please step by step with Tcode or if screenshot will be winderful....

Thanks a lot again for attition

aashish_sinha
Active Contributor
0 Kudos

Hi,

You have to configure alert for you requirement.

Prerequisites

The following prerequisites have to be met in order to use the Alert Management (ALM):

· For using the Alert Inbox (BSP based display program of ALM), the corresponding service has to be activated in the service maintenance transaction SICF. Choose Default_host ® sap ® bc ® bsp ® sap ® alert inbox, and Activate in the context menu.

· For customizing or administration of the Alert Management the corresponding authorization role has to be assigned. The end users do not need any additional authorization.

· The central alert server must be maintained as an RFC destination in transaction SM59 in the local system. If there is no suitable user, you have to create a user for the RFC connection in the central alert system in transaction SU01. To make this RFC destination known as the RFC destination of the Alert Management System in the local system, the central alert server must also be selected as the RFC destination in transaction SALRT1 of the local system or in Settings ® RFC-Destination of Alert Server.

If the central alert server is running on the local system in the same client, you do not have to maintain an RFC destination. In this case, you can simply enter NONE in transaction SALRT1.

· If external communication types, such as e-mail, SMS, and fax are used, these communication types must be correctly configured in SAPconnect, because the alerts are then sent from the central alert system via SAPconnect.

Process Flow

The following describes the process flow from alert configuration (transaction ALRTCATDEF) to alert display and confirmation (for example in the alert inbox transaction ALRTINBOX):

1. Optional: You can define alert classifications. These are useful to group alert categories. For example, you can create an alert classification CRM that contains alert categories referring to CRM. Alert classifications can now have subclassifications. This enables you to build up your own classification hierarchy. Especially, if you use the Alert Mangement (ALM) extensively, classification and subclassification help you to organize your ALM alert landscape and to have a clear overview.

2. For different types of alerts you have to define different categories. The category contains various properties and other specifications that define the alerts within that category, for example expiry date, or the escalation recipient. You can define an alert category to suit your business requirements and assign the category to the corresponding classification. For example, for the alert classification CRM you can create the alert categories Contract Cancelled and Decrease in Sales. When the critical situation defined in the alert category arises, the system recognizes this and sends an alert instance of this category to the recipients determined. The alerts can always be found in the display programs configured for the recipient (UWL, application-specific program, or alert inbox). Additionally, the alerts are sent via eventual external communication channels, such as e-mail, sms, or fax.

3. You have to determine recipients so that the Alert Management knows who the recipients of alerts of a particular category are and that the correct parties are informed.

4. You can configure the way how alerts are processed. For the general use of the Alert Management you do not have to change the default settings. However, if for example you want to send alerts to third-party systems, or to be able to confirm alerts by SMS/Internet mail, or to have logs written, then you have to configure alert processing.

5. There is a number of Alert Management administration reports that you must schedule according to your requirements. For example, report RSALERTPROC must be executed in order to enable escalation.

6. Alerts of a particular category must be triggered by an application at runtime. Triggering alerts can be done in various ways. You can call a function module directly or use middleware components that trigger alerts, such as the Business Object Repository (BOR), Post Processing Framework (PPF), SAP Workflow, or CCMS.

7. Recipients can view the alerts assigned to them in the UWL of Enteprise Portal, in application-specific display programs, or in the alert inbox. In addition, alerts can be received as e-mail, SMS, or fax, if these external communication channels are configured in SAPconnect.

8. If the problem causing the alert is solved by a recipient, the recipient can confirm the alert, this means its status is changed and it will not be delivered, escalated, or displayed anymore. Alerts are generally confirmed by the recipient in the display program, such as the UWL or Alert Inbox. However, if an alert is sent by Internet mail or SMS message, it is also possible to confirm it by sending an Internet mail or SMS message back to the SAP system. Alert Management uses inbound processing for this.

Hope this will help you.

Regards

Aashish Sinha

PS : reward points if helpful

Former Member
0 Kudos

Very good infromation thanks, but still having same problem

ok, my RFC connection is working fine, with nude and STMS, SAPconnect works fine... when I send any email through sapconnect t-code SO01 its show in lotus notes.... last time we fixed it

Now When I goto SXMB_MONI its show some red-flags alerts which is automatilly comesup

We wants that alerts goto lotus notes automatically

I need please step by step with Tcode or if screenshot will be winderful....

Thanks a lot again for attition