Skip to Content

Have an inbound AIF interface call another inbound AIF interface?

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!


Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Jan 12, 2018 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.



    Add comment
    10|10000 characters needed characters exceeded