cancel
Showing results for 
Search instead for 
Did you mean: 

Message Mapping Halt

Former Member
0 Kudos

Hi,

I am making a RFC lookup and depending upon the result , need to halt the further process of mapping.

I have gone through Alex weblog but was thinking for other alternatives on the same.

Please share light on this.

I would like my custom message to appear on Message Mapping failure.

Accepted Solutions (1)

Accepted Solutions (1)

prateek
Active Contributor
0 Kudos

Based on the result of lookup, u may perform some dummy step in mapping, like calling a UDF where u may raise some java exception. From there u will have option of sending alerts too.

Regards,

Prateek

Former Member
0 Kudos

Hi,

I don;t need alerts. All i require is a custom message to appear in MM, sort of validation and send that validation to R/3 via proxy.

We have a tool in R/3 which will give status of any interface

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

You can use Graphical mapping with RFC Lookup or DB lookup in advanced user defined function. You can add all your error messages in a HashMap and store it in Global container.

Later you can write Advanced UDF to retireve Error messages from HashMap and send it as a single error message.

The following Weblog and PDF may help you in writing Lookup function in Graphical mapping.

1.

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/xi/xi-code-samples...

2.

/people/siva.maranani/blog/2005/08/23/lookup146s-in-xi-made-simpler

Regards,

Suryanarayana

Former Member
0 Kudos

Hi,

Can you explain more in detail of hash mapping. The requirement for me is that i need to capture the error and send it to R/3.