Skip to Content

Have an inbound AIF interface call another inbound AIF interface?

Jan 10 at 05:21 PM


avatar image

Hi all,

I have two inbound interfaces:

Intf. A An inbound IDOC based interface. (Outb. Delivery Split)
Intf. B An inbound PROXY based interface. (Outbound delivery confirm / complex one)

Now what I want to achieve is to have interface A call interface B.
I am aware that I can quite easily call either the generated Proxy class from Intf. B, or use FM/AIF/FILE_PROCESS_DATA. The problem with either of these solutions is that the message / instance of Intf. B will be visible in /aif/err, but its data will not be visible there / nor in SXMB_MONI.

I would be happy when either the Intf. B message is completely there, or completely not, but they way it is now I can not sell to business.

I tried to hack into the PROXY framework and try and trick SAP into storing my Proxy call completely in SXMB_MONI, but without success. SAP went some extra miles in the OO design to close the model from external tinkering (CREAT PRIVATE of many Runtimes, Agents, Contexts, etc.)

I also tried to persist the data explictly in AIF. Like one can do with

Class /AIF/CL_PERSIST_ENGINE_XML. There is also a

/AIF/CL_PERSIST_ENGINE_PROXY, but I was not able (yet) to have this accept my data

Any suggestions? Am I missing something obvious here?

Thanks a lot in advance!


10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

J. Bots Jan 12 at 09:55 AM

After further deep-diving in the Proxy framework I concluded that my efforts described above are a dead end.
Trying to trigger an inbound proxy like that is fighting against the Proxy paradigm.

I will now just involve PI in the loop and have PI call the required inbound proxy. This will lead to some additional overhead, but it keeps things clear.



Show 1 Share
10 |10000 characters needed characters left characters exceeded

If this is resolved then please close the question (see this blog). Thank you!