Skip to Content
Former Member
Feb 26, 2007 at 04:48 AM

Fault Message from Sender System to Receiver System



I have a synchronous scenario

<b>SAP R/3 --> RFC Adapter -> XI -> SOAP Adapter --> Web Service</b>.

When web service returns successful response, it gets mapped properly to an internal table of RFC. But, when web service returns fault message (as parameters passed to the web service are incorrect), RFC gives dump. Below message is shown in sxmb_moni.

<i><?xml version="1.0" encoding="UTF-8" standalone="yes" ?>

- <!-- Call Adapter


-" xmlns:SOAP="" SOAP:mustUnderstand="1">



<SAP:P1 />

<SAP:P2 />

<SAP:P3 />

<SAP:P4 />

<SAP:AdditionalText> invalid content type for SOAP: TEXT/HTML</SAP:AdditionalText>

<SAP:ApplicationFaultMessage namespace="" />

<SAP:Stack />



<b>{</b> Sometime AdditionalText has different message, depends upon what parameters Sender system is providing <b>}</b>

Now I would like to provide this message back to SAP RFC. Even if I will create the Fault message type, how exactly I can map this " Exception message " with my fault message type.

I have checked weblog <a href="/people/shabarish.vijayakumar/blog/2006/11/02/fault-message-types--a-demo-part-1 Message Types - A Demo</a> but this one talks more about proxy & Asynch scenario.

Can you pls. provide steps with which I can map exceptions message of WS to RFC.

Best Regards

- Lalit Chaudhary -