The comment command creates blue-colored comments on the current SAP screen.
The comment command creates blue-colored text, indicating that the text in question is a comment. The on-screen position of the text can also be specified with the comment command. The syntax for the command is as follows:
comment([startRrow,startCol], "text");
The comment command takes the following option.
The left option draws a line from the comment to the closest input control or dropdownlist located to the right of the text. The syntax is as follows.
{"left":true}
We will demonstrate how comment works on the VA01 initial screen. The default screen appears as follows:

Add the following code to the script file:
comment([0,1], "Please fill out all required fields!");
The screen will now appear as shown below:

To demonstrate the 'left' option, please open the Easy Access script file and input the following code. We are placing a comment on the screen and an inputfield to the right.
comment([3,3], " This is Text", {"left":true});
inputfield([3,20], "Test 1", [3,30], {"left":true});
Save your changes and refresh the SAP GUI screen. The Easy Access screen will now appear as shown below.
