cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to Sending a mail when Mapping fails ?

arunneerolil
Contributor
0 Kudos

Hi,

I am using the BPM for my scenario. In that BPM , I am using the message transformation , currently when the mapping fails the entire process stops.

Instead of this I want to send a mail.

Thanks in advance

Chemmanz

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

You can configure CCMS to monitor your scenario.....so whenever an entry falls in SXMB_MONI an alert is triggered and you can configure your CCMS to send mail whenever an alert is triggerd...check these blogs by Aravindh...Hope it will be useful.....

<a href="/people/aravindh.prasanna/blog/2005/12/23/configuring-scenario-specific-e-mail-alerts-in-xi-ccms-part--1:///people/aravindh.prasanna/blog/2005/12/23/configuring-scenario-specific-e-mail-alerts-in-xi-ccms-part--1

<a href="/people/aravindh.prasanna/blog/2005/12/24/configuring-scenario-specific-e-mail-alerts-in-xi-ccms-part-2:///people/aravindh.prasanna/blog/2005/12/24/configuring-scenario-specific-e-mail-alerts-in-xi-ccms-part-2

cheers,

Sundararamaprasad.

Answers (3)

Answers (3)

former_member91687
Active Contributor
0 Kudos
Former Member
0 Kudos

hi,

>>I am using the BPM for my scenario. In that BPM , I am >>using the message transformation , currently when the >>mapping fails the entire process stops.

you can define ur transformation step in an excepton handler, so when the Mapping fails, the exception is handled in the exception handler, where yo can define a send mail step.

cheers,

naveen

arunneerolil
Contributor
0 Kudos

Hi Naveen,

Can you give a more detailed explanation??

Any weblogs available?

Regards

Chemmanz

Former Member
0 Kudos

Hi Chemmanz,

Sorry for the delailed response. Here is some explaination.

Wrap you transformation step in an exception handler.

http://help.sap.com/saphelp_nw04/helpdata/en/33/4a773f12f14a18e10000000a114084/content.htm

http://help.sap.com/saphelp_nw04/helpdata/en/f6/e1283f2bbad036e10000000a114084/content.htm

In the exception handler have a control step - type mail. Here you can specify any custom message.

after the mail control step , you can either exit BPM using control step - type exit or continue with the BPM.

cheers,

naveen

cheers,

Naveen

MichalKrawczyk
Active Contributor
0 Kudos

Hi,

there are a few ways:

1. you can trigger an alert when the mapping fails

have a look at my weblog (it describes exactly the same situation - error im nessage mapping):

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

2. you can code in the message transofmation that when some value is equal to something then map some consntant value and then the switch step in BPM and send mail

Regards,

michal

-


<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions">XI FAQ - Frequently Asked Questions</a>

arunneerolil
Contributor
0 Kudos

Hi Michal,

In our case it is around 300-by-300 mapping.

It is difficult to use Option2.

Also we want to send e-mail when mapping fails.

So can you give us any weblogs which sends an e-mail using alert configuration?

Regards

Chemmanz