cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

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

Former Member
0 Likes
1,393

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.

View Entire Topic
Former Member
0 Likes

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 Likes

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 Likes

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 Likes

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 Likes

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