cancel
Showing results for 
Search instead for 
Did you mean: 

Proxies

Former Member
0 Kudos

i am planning to have a design in which i will trigger outbound proxy from inbound proxy.

IDOC will come which will pass data to inbound proxy. with in this inbound proxy we are doing some data processing and want to call some outbound proxy . so data again goes to XI.

Please suggest if this one is feasible. Please provide more datails if available.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Suresh,

Check this link

/message/660732#660732 [original link is broken]

Hope it gives you all the required information

Regards

Vishnu

Former Member
0 Kudos

thanks.

youe message is very helpful.

i need to call outbound proxy from inbound proxy.

Ex:

Inbound proxy Interface-

i like to call outbound Proxy .

Please Suggest.

Former Member
0 Kudos

Sender is IDOC.IDOC is going to INBOUND proxy.

inbound proxy we are doing some process.

we are calling outbound proxy program in inbound proxy interface using SUBMIT.

from outbound proxy i am passing data to XI.

Please tell me is this possible?

Please clarify how to do?

Former Member
0 Kudos

Hi Suresh,

This is possible.We have done this in our interfaces.You

can call outbound proxy from within inbound proxy method.

But message id for both will be differnt.

You can write this code in the method of Inbound Proxy.

CALL METHOD

Proxy Class=>EXECUTE_ASYNCHRONOUS

EXPORTING

  • CONTROLLER =

OUTPUT =

Thanks.

Rekha.

Message was edited by: Rekha Lather

Former Member
0 Kudos

Hi,

Here are some options:

In the Inbound Proxy for IDoc handling:

Loop at INPUT-.... into LS_DATA.

...

Transform the IDoc data into (1) Internal table (exported to memory ID / (2) Server file / (3) Database update

Endloop.

Option A) - with SUBMIT or a function module:

In the Submitted program, read the (1) Internal table (from memory ID) / (2) Server file / (3) updated Database contents. Transform this into the CO_PROXY's EXECUTE_ASYNCHRONOUS method's OUTPUT format. Then call the CO_PROXY's EXECUTE_ASYNCHRONOUS method.

Option B) - without SUBMIT:

You can modularize the inbound proxy's data handling and transformation into custom class methods or function modules. Call these methods and then call the CO_PROXY's EXECUTE_ASYNCHRONOUS. This approach ensures that there is no disconnect between the IB and OB process (due to storage in File/DB/Memory ID).

Cheers,

Bhanu