EDUCAÇÃO E TECNOLOGIA

Message show alert in Sap Analytical Application

SAP Analytical Application is a good way to create stories and better performance in applications. It offers lots of features and uses the JavaScript method to do it. Sometime we need to show alert message in application after success code execution or in button trigger, There is predefine function to do it.

For show alert message we use Application.showMessage(), function, there is arguments for success, error, info, warning, syntax mentioned below.

Application.showMessage(messageType, message);

List of messageType

S.no messageType Description
1 ApplicationMessageType.Error Show Error Message in red color box
2 ApplicationMessageType.Success Show Success Message in green color box
3 ApplicationMessageType.Info Show Information Message in sky color box
4 ApplicationMessageType.Warning Show Warning Message in yellow color box

Example Syntax

Application.showMessage(ApplicationMessageType.Success, "Hello This is Message Box");

Conclusion

When we display a message box between the user and the application, we are showing that the application’s performance has succeeded or failed, so we use a message box for this purpose.