cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How to read AIF logs from ABAP code(RAP) in S4 HANA public cloud

munipkumar
Explorer
1,356

Hi Experts,

We have a requirement to fetch the log messages from AIF Message dashboard app on S4 HANA public cloud.

We are developing a custom report using RestFul ABAP (RAP ) and we are stuck at a place how to read the error log messages for an asynchronous API to know the status of Asset created in the system.

( API- https://api.sap.com/api/FIXEDASSETCREATEMAIN/overview )

We are able to see the AIF logs in the message monitoring( Message dashoard ) fiori apps, but the same AIF message we would want to fetch into custom ABAP RAP code.

Could not find relevant information on the community , hence posting this question.

Appreciate if some one  provide a solution how to achieve this.

regards,

Kumar

Accepted Solutions (0)

Answers (1)

Answers (1)

AndreasMuno
Product and Topic Expert
Product and Topic Expert
0 Likes

Thank you for your request, @munipkumar.

To read error log messages programmatically from the message dashboard (AIF) in S/4HANA Cloud Public Edition you may want to get familiar with this API: Overview | Message Processing Logs | SAP Business Accelerator Hub.  

The SOAP API that operates like a response to the Create Asset API you mentioned is this creation confirmation API: Overview | Fixed Asset - Create Main Asset (Asynchronous) Confirmation | SAP Business Accelerator Hu....  

You can find a list of all asynchronous APIs on Asset Accounting here: APIs for Asset Accounting | SAP Help Portal.

If this solved your request, please mark this response accordingly. Thank you.