cancel
Showing results for 
Search instead for 
Did you mean: 

AIF action not called during runtime but is called with /AIF/IFTEST

PeterJonker
Active Contributor
0 Kudos
654

I have an action defined in the structure mapping to add more messages to the log, but it doesn't seem to get called during runtime. However if I generate a testfile for the message and use that in /AIF/IFTEST it does get called. This is for an asynchronous inbound webservice (proxy). Anyone has an idea why it does not get called or how to solve this ? All tips and suggestions are welcome.

PeterJonker
Active Contributor
0 Kudos

I haven't found the reason yet why the action is not called, but also found another way to add logging to the AIF/LOG. In the proxy method itself I added a method where I get the return table from the proxy agent using static method /aif/cl_proxy_inbound_agent=>get_return_tab. Then I add my log messages to the return tab and call method /aif/cl_proxy_inbound_agent=>set_return_tab.

The new log messages are now visible in the log.

Accepted Solutions (0)

Answers (1)

Answers (1)

ahmsam
Explorer
0 Kudos

Two things comes to mind:

  1. make sure the proxy class is calling the AIF process function module.
  2. make sure there is no error at the mapping level causing the process to fail before it reach the action.

Thank you,

Ahmad.