Liquid UI - WS Reference Library

Display different types of messages



The message command can display messages on SAP screens. Displaying messages may be useful for either educational or troubleshooting purposes.

User Interface

Log into SAP. On the Easy Access screen, a message will be display welcoming the user at the status bar. Depending on which keyword is used, either a Success, Error, or Warning symbol will show before the message.

Liquid UI Script


// Author: Synactive, Inc. [1065 E. Hillsdale Blvd, Foster City, CA, 94404, USA]
// Email:;;
// Contact: 650.341.3310
// Version:
// prototype for string to trim blank spaces
String.prototype.trim = function() {
    return this.replace(/^\s+|\s+$/g,"");

// display a message welcoming the user with a success symbol
message("S:Welcome "+_user.trim()+"!");
// display a message welcoming the user with an error symbol
message("E:Welcome "+_user.trim()+"!");
// display a message welcoming the user with a warning symbol
message("W:Welcome "+_user.trim()+"!");

Was this information helpful? Send Feedback