cancel
Showing results for 
Search instead for 
Did you mean: 

Sync Async using proxies ( Calling Outbound proxy from Inbound proxy )

Former Member
0 Kudos

I'm trying to generate Asynchronous Outbound message from the Synchronous Inbound message message due to a requirement. My question is : is it really possible to develop such a scenario?. I'm getting weird error such as Kernal exception etc. Please let me know if you have developed such scenario and what should we do dfifferently in such scenarios?. Thank you for any suggestions.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Definatly whatever you are trying is verymuch possilble.

We have configured this many time..

For you one suggestion.

For the outbound scenario what you can do is first generate the proxy and write a report to send the data.

this is just because to make sure that your outbound proxy is working successfully.

Same way test for the inbound proxy by sending test message.

Then combine both, it should work.

Gaurav Jain

Reward point if answer is helpful

Former Member
0 Kudos

I think I didn''t quite Understood you.

Inbound ABAP proxy gets data from XI. from the Same Inbound proxy I want call Outbound proxy.

basically Asynchronous Inbound proxy will have code to generate Asynchronous Outbound proxy. Would you please clarify?. Thx

Former Member
0 Kudos

Yes, I meant the same thing as your requirement is

But I suggested you to test first both inbound and outbound proxy seperatly.

and once that testing is over.

In the Asyncronous inbound proxy call you write a method to call asynchrounous outbound proxy.

Gaurav Jain

Reward Points if answer is helpful

Former Member
0 Kudos

Gaurav,

thank you for the reply. I'm stil lgetting the error. I tested both and infact we have both Outbound and inbound proxies fucntioning very well.

In this particular Scenario I'm making Proxy outbound call from Inbound proxy. Error I'm getting is SAP:Code p1="UNCAUGHT_EXCEPTION" p2="ZPICL_MI_SAP_Ord_IN" p3="EXECUTE_ASYNCHRONOUS" p4="">APPLICATIONCALL.DYNAMIC_CALL_FAILURE</SAP:Code>

<SAP:Text language="EN">Unable to execute the dynamic application call (kernel error ID UNCAUGHT_EXCEPTION, class ZPICL_MI_SAP_Ord_IN, method EXECUTE_ASYNCHRONOUS)</

any clues.

Former Member
0 Kudos

Hi,

This error has has nothing to do with Calling Outbound Proxy from from Inbound Proxy. The scenario which you are telling is very much possible.

It looks like there is some problem in your proxy code while calling RFC from within there or something like that. Try catching the exception and see what is the exact error or put in debug mode and see the step where exactly your code is failing.

Use the following links for Catching Exception in Proxy

/people/bhanu.thirumala/blog/2006/02/07/abap-proxy--xml-to-abap-transformation

Thanks

Amit

Reward point if answer is helpful

Answers (1)

Answers (1)

Former Member
0 Kudos

HI,

Sync to Async way communication is possible but then you need to handle it with the use of BPM.

The Kernal exception is may be due to some other reason. Can you explain in more details that what you are trying to do. The desigen detials to achive the requirment

Thanks

Swarup

Former Member
0 Kudos

Sorry for confusion and let me rephrase my question.

scenario 1:

Webservice-XI-Proxy Asynchronous message. Inbound proxy does some process and should trigger Outbound proxy.

Scenario2:

Webservice-XI-Proxy Synchronous message. Inbound proxy does some process and should trigger Outbound proxy.

In both Scenarios above, Ibnbound proxies should trigger Outbound proxy. Any idea how to do it?