cancel
Showing results for 
Search instead for 
Did you mean: 

Exception whiling sending the message to XI..

Former Member
0 Kudos

Guys,

Here is what we have:

We have a ICWC application, where in the agents enter some data about the customer. As soon as the agent saves the customer data, a function module defined at the back end system is called.

The function module at the back end system does some addition processing and calls the XI proxy by calling execute_synchronous method.

The message goes to CRM Queue and from there it does to the XI system.

We want to simulate the exception during the execute_synchronous method call.

How can we do it ?

ICWC --> save() --> FM1() --> XI_asynch_out-execute_synchronous()

Your response will be great !!.

We tried to disabling the CRM queues, did not work, We tried changing the RFC destination by having wrong port number, did not work

Accepted Solutions (0)

Answers (2)

Answers (2)

udo_martens
Active Contributor
0 Kudos

Hi Udaya,

to raise an exception at synchr proxy call you can:

- call the proxy with wrong parameters

- write wrong abap in the proxy like devide with zero (producing any short dump)

- change your communication channel to unknown receiver (wrong IP)

Regards,

Udo

Former Member
0 Kudos

not sure if this will work...but you can give try...

since it is a synchronous scenario...From XI do not send any response back to CRM system. CRM would be waiting for a synchronous response from XI and if the response does not reach within the timeout period the execute_synchronous will throw an timeout exception. If you are using BPM then you can introduce a wait step (wait time > HTTP timeout period) before the BPM step which sends back the acknowledegment to CRM system.

Former Member
0 Kudos

Hi Anand,

Thanks for the response.

The only way we could able to simulate the Exception is by making the Outbound queues in SAP are full.

Make the Outbound Queue as full. Send a transaction to XI by calling the Proxy function module and it gets exception.