cancel
Showing results for 
Search instead for 
Did you mean: 

How to get the response AIF logs from Inbound Synchronous interface using proxy?

Former Member
0 Kudos

Dear team, We are not able to get the response AIF logs in the case of inbound PROXY synchronous interface scenario where we are sending the request and getting response through the same PI/PO proxy interface. Please let us know if someone has worked in this kind of scenario with the steps followed. We used , function modules like AIF_SEND_WITH_PROXY, AIF_TRANSFORM_DATA etc to get the reponse logs. But we haven't got any response AIF logs. Please help us to get this issue resolved.. Thanks in advance.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi - the solution is explained under this URL: http://mlksap.com/sap-aif-synchronous/ (it uses standard SAP objects). There is another solution provided in 2014 https://blogs.sap.com/2014/04/10/implementing-synchronous-inbound-proxy-interface-in-aif-step-by-ste... but it does use not released FM /AIF/FILE_PROCESS_DATA (I don't recommend that) else please use only valid released BAPI's or global ABAP classes.

Former Member
0 Kudos

Hi

I am facing the same issue , How did you solve the issue ?

Regards

Goutam

0 Kudos

Not sure if i understand you correctly but if you really want the logs then perhaps you can try using the application engine

lo_app_engine = /aif/cl_aif_engine_factory=>get_engine(
iv_ns = i_ns
iv_ifname = i_ifname
iv_ifversion = i_ifversion

).

And the application engine has a method to get the logs for a specific method. You have to fill a tree of messages you want the logs for but that can also just contain one item. You can use the "where used list" to find an example implementation.


lo_app_engine->get_message_logs

If you dont mean application log entries for aif messages, then please try to elaborate on your request.