Skip to Content
Technical Articles
Author's profile photo Andre Fischer

How to use the SAP Gateway Error Log in ADT

When you use ABAP Development Tools in Eclipse (ADT) for your development of OData services you may sooner or later run into an error that is written to the Error Log of the SAP Gateway Framework.

Since in SAP Cloud Platform, ABAP Environment you cannot use SAPGUI anymore you will have to use the feed reader plugin because you cannot run transaction /iwfnd/error_log.

Unfortunately you have to add (manually) the SAP Gateway Error Log to the feed reader of the ABAP Default perspective since by default only ABAP Dumps and system messages are added here.

Since I just ran into an error in a newly setup ADT where the SAP Gateway Error Log was not added yet it took me a while to find out the root cause of the error.

So I strongly recommend to add the feed reader for the SAP Gateway Error Log to all of your ABAP or ABAP cloud projects.

In the following find how to do this.

 

  • Step 1 – Navigate to Feed Reader Tab

  • Step 2- Add a feed query

  • Add SAP Gateway Error Log

  • Change the Refresh interval from 60 to 5 minutes

  • Check the SAP Gateway Error Log in ADT

Assigned Tags

      4 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Manikandan Rajasekaran
      Manikandan Rajasekaran

      Much needed one for people new to ADT ?

      Author's profile photo Smutny Ondrej
      Smutny Ondrej

      Hello Andre,

      thanks for the tip. Please do you have any information, what is the backend pre-requisite for this ADT feature?

      I couldn't find any official information and can't add it, while connected to NW 7.4 based system.

      On the other hand, apparently it's already available in ABAP platform 1909 [my developer edition].

      Gateway%20log%20missing%20in%20feed

      Gateway log missing in feed

       

      Thanks

      Regards

      Ondrej

      Author's profile photo Andre Fischer
      Andre Fischer
      Blog Post Author

      The feature is available as of SAP S/4HANA 1909.

      Author's profile photo Madhuri Borkar
      Madhuri Borkar

      Do we have the DATE/Time easy option as filter criteria(as we have for runtime errors)? I can see we have timestamp but not specifically for date range.