Liquid UI - WS Reference Library

comment()


Purpose

With comment() command, you can add note/annotation on the SAP screen. The comment text appears in blue color.


Syntax

comment([startrow,startcol],"text");


Properties

  • startrow, startcol - row and column co-ordinates
  • text - Description for comment


Available Options

You can use the following option with the comment: 

"left":".."   

"left":true - The left option draws a line from the comment to the closest input control or dropdownlist located to the right of the text.


Options Detail

left

  1. The left option draws a line from the comment to the closest input control or dropdownlist located to the right of the text.

  2. comment([1,10],"Shipping Notes",{"left":true});
    
  3. In the above code, the left option draws a line to the comment.


Example

The following example demonstrates the use of comment. 

 

Script

comment([20,12],"The notification information appears on the Create PM screen",{"size":30});

Script Details