cancel
Showing results for 
Search instead for 
Did you mean: 

Sending Soap fault message to SAP

venkatasap
Participant
0 Kudos

Hi SapAll.

I have got a situation where in an Idoc to Webservice Synchronous using BPM.WHEN PI call web service & web service get response then PI is sending the response to SAP RFM (Remote function module).but I also need to handle the failure case when PI gets Fault execution message back from Web service then PI need to send the same fault message to RFM-Exception structure.

I have

can any one help me in briefing the steps for this.

Regards.

Jagdish

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Jagdeesh,

Are you checking this error in ECC system? Can you check the response that you got from the Webservice in PI? Are you recieving a proper error message in PI but in ECC is it always "Unknown application error"?

Regards

iaki_vila
Active Contributor
0 Kudos

Hi Jagdish,

According with Eng suggestion you have an example here

Regards.

venkatasap
Participant
0 Kudos

Hi Inaki vila.

the positive scenario is working fine where PI is sending the Idoc to webservice & getting a success response. the same response is sending to SAP RFC but the negative scenario isn't working with fault message.

when PI gets fault message it get stuck in moni saying Application error & it is not sending the same fault message (mapping to HR RFC).

HERE the fault scenario is as follows.

Idoc->PI(BPM Integration Process)->Web service ->PI(BPM Integration Process). Application error stuck in moni

PI(BPM Integration Process) ->SAP HR RFC (not running this step).

************************************************************************************8

When I run the Interface, the message gets processed in
sxmb_moni & after getting the response from Web service it sits in moni as
Application error.

in The attached file I have provided the scrchots of the  Interface determination for BPM (IP_PersonnelDetails_OSB) to communicate with (Webservice-3rd party) i.e. send request & get response  && the Interface determination for BPM (IP_PersonnelDetails_OSB) to communicate with Sender HR SYSTEM RFC to send response which it gets from Web service to HR RFC.

for Reference adding the screenshots also.

can anyone give me a right solution ?.

Regards.

Jagdish.

venkatasap
Participant
0 Kudos

Hi SapAll.

I haven't get any response , is my question not clear enough ?.

Regards.

Jagdish.


venkatasap
Participant
0 Kudos

Hi Sap all.

no response yet,am i clear in stating my problem ?.i have also attached screen shots.

Regards.

Jagdeesh.

engswee
Active Contributor
0 Kudos

Jagdish

Define a fault message for the outbound(receiver) web service interface, then define a fault mapping to map that fault message to the RFC exception message. Configure the OM with the fault mapping.

Rgds

Eng Swee