cancel
Showing results for 
Search instead for 
Did you mean: 

Read Error Messages and data from Transaction /AIF/ERR

former_member555981
Discoverer
0 Kudos

Hi All,

We have a requirement to build a custom report to display error messages and other data from Transaction /AIF/ERR, Can someone please let us know how to read the data from this transaction.

Found in some other threads that we can read using below method /AIF/IF_APPLICATION_ENGINE~SELECT_IDX_TAB_ENTRIES /AIF/IF_APPLICATION_ENGINE~READ_MSG_FROM_PERSISTENCY.

But not able to call these methods, Please provide some sample logic using above methods or please let us know if there is another way of fetching data from /AIF/ERR

Thank you.

Accepted Solutions (0)

Answers (1)

Answers (1)

g_gita
Advisor
Advisor
0 Kudos

Hi Santosh,

This interface (/AIF/IF_APPLICATION_ENGINE) is implemented by class /AIF/CL_APPL_ENGINE_BASE, which is a super class for all the classes of the supported AIF engines (/AIF/CL_APPL_ENGINE_* -> replace * with IDOC, XML, COMMON etc.).

So depending on your specific scenario, you'll find the methods you mentioned implemented in the respective classes (or even inherited from /AIF/CL_APPL_ENGINE_BASE).

For examples - just put a breakpoint in the needed method and run /AIF/ERR. You'll find some nicely-written standard code that is self-explanatory and will definitely help.

Good luck,

George

former_member555981
Discoverer
0 Kudos

Thank you for your response George, as per your advise I will debug /AIF/CL_APPL_ENGINE_BASE.