cancel
Showing results for 
Search instead for 
Did you mean: 

ABAP provider proxy error using Fault Message Type

Former Member
0 Kudos

Hello experts,

I'm using a provider ABAP proxy with a fault message type in the inbound service interface.

In the ABAP code on the backend system, I need to fill a database table.

in case the record exist --> fault + message back to SAP PI to be alerted.

I do this with a RAISE EXCEPTION TYPE.

I generated all necessary proxies.

The error I got on the backend system (SXMB_MONI) is this:

Application Error - Call Inbound Proxy

SAP:Category>Application</SAP:Category>

<SAP:Code area="ABAP">APPLICATION_ERROR</SAP:Code>

<SAP:AdditionalText />

<SAP:ApplicationFaultMessage namespace="xxxxx">FMT_xxxxxx</SAP:ApplicationFaultMessage>

<SAP:Stack>The application triggered an exception</SAP:Stack>

<SAP:Retry>N</SAP:Retry>

Can it be that I need to use something else instead of the RAISE EXCEPTION TYPE. to get something back to SAP PI?

Now the error is logged in SXMB_MONI on the backend system.

Please advice.

Thanks a lot

Dimitri

Accepted Solutions (0)

Answers (2)

Answers (2)

stefan_grube
Active Contributor
0 Kudos

The idea is not to send an error message back to PI, but use CCSM for alerting and end-to-end monitor in RWB.

PI experts usually look only in SXMB_MONI, but end users should always use RWB.

sunilchandra007
Active Contributor
0 Kudos

Hi Dimitri,

Check out these links -

1. /people/shabarish.vijayakumar/blog/2006/11/02/fault-message-types--a-demo-part-1

2. http://help.sap.com/saphelp_nw04/helpdata/en/5d/a45c3cff8ca92be10000000a114084/frameset.htm

Regards,

Sunil Chandra

Former Member
0 Kudos

Hi Sunil

I already checked both of them and what in the blog is true. I see an error appearing in SXMB_MONI of the backend system.

But I want to send something back to SAP PI. That's the tricky part.

Kind regards

Dimitri

Former Member
0 Kudos

If that is your case, then do not raise Exception.

instead use sync inbound interface and sent bakck the resposonse to PI based the error conditions you checked.

Regards,

Suresh

Former Member
0 Kudos

Hi Suresh,

A synchronous interface is not an option. We woud like to keep it asynchronous.

Kind regards

Dimtiri

Former Member
0 Kudos

Hi,

then trigger an outbound proxy from with in the same inbound proxy code.

Regds,

Suresh