cancel
Showing results for 
Search instead for 
Did you mean: 

Simulate exception in SAP Proxy

jiri_medved
Participant
0 Kudos

Hi Experts,

a custom code calls an interface to SAP PI with SAP Proxy. Recently there was an outage in our SAP PI system. We had discovered that the exceptions CX_AI_SYSTEM_FAULT and CX_AI_APPLICATION_FAULT are not properly handled in the custom code. Now PI is back up and running. I want to investigate the issue some further.

My question is: Is there an easy way how to simulate a PI outage in order to throw the exceptions for debugging purposes?

I am on the development systems (both ERP and PI) so it is OK to make PI unreachable for some time. I prefer avoiding shutting down the dev PI server just for debugging if other option exists.

Accepted Solutions (0)

Answers (2)

Answers (2)

jiri_medved
Participant
0 Kudos

I have solved my issue by changing the server name of RFC Destination "INTEGRATION_SERVER" in SM59 to an invalid value.

sankar_27
Active Participant
0 Kudos

Hi Jiri

de-register queues ( qRFC inbound queues) - XBT* in integration server and test

Thanks , Sankar

jiri_medved
Participant
0 Kudos

Hi Sankar,

I forgot to say that the interface is an outbound synchronous one.

Regards

Jiri