cancel
Showing results for 
Search instead for 
Did you mean: 

SAP FIORI - How to capture the error messages?

bhaskar_india
Participant
0 Kudos

Dear Experts,

Good day!

I would like to know if there are any options available in FIORI applications(standard or custom) to capture the error messages that are being displayed in screen at code level?

This question is not specific to any particular application and it is a general question only.

Regards,

Bhaskar

GregMalewski
Contributor
0 Kudos

What exactly do you mean by:

error messages that are being displayed in screen

?

Accepted Solutions (0)

Answers (2)

Answers (2)

madhusudhan0492
Active Participant

Hi Bhaskar,

If the error is at OData level you can check in below t-codes

/N/IWFND/ERROR_LOG

/N/IWBEP/ERROR_LOG

If the error is at UI5 level we can see that on console log, these UI5 errors are hard to record in Gateway

Thanks and Regards,

Madhu Sangam

MioYasutake
Active Contributor

Hi Bhaskar,

In JavaScript code, you can use MessageManager to get messages that are displayed on the screen.

Get MessaegModel from the MessageManager and use the model for retrieving messages.

https://sapui5.hana.ondemand.com/#/api/sap.ui.core.message.MessageManager%23methods/getMessageModel

Regards,

Mio