cancel
Showing results for 
Search instead for 
Did you mean: 

Message exception in message mapping

Former Member
0 Kudos

Hi all,

In message mapping we need to raise the message exception with a custom error message, which should appear in trace of sxmb_moni.

Can you please help us on this.

Regards

Suganya.

Accepted Solutions (1)

Accepted Solutions (1)

rajasekhar_reddy14
Active Contributor
0 Kudos

Hi,

When you execute message mapping if any exceptions occur be default it genarate log message, set you trace level thats it.

if you want to write manually you can try with User defined function and use try catch statement and it Stack Trace.

Regards,

RAJ

Former Member
0 Kudos

Hi Experts,

The BASIS team has configured the CCMS alert for XBTI* and XBTO* queues in development system.

Hence we need to test the same.

Possibilities tried:

1. Huge payload

2. Stop and start of BPE this blocks the XBQ which is not needed as of now

3. Deregistering the specific queues. The queus is set to ready state until we register the same. Once registered the queue block is cleared. Hence this option is not helpful.

Kindly let us know the various ways to block the queues in PI.

Thanks

Suganya.

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi Suganya,

Have a look at [;

Prasanna.

Former Member
0 Kudos

Hi Suganya,

Please refer the links given below:

/people/alessandro.guarneri/blog/2006/01/26/throwing-smart-exceptions-in-xi-graphical-mapping

Thanks

Former Member
0 Kudos

HI,

In an UDF code, u put this line of code..

throw new RuntimeException("your error message" ); // put ur error message here

Based on the condition u r checking for .. put this line of code in any udf...and use it in mapping..

U will the error message in the SXMB_MONI

Babu

Former Member
0 Kudos

Hi,

Plz have a look on this:

/people/alessandro.guarneri/blog/2006/01/26/throwing-smart-exceptions-in-xi-graphical-mapping

Thanks

Amit